Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bowtie2 Exited with a Value of 1

    Hello I'm trying to align a bowtie2 index file with a fasta file. No matter what I do it ends with value of 1. How do I stop this?


  • #2
    Try building the index for "genome.fa" first:

    Code:
    bowtie2-build genome.fa genome
    Then "-x genome" would be the proper method to specify where the indices are (from your current path at least).

    Comment


    • #3
      Originally posted by dpryan View Post
      Try building the index for "genome.fa" first:

      Code:
      bowtie2-build genome.fa genome
      Then "-x genome" would be the proper method to specify where the indices are (from your current path at least).
      Thanks for the reply. I tried that and got a Error. Empty fasta? This is a index I downloaded from I genome

      Comment


      • #4
        Presumably the fasta file is empty or non-existent then.

        Comment


        • #5
          Originally posted by dpryan View Post
          Presumably the fasta file is empty or non-existent then.
          The genome.fa file? and if so how should I go about fixing that because its from the Igenome Cow set

          Comment


          • #6
            Well, have a look at the file. How big is it? Does it actually exist? If it does exist and seems to have a reasonable size, is it where you're telling bowtie2?

            Comment


            • #7
              Originally posted by dpryan View Post
              Well, have a look at the file. How big is it? Does it actually exist? If it does exist and seems to have a reasonable size, is it where you're telling bowtie2?
              Honestly it exist and all that. Checked it out in linux and windows.

              Comment


              • #8
                Given the file names, you want "-x genome", not "-x genome.fa". The documentation on this could probably be improved.

                BTW, it looks like the fasta file has serious problems. It should be MUCH larger than 1KB.

                Comment


                • #9
                  @Milestailsprowe: That genome.fa may be a softlink for the full genome.fa file in the "WholeGenomeFasta" directory under the "Sequence" folder. Can you check to see if that file is large?

                  Do yourself a favor and don't use spaces in names (external drives/files/directories). It is going to get you in trouble down the road. Anytime you feel like using a space replace that with an "_".

                  Comment


                  • #10
                    Originally posted by GenoMax View Post
                    @Milestailsprowe: That genome.fa may be a softlink for the full genome.fa file in the "WholeGenomeFasta" directory under the "Sequence" folder. Can you check to see if that file is large?

                    Do yourself a favor and don't use spaces in names (external drives/files/directories). It is going to get you in trouble down the road. Anytime you feel like using a space replace that with an "_".
                    Doesnt look to be any different sadly

                    Comment


                    • #11
                      It appears that in one our your attempts to run bowtie you may have overwritten the original genome.fa file (you can see that genome.fa has a current "modified" date where as the rest of the files are dated from 2012/2013) .

                      If you have the original tar archive you should re-extract it to restore the original set of files/folders. If not, you will need to re-download the tar archive from iGenomes.
                      Last edited by GenoMax; 06-09-2015, 05:41 PM.

                      Comment


                      • #12
                        Originally posted by GenoMax View Post
                        It appears that in one our your attempts to run bowtie you may have overwritten the original genome.fa file (you can see that genome.fa has a current "modified" date where as the rest of the files are dated from 2012/2013) .

                        If you have the original tar archive you should re-extract it to restore the original set of files/folders. If not, you will need to re-download the tar archive from iGenomes.
                        Ok untared another one and now have a 2.7gig File thanks. Should I try to align the file in the WHOLE gene folder or the one in the bowtie2 index

                        Comment


                        • #13
                          You should align using bowtie2 index (you only specify "basename" of the index). Option to use in your case (replace full_path_to with real value) will be

                          Code:
                          -x /full_path_to/Sequence/Bowtie2Index/genome

                          Comment


                          • #14
                            Originally posted by GenoMax View Post
                            You should align using bowtie2 index (you only specify "basename" of the index). Option to use in your case (replace full_path_to with real value) will be

                            Code:
                            -x /full_path_to/Sequence/Bowtie2Index/genome
                            Fixed the wrong command
                            Last edited by Milestailsprowe; 06-10-2015, 06:53 PM.

                            Comment


                            • #15
                              exit with code 1

                              Originally posted by Milestailsprowe View Post
                              Fixed the wrong command
                              Hi, how do you solve your problems by re-downloaded the genome from iGenomes? Do you regenerate the indexes based on the new genome from iGenomes?
                              I am also running to the same issue.

                              Comment

                              Latest Articles

                              Collapse

                              • seqadmin
                                Strategies for Sequencing Challenging Samples
                                by seqadmin


                                Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
                                03-22-2024, 06:39 AM
                              • seqadmin
                                Techniques and Challenges in Conservation Genomics
                                by seqadmin



                                The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

                                Avian Conservation
                                Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
                                03-08-2024, 10:41 AM

                              ad_right_rmr

                              Collapse

                              News

                              Collapse

                              Topics Statistics Last Post
                              Started by seqadmin, Yesterday, 06:37 PM
                              0 responses
                              8 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, Yesterday, 06:07 PM
                              0 responses
                              8 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 03-22-2024, 10:03 AM
                              0 responses
                              49 views
                              0 likes
                              Last Post seqadmin  
                              Started by seqadmin, 03-21-2024, 07:32 AM
                              0 responses
                              66 views
                              0 likes
                              Last Post seqadmin  
                              Working...
                              X