Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • bowtietester
    Junior Member
    • Apr 2010
    • 2

    #1

    bowtie: mapped read not in paired alignment

    Hi,
    I have a problem with bowtie and paired end reads:
    A read is being reported as unmapped because its mate can not be mapped.
    What am I doing wrong?

    I have a test genome:
    Code:
    >chr1
    AAGCTGGGATCGATGCCACGTAGACGTAGTTTAGTGAAACTGATGATTCCCTGATAGTAGCTGACTGATGGGGCAGTAAAAGTCCCCAGTCAGTTGACCTGAC
    and two test paired read files with reads taken from genome (m1a,m2a,m1b) and mutated/not matching m2b:
    read1:
    Code:
    >m1a
    TGGGATCGATGCCACGTAGACG
    >m2a
    TGGGATCGATGCCACGTAGACG
    read2:
    Code:
    >m1b
    GGGCAGTAAAAGTCCCCAGTCAGTT
    >m2b
    GGGCAGTTTTTGTGGGGAGTCAGTT
    When I align each file separately I get expected results (3 matching, one not):
    Code:
    @HD     VN:1.0  SO:unsorted
    @SQ     SN:chr1 LN:103
    @PG     ID:Bowtie       VN:0.12.5       CL:"bowtie/bowtie-0.12.5/bowtie -f -S genome r1.fasta"
    m1a     0       chr1    5       255     22M     *       0       0       TGGGATCGATGCCACGTAGACG  IIIIIIIIIIIIIIIIIIIIII  XA:i:0  MD:Z:22 NM:i:0
    m2a     0       chr1    5       255     22M     *       0       0       TGGGATCGATGCCACGTAGACG  IIIIIIIIIIIIIIIIIIIIII  XA:i:0  MD:Z:22 NM:i:0
    Code:
    @HD     VN:1.0  SO:unsorted
    @SQ     SN:chr1 LN:103
    @PG     ID:Bowtie       VN:0.12.5       CL:"bowtie/bowtie-0.12.5/bowtie -f -S genome r2.fasta"
    m1b     0       chr1    71      255     25M     *       0       0       GGGCAGTAAAAGTCCCCAGTCAGTT       IIIIIIIIIIIIIIIIIIIIIIIII       XA:i:0  MD:Z:25 NM:i:0
    m2b     4       *       0       0       *       *       0       0       GGGCAGTTTTTGTGGGGAGTCAGTT       IIIIIIIIIIIIIIIIIIIIIIIII       XM:i:0
    When I align them as paired reads, suddenly m2a does not match anymore. I would have excpected it
    to be reported as m2a mapped but mate (m2b) unmapped:
    Code:
    @HD     VN:1.0  SO:unsorted
    @SQ     SN:chr1 LN:103
    @PG     ID:Bowtie       VN:0.12.5       CL:"bowtie/bowtie-0.12.5/bowtie -f -S -m1 --best --strata --ff genome -1 r1.fasta -2 r2.fasta"
    m1a     67      chr1    5       255     22M     =       71      91      TGGGATCGATGCCACGTAGACG  IIIIIIIIIIIIIIIIIIIIII  XA:i:0  MD:Z:22 NM:i:0
    m1b     131     chr1    71      255     25M     =       5       -91     GGGCAGTAAAAGTCCCCAGTCAGTT       IIIIIIIIIIIIIIIIIIIIIIIII       XA:i:0  MD:Z:25 NM:i:0
    m2a     77      *       0       0       *       *       0       0       TGGGATCGATGCCACGTAGACG  IIIIIIIIIIIIIIIIIIIIII  XM:i:0
    m2b     141     *       0       0       *       *       0       0       GGGCAGTTTTTGTGGGGAGTCAGTT       IIIIIIIIIIIIIIIIIIIIIIIII       XM:i:0
  • Ben Langmead
    Senior Member
    • Sep 2008
    • 200

    #2
    Hi,

    Bowtie's paired-end mode is only for finding paired-end alignments. If you're after both paired and unpaired alignments for the same set of reads, you can run Bowtie in paired-end mode with --un <file>, then run bowtie in unpaired mode with <file> as the input.

    Thanks,
    Ben

    Comment

    • bowtietester
      Junior Member
      • Apr 2010
      • 2

      #3
      But the SAM format is complex enough to capture this information. Would you consider implementing this if one files a bug report?
      To align the same input three times (paired, read1, read2) and then combine the outputs seems like a detour to me.

      thank you very much for the quick answer,
      ido

      Comment

      • Ben Langmead
        Senior Member
        • Sep 2008
        • 200

        #4
        I bet it's already in there as a feature request, but feel free to file one if it's not. Please don't file as a bug.

        Thanks,
        Ben

        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, Yesterday, 11:13 AM
        0 responses
        17 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 10:48 AM
        0 responses
        18 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...