Header Leaderboard Ad

Collapse

Bowtie2 Error

Collapse

Announcement

Collapse

SEQanswers June Challenge Has Begun!

The competition has begun! We're giving away a $50 Amazon gift card to the member who answers the most questions on our site during the month. We want to encourage our community members to share their knowledge and help each other out by answering questions related to sequencing technologies, genomics, and bioinformatics. The competition is open to all members of the site, and the winner will be announced at the beginning of July. Best of luck!

For a list of the official rules, visit (https://www.seqanswers.com/forum/sit...wledge-and-win)
See more
See less
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Bowtie2 Error

    Hello, I was given some fastq files and a reference genome (fasta file), and told to assemble a genome.

    I managed to install bowtie2 (I have windows, and am using a cygwin terminal).

    I tried to build the reference genome, but keep getting an error.

    I typed:
    bowtie2-build sequence.fa myseq

    And the error message I receive is:

    Settings:
    Output files: "myseq.*.bt2"
    Line rate: 6 (line is 64 bytes)
    Lines per side: 1 (side is 64 bytes)
    Offset rate: 4 (one in 16)
    FTable chars: 10
    Strings: unpacked
    Max bucket size: default
    Max bucket size, sqrt multiplier: default
    Max bucket size, len divisor: 4
    Difference-cover sample period: 1024
    Endianness: little
    Actual local endianness: little
    Sanity checking: disabled
    Assertions: disabled
    Random seed: 0
    Sizeofs: void*:8, int:4, long:8, size_t:8
    Input files DNA, FASTA:
    sequence.fa
    Error: could not open sequence.fa
    Total time for call to driver() for forward index: 00:00:00
    Error: Encountered internal Bowtie 2 exception (#1)
    Command: bowtie2-build sequence.fa myseq


    Does anyone have an idea of why I am getting this error?

    Thank you for your help!

  • #2
    With bowtie2 you are not going to "assemble" the genome but "align" your reads to the reference genome.

    Here is the relevant bit of information in your output.

    Error: could not open sequence.fa
    If the sequence.fa file is in the directory where you are executing bowtie2-build from then try the following:

    bowtie2-build ./sequence.fa myseq
    If you have not used UNIX before then perhaps spending some time at this link would help: http://korflab.ucdavis.edu/Unix_and_...1.1.html#part1
    Last edited by GenoMax; 10-07-2013, 12:05 PM.

    Comment


    • #3
      Thank you for your reply. I tried your suggestion, but got the same error (I am in the same directory).

      Error: could not open ./sequence.fa

      And, yes I am new to UNIX. Thank you for the link, I will look through it.

      Comment


      • #4
        A better option would be to change to the directory where the "sequence.fa" file is located and then run the command as follows:

        $/full_path_to/bowtie2-build ./sequence.fa myseq
        Replace "full_path_to" with the real file path on your system.

        Comment


        • #5
          If you type:
          Code:
          ls
          is "sequence.fa" (or whatever it's really called) one of the files listed? If not, you're in the wrong directory, which I suspect is the case.

          Comment


          • #6
            Hi, I figured it out. I was in the right directory. The problem was that I put '.fa' instead of '.fasta'. I thought I had tried that first, but apparently not.

            Thanks for your help!

            Comment

            Latest Articles

            Collapse

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 01:08 PM
            0 responses
            6 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 06-01-2023, 08:56 PM
            0 responses
            12 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 06-01-2023, 07:33 AM
            0 responses
            128 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 05-31-2023, 07:50 AM
            0 responses
            166 views
            0 likes
            Last Post seqadmin  
            Working...
            X