Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • ndrakos
    Junior Member
    • Oct 2013
    • 3

    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!
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #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

    • ndrakos
      Junior Member
      • Oct 2013
      • 3

      #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

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #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

        • dpryan
          Devon Ryan
          • Jul 2011
          • 3478

          #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

          • ndrakos
            Junior Member
            • Oct 2013
            • 3

            #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

            • SEQadmin2
              Nine Things a Sample Prep Scientist Thinks About Before Sequencing
              by SEQadmin2


              I’m not a sequencing expert. I’m a purification scientist who uses NGS to evaluate workflows my group develops. With this perspective, we think about the sample first and the NGS workflow second. The sequencer is an exceptionally honest reporter, but it can only report on what you give it, so whether you get clean, interpretable data from an NGS workflow is largely determined before you begin.


              Here are nine questions we think about, in roughly the order they matter, before...
              06-18-2026, 07:11 AM
            • SEQadmin2
              From Collection to Sequencing: Why Sample Preparation and Preservation Define Sequencing Data
              by SEQadmin2


              Data variability is still an issue in sequencing technologies despite the advances in reproducibility and accuracy of these platforms. But the problem does not originate in the sequencing itself, but in the previous steps, before the sample reaches the sequencer.


              The first step is collection, followed by preservation and sample preparation for analysis. Most scientists overlook those steps, but not being careful might just be skewing the experiment’s results.
              ...
              06-02-2026, 10:05 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 06-17-2026, 06:09 AM
            0 responses
            24 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-09-2026, 11:58 AM
            0 responses
            41 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-05-2026, 10:09 AM
            0 responses
            48 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 06-04-2026, 08:59 AM
            0 responses
            49 views
            0 reactions
            Last Post SEQadmin2  
            Working...