Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hl450
    Junior Member
    • Jun 2010
    • 8

    #1

    BWA sampe mapping result, what is "PROPER PAIR"?

    I have been using Bwa to map paired end reads(illumina) recently and I thought i could use some of your help to get answers for some questions that I have.

    1. What does it exactly mean by the term "proper pair" in bwa? Does bwa consider orientation of mapped pairs? r we talking only case i below? or just based on the insert size
    case i) -----> <------
    case ii) -----> ------->
    case iii) <------ <------
    case iv) <------ -------->

    2. i have a whole bunch of mapping result that looks quite odd to me.
    They look like they are paired by bwa sampe but obviously they have different read names so can't be a pair..
    I321_1_FC30VWBAAXX:7:100:1611:994 83 gi|150002608|ref|NC_009614.1| 1915637 29 75M = 1859241 -56471 TGGCAAATTCCAATTGGGGCTTTTCAATGAATGTTTTTACTTTAAAGAATTCTACTTGTTTTTCTTCCTCAATCT AAALIENKEHOLOKJD>=HXOIUNbda_Sh`hLhah]h]haZhhhhShhhhhhhhhhhhhhhhhhhhhhhhhhhh XT:A:U NM:i:1 SM:i:29 AM:i:29 X0:i:1 X1:i:0 XM:i:1 XO:i:0 XG:i:0 MD:Z:53C21

    I321_1_FC30VWBAAXX:7:100:1615:784
    163 gi|150002608|ref|NC_009614.1| 1859241 29 20M55S = 1915637 56471 GCTTGTTGTGACTTTGATAGATTGTGACGTGTACGAAAATATGCAAGAGGCGGGGATTGATTCGTCTAGCCCGTT hhhhhhhhhhhehhhhhhhhhhhhSheMhRh`hNhWXhWhehhP][\Sh^Ehh^hNW^[PK_<NJJNGN>AGRCH XT:A:M NM:i:2 SM:i:29 AM:i:29 XM:i:2 XO:i:0 XG:i:0 MD:Z:5C9T4


    3. When I grep for sequence "I321_1_FC30VWBAAXX:7:100:1611:994"

    I get :

    I321_1_FC30VWBAAXX:7:100:1611:994 129 gi|150002608|ref|NC_009614.1| 1915576 37 75M = 3763132 1847556 TTGATATTCCATAAGAATATTCCTGAGTTCCAATAGAATTCTCCACTTTCTACGAATACTTTGGCAAATTCCAAT hhhhhhhhhhhhhhhhhhhhhedhhhhhh`hh]hhhcZhcXhZR`ThhhPhhU]RQ`YJSX^PPLNPMWSLCIHU XT:A:U NM:i:0 SM:i:37 AM:i:37 X0:i:1 X1:i:0 XM:i:0 XO:i:0 XG:i:0 MD:Z:75

    I321_1_FC30VWBAAXX:7:100:1611:994 83 gi|150002608|ref|NC_009614.1| 1915637 29 75M = 1859241 -56471 TGGCAAATTCCAATTGGGGCTTTTCAATGAATGTTTTTACTTTAAAGAATTCTACTTGTTTTTCTTCCTCAATCT AAALIENKEHOLOKJD>=HXOIUNbda_Sh`hLhah]h]haZhhhhShhhhhhhhhhhhhhhhhhhhhhhhhhhh XT:A:U NM:i:1 SM:i:29 AM:i:29 X0:i:1 X1:i:0 XM:i:1 XO:i:0 XG:i:0 MD:Z:53C21


    where the flag of read1(129 --> 0b10000001) is telling me that read1 is mapped in a proper pair and the flag of read2(83 --> 0b1010011) is also telling it's mapped in a proper pair. but they are not paired ( i can tell by the difference size of inferred insert size)


    Can anyone help answering these questions? I am trying to filter pairs are mapped properly. I tried using samtools view with -f 2 option (since 2 is 0x02 bit for proper mapping) but i have so many pairs similar to what i described up there.

    Anyone? Thanks!
    Last edited by hl450; 07-29-2010, 08:03 AM.
  • hl450
    Junior Member
    • Jun 2010
    • 8

    #2
    Anyone?????? plz

    Comment

    • qqcandy
      Member
      • Sep 2008
      • 15

      #3
      I have the same question...

      Comment

      • hl450
        Junior Member
        • Jun 2010
        • 8

        #4
        Could anyone experienced in alignment via BWA please answer? Thank you!!

        Comment

        • Adrian_H
          Member
          • Feb 2010
          • 10

          #5
          How can they look like they are paired if they have different read names? That doesn't make sense at all. Are you sure that your input FASTQ files are properly lined up in the correct order? I believe many of these tools read one record at a time from each of the input files, and assume that corresponding records are part of a pair -- it don't necessarily check the read name.

          That being said, I have observed that occasionally I get outputs with the "properly paired" flag set, even when the alignments are to different chromosomes, which is weird, so I think there could be some bugs.

          Comment

          • hl450
            Junior Member
            • Jun 2010
            • 8

            #6
            I found what was causing the problem... It was due to the data I downloaded off EBI short read archive. Read 1 and Read 2 fastq files had uneven number of paired reads. Shouldn't short read archive check this upon submission of data? arg...

            Originally posted by zlu View Post
            My problem was actually due to the uneven number of pair reads in the input fastq files. I was doing some quality filterings, mainly artefacts removal, on read1 and read2 separately and this resulted in the 2 files having different number of reads.
            Originally posted by lh3 View Post
            No. You must make sure the two files contain the same set of pairs with identical order in each file. Your input will fail all aligners to date, so far as I know.

            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
              ...
              Yesterday, 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, Today, 10:52 AM
            0 responses
            8 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, Yesterday, 05:39 AM
            0 responses
            15 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-13-2026, 09:56 AM
            0 responses
            15 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 10-09-2026, 11:14 AM
            0 responses
            27 views
            0 reactions
            Last Post SEQadmin2  
            Working...