Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • archaeogen
    Junior Member
    • Mar 2016
    • 4

    #1

    Bowtie2 index error help - beginner

    Hi guys,

    I am a newbie to bioinformatics and having some trouble getting a grip on a Bowtie2 index.

    I have my 2 files (wu_0_A_wgs.fastq and wu_0.v7.fas) located in /home/guest

    when I run the following command.

    bowtie2 -p 4 -x /home/guest/wu_0 wu_0_A_wgs.fastq -S wu.bt2.sam

    I get the following error:
    Could not locate a Bowtie index corresponding to basename "/home/guest/wu_0"
    Error: Encountered internal Bowtie 2 exception (#1)
    Command: /usr/local/bin/bowtie2-align-s --wrapper basic-0 -p 4 -x /home/guest/wu_0 -S wu.bt2.sam wu_0_A_wgs.fastq
    (ERR): bowtie2-align exited with value 1

    I am trying to see how my input is not allowing the index to take place.
    The help shows an input:
    bowtie2 [options]* -x <bt2-idx> {-1 <m1> -2 <m2> | -U <r>} [-S <sam>]
    Just can't see where i'm going wrong.
    Any advice would be amazing!
    Thank you
  • GenoMax
    Senior Member
    • Feb 2008
    • 7142

    #2
    Is "wu_0.v7.fas" the reference fasta file and the other file actual reads?

    You would need to create an index separately with the reference fasta first. Something like

    Code:
    $ bowtie2-build wu_0.v7.fas wu_indx
    This will create multiple files with "wu_indx" name as prefix. These files constitute the bowtie index.

    You will then align your fastq file against this reference genome index:

    Code:
    $ bowtie2 -p 4 -x wu_indx -U /home/guest/wu_0_A_wgs.fastq -S wu_aligned.sam
    Last edited by GenoMax; 03-30-2016, 05:10 PM. Reason: Correction

    Comment

    • archaeogen
      Junior Member
      • Mar 2016
      • 4

      #3
      Thanks for your help...
      yes wu_0.v7.fas is the reference fasta.

      Running that exact code:
      $ bowtie2 -p 4 -x wu_indx -U /home/guest/wu_0 wu_0_A_wgs.fastq -S wu.bt2.sam I get the following error:

      Extra parameter(s) specified: "wu_0_A_wgs.fastq"
      Error: Encountered internal Bowtie 2 exception (#1)
      Command: /usr/local/bin/bowtie2-align-s --wrapper basic-0 -p 4 -x wu_indx -S wu.bt2.sam -U /home/guest/wu_0 wu_0_A_wgs.fastq
      (ERR): bowtie2-align exited with value 1

      Quite confused as to why..
      Thanks again

      Comment

      • GenoMax
        Senior Member
        • Feb 2008
        • 7142

        #4
        Sorry. My mistake. I had copied and pasted your original command and forgot to take out two extra words that were there. Corrected version is in post #2. Please try that.

        Comment

        • archaeogen
          Junior Member
          • Mar 2016
          • 4

          #5
          Thank you heaps for your help!

          Comment

          Latest Articles

          Collapse

          • kinpict.com
            Reply to 16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by kinpict.com
            The part about this topic feels surprisingly grounded, and the details on the page is the bit that made me slow down. I’d keep <a href="https://kinpict.com/">ai family photo generator</a> bookmarked for later.
            Today, 06:37 PM
          • SEQadmin2
            16S/ITS Profiling vs. Shotgun Metagenomics: What Changes in Your Workflow?
            by SEQadmin2





            NGS has revolutionized clinical microbiology by offering new ways to identify and surveil pathogens without prior knowledge of the target. One popular approach is 16S rRNA and ITS amplicon sequencing, which targets specific microbial markers. But studies are increasingly incorporating shotgun metagenomics, a technique that sequences all DNA from a sample without targeting specific microbial markers. This approach allows more detailed taxonomic classification,...
            10-30-2026, 06:46 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 11-12-2026, 07:59 AM
          0 responses
          27 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-05-2026, 09:25 AM
          0 responses
          35 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 11-03-2026, 11:54 AM
          2 responses
          56 views
          0 reactions
          Last Post kinpict.com  
          Started by SEQadmin2, 10-28-2026, 09:57 AM
          0 responses
          175 views
          0 reactions
          Last Post SEQadmin2  
          Working...