Unconfigured Ad

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

    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

            • mylaser
              Reply to Advanced Sequencing Platforms Tackle Neuroscience’s Toughest Genomics Problems
              by mylaser
              Kheloyar – Everything You Need to Know About Kheloyaar Login and Kheoyar Id
              If you are looking for an online gaming platform that offers a user-friendly experience, Kheloyar has become a name that many users search for. Whether you're interested in creating a new account, accessing your dashboard through Kheloyaar Login, or learning how to obtain a Kheoyar Id, understanding the platform's features and account process is essential.
              This guide explains everything you need to know about...
              Yesterday, 01:13 AM
            • 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.
              ...
              07-09-2026, 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...
              07-08-2026, 05:17 AM

            ad_right_rmr

            Collapse

            News

            Collapse

            Topics Statistics Last Post
            Started by SEQadmin2, 07-09-2026, 10:04 AM
            0 responses
            19 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-08-2026, 10:08 AM
            0 responses
            11 views
            0 reactions
            Last Post SEQadmin2  
            Started by SEQadmin2, 07-07-2026, 11:05 AM
            0 responses
            28 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...