Header Leaderboard Ad

Collapse

Bowtie2 Error

Collapse

Announcement

Collapse
No announcement yet.
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

            • seqadmin
              Improved Targeted Sequencing: A Comprehensive Guide to Amplicon Sequencing
              by seqadmin



              Amplicon sequencing is a targeted approach that allows researchers to investigate specific regions of the genome. This technique is routinely used in applications such as variant identification, clinical research, and infectious disease surveillance. The amplicon sequencing process begins by designing primers that flank the regions of interest. The DNA sequences are then amplified through PCR (typically multiplex PCR) to produce amplicons complementary to the targets. RNA targets...
              03-21-2023, 01:49 PM
            • seqadmin
              Targeted Sequencing: Choosing Between Hybridization Capture and Amplicon Sequencing
              by seqadmin




              Targeted sequencing is an effective way to sequence and analyze specific genomic regions of interest. This method enables researchers to focus their efforts on their desired targets, as opposed to other methods like whole genome sequencing that involve the sequencing of total DNA. Utilizing targeted sequencing is an attractive option for many researchers because it is often faster, more cost-effective, and only generates applicable data. While there are many approaches...
              03-10-2023, 05:31 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by seqadmin, Yesterday, 12:26 PM
            0 responses
            7 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-17-2023, 12:32 PM
            0 responses
            14 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-15-2023, 12:42 PM
            0 responses
            21 views
            0 likes
            Last Post seqadmin  
            Started by seqadmin, 03-09-2023, 10:17 AM
            0 responses
            68 views
            1 like
            Last Post seqadmin  
            Working...
            X