Unconfigured Ad

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

    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

          • SEQadmin2
            Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
            by SEQadmin2



            Genomics studies in neuroscience face a special challenge due to the brain’s complexity and scarcity of samples. Mapping changes in cell type and state using conventional next-generation sequencing methods remains challenging. Advances in technologies like single-cell sequencing, spatial transcriptomics, and long-read sequencing have opened the door to deeper studies of the brain and diseases like Alzheimer’s, amyotrophic lateral sclerosis (ALS), and schizophrenia.
            ...
            Today, 11:10 AM
          • SEQadmin2
            Cancer Drug Resistance: The Lingering Barrier to Rising Survival
            by SEQadmin2



            Cancer survival rates have significantly increased in the last few decades in the United States, reaching a combined 70% 5-year survival rate by 2021. Behind this number, there are years of research to find new therapies, drug targets, and early detection methods. But there is one core challenge that keeps slowing down these advances, and it’s about drug resistance.

            There is no single reason why many patients don’t respond to treatment as expected. Cancer is...
            Yesterday, 05:17 AM
          • GATTACAT
            Reply to Nine Things a Sample Prep Scientist Thinks About Before Sequencing
            by GATTACAT
            Love this - good data definitely starts from good input, and poor input can only give relatively poor data. I particularly like the mention of Nanodrop/absorbance based methods for quantification. It's such a toss up if you'll get an accurate reading or what amounts to a randomly generated number, and a lot of library/sequencing related issues can be traced back to poor quant.
            07-01-2026, 11:43 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, Today, 10:04 AM
          0 responses
          7 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, Yesterday, 10:08 AM
          0 responses
          6 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-07-2026, 11:05 AM
          0 responses
          9 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-02-2026, 11:08 AM
          0 responses
          31 views
          0 reactions
          Last Post SEQadmin2  
          Working...