Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sewellh
    Member
    • Jun 2014
    • 13

    #1

    Using Bowtie2 for to align paired end reads

    Hi all,

    Someone in our lab just got finished with sequencing and assembly of a number of contigs. The question was asked, whether or not she found HiSeq to be useful, or if we could use MiSeq in the future.

    I thought if I could align the reads onto her contigs, then we could assess the coverage, and possibly whether or not HiSeq was necessary.

    I found that Bowtie allows you to align short reads to a reference sequence.

    I concatenated the FASTA files for all the contigs and successfully made a bowtie2 index from the file.

    Now, I'm trying to map the paired-end reads onto the index:

    Code:
    ./bowtie2 -S -p 2 DscP_kaster -1 KM01_GW1_TAAGGCGA_L005_R1_001.fastq -2 KM01_GW1_TAAGGCGA_L005_R2_001.fastq KM01_bowtie.sam
    but keep coming up with the error

    Code:
    bowtie2-align exited with value 1
    What am I doing wrong?
  • dbrg77
    Junior Member
    • Sep 2010
    • 6

    #2
    Try change the order of the option -S to the end, immediately before your sam file name, i.e.

    do the following:


    ./bowtie2 -p 2 DscP_kaster -1 KM01_GW1_TAAGGCGA_L005_R1_001.fastq -2 KM01_GW1_TAAGGCGA_L005_R2_001.fastq -S KM01_bowtie.sam

    Comment

    • sewellh
      Member
      • Jun 2014
      • 13

      #3
      Hmm. I'm still getting the same error. Is there anything I can do to troubleshoot?

      Comment

      • cariboudoug
        Member
        • Oct 2013
        • 17

        #4
        I'm not sure, but do you need to add the "-x" flag indicating an index?

        Gavin

        Comment

        • dpryan
          Devon Ryan
          • Jul 2011
          • 3478

          #5
          As Gavin suggested, you need to tell it what index to use:
          Code:
          bowtie2 -p 2 -x SOMEINDEX -1 KM01_GW1_TAAGGCGA_L005_R1_001.fastq -2 KM01_GW1_TAAGGCGA_L005_R2_001.fastq -S KM01_bowtie.sam
          The index files themselves are built with bowtie2-build.

          Comment

          • sewellh
            Member
            • Jun 2014
            • 13

            #6
            That was the problem! Thank you! The tutorials I found said nothing about having the -x

            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
            28 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...