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

          • SEQadmin2
            Multiomic Liquid Biopsy: What DNA/RNA Panels Reveal That DNA Alone Can’t
            by SEQadmin2



            Tumors contain complex mixtures of cell populations that evolve in response to treatment and host-specific factors. Tissue biopsies provide only static snapshots of a tumor’s state. But what if we could follow that evolution over time using a minimally invasive technique?

            Liquid biopsies can detect tumor-derived material circulating in the bloodstream, providing a way to study treatment response, detect emerging resistance, and discover new biomarkers. Circulating
            ...
            10-14-2026, 09:55 AM
          • SEQadmin2
            New Genomics Technologies Take Aim at Long-Standing Limits
            by SEQadmin2


            Researchers using sequencing and genomics tools often have to make trade-offs. They can choose between speed or scale, short reads or long-range information, or targeted panels or a view of the whole transcriptome. New technologies that have been released this year are built to address those tough choices.

            We asked six companies the same four questions to learn about their latest products. The new technologies bring a lot to the table, including rethinking sequencing
            ...
            09-28-2026, 10:25 AM

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 10-22-2026, 11:13 AM
          0 responses
          23 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-22-2026, 10:48 AM
          0 responses
          20 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-15-2026, 10:52 AM
          0 responses
          36 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 10-14-2026, 05:39 AM
          0 responses
          42 views
          0 reactions
          Last Post SEQadmin2  
          Working...