Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • vincent lee
    Junior Member
    • Aug 2012
    • 4

    same reads with different CIGAR

    Hi all,
    I am using bwa(Version: 0.6.2-r126, default parameter) for reads alignment, and convert the result into bam format.
    But I find some reads with same sequence have different CIGAR value. Would someone can explain this?

    Code:
    ILLUMINA-8C6145:1209:MP-PE7:7:30:4170:19068     163     chr12_pos       566     29      81M19S  =       647     203     ATGCCTTATCGCTTAGCGTTGTTGTCGAAAAATATGATCCAAAATCGAGAAAAGAACAAGTATCCATCCAAGTTTTCTTACTAATTAAAATGAACTTCCA    gchhgghhhhdhghhhghfghfgffghfcfggfgdfchhcfdggffedfdddbbbd`fffadddadaaad][\aaaa```aeccccc[aaaccca_a]aa    XT:A:M  NM:i:3  SM:i:29 AM:i:29 XM:i:3  XO:i:0  XG:i:0  MD:Z:9T11C4A54
    ILLUMINA-8C6145:1209:MP-PE7:7:85:17609:15405    99      chr12_pos       566     29      52M70S  =       618     152     ATGCCTTATCGCTTAGCGTTGTTGTCGAAAAATATGATCCAAAATCGAGAAAAGAACAAGTATCCATCCAAGTTTTCTTACTAATTAAAATGAACTTCCATTTATCTTGAATCTAATTATAC      hhghhhhfhhfhhhhgfhefhaggeghgghghhhhhhhhhehhhfhefhfggeeghggfgcggfgddagdbeaddfdeegfhgbfffcfbeccfdafcffd`ccdccccccdccccdc_d^_      XT:A:M  NM:i:3  SM:i:29 AM:i:29 XM:i:3  XO:i:0  XG:i:0  MD:Z:9T11C4A25
    ILLUMINA-8C6145:1209:MP-PE7:7:103:19002:21043   163     chr12_pos       566     29      30M70S  =       596     152     ATGCCTTATCGCTTAGCGTTGTTGTCGAAAAATATGATCCAAAATCGAGAAAAGAACAAGTATCCATCCAAGTTTTCTTACTAATTAAAATGAACTTCCA    hghhhdhh]hgfehghggg[acacaeggggg_acbeedeghgghfhbdffedbbbgbddcYaa_aaaaaa_b]bba```b_ca]__a]_baaaaYcaadc    XT:A:M  NM:i:3  SM:i:29 AM:i:29 XM:i:3  XO:i:0  XG:i:0  MD:Z:9T11C4A3
    ILLUMINA-8C6145:1209:MP-PE7:7:106:13284:18011   163     chr12_pos       566     29      56M44S  =       622     178     ATGCCTTATCGCTTAGCGTTGTTGTCGAAAAATATGATCCAAAATCGAGAAAAGAACAAGTATCCATCCAAGTTTTCTTACTAATTAAAATGAACTTCCA    hhhhfhhhhghhhhghhhhhhhhgghhhghhhhhghhhhhghhhhgcggggggghhefggahggcedgdgdhadWddcbbgfgdfdhdfagfcfcdadab    XT:A:M  NM:i:3  SM:i:29 AM:i:29 XM:i:3  XO:i:0  XG:i:0  MD:Z:9T11C4A29
    ILLUMINA-8C6145:1019:MP-PE6:7:33:7888:15225     163     chr12_pos       566     29      98M2S   =       664     220     ATGCCTTATCGCTTAGCGTTGTTGTCGAAAAATATGATCCAAAATCGAGAAAAGAACAAGTATCCATCCAAGTTTTCTTACTAATTAAAATGAACTTCCA    hhhhhghhhhgghhhhhghhfgchhhhhhhhhfeghedLhfffccggghhggggdcgeegahfgfhgfffaead_deebbeffagcdabae]a_d_bbba    XT:A:M  NM:i:3  SM:i:29 AM:i:29 XM:i:3  XO:i:0  XG:i:0  MD:Z:9T11C4A71
    ILLUMINA-8C6145:1019:MP-PE6:7:50:3845:1687      99      chr12_pos       566     29      42M80S  =       608     142     ATGCCTTATCGCTTAGCGTTGTTGTCGAAAAATATGATCCAAAATCGAGAAAAGAACAAGTATCCATCCAAGTTTTCTTACTAATTAAAATGAACTTCCATTTATCTTGAATCTAATTATAC      hhghhghhhhhhhhhgfghhhhghhfhggghhhhhfhfhhhghhhchghhhhhhghhhhhdehhhhhhghhhfghhgggehghghhgdffghfgfhhfhffgfgfgfff_cddddcfdfffc      XT:A:M  NM:i:3  SM:i:29 AM:i:29 XM:i:3  XO:i:0  XG:i:0  MD:Z:9T11C4A15
    ILLUMINA-8C6145:1019:MP-PE6:7:116:1929:9674     163     chr12_pos       566     29      39M61S  =       605     161     ATGCCTTATCGCTTAGCGTTGTTGTCGAAAAATATGATCCAAAATCGAGAAAAGAACAAGTATCCATCCAAGTTTTCTTACTAATTAAAATGAACTTCCA    hghgghhdhhghhhhhhhhhhhhhgeheeghcghhdegfggghchcdghgaggghhbdghahhdcddaddT[W[I^\]\\dggegegbfebbabYbdba_    XT:A:M  NM:i:3  SM:i:29 AM:i:29 XM:i:3  XO:i:0  XG:i:0  MD:Z:9T11C4A12
    The reference sequence(chr12_pos 566-666):
    Code:
    ATGCCTTATTGCTTAGCGTTGCTGTCAAAAAATATGATCCAAAATCGAGAAAAGAACAAGTATCCATCCAAGTTTTCTTACTAATTAAAATGAACTTCCAT
    Thanks
    Lee
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    My only guess (I don't use bwa much) would be that it has something to do with the mapping of the mate read. The XT tag is saying that there was a mate rescue, so perhaps it's soft-clipping where the mates overlap? If no one else posts with better ideas, then try posting a couple of the mates so we can see if there's an interaction between the mates position and the soft-clipping.

    Comment

    • vincent lee
      Junior Member
      • Aug 2012
      • 4

      #3
      Originally posted by dpryan View Post
      My only guess (I don't use bwa much) would be that it has something to do with the mapping of the mate read. The XT tag is saying that there was a mate rescue, so perhaps it's soft-clipping where the mates overlap? If no one else posts with better ideas, then try posting a couple of the mates so we can see if there's an interaction between the mates position and the soft-clipping.
      Thank you, dpryan.
      May be you get the correct answer. I have checked the source code of samtools. If using M instead of S, the overlap part of read will be counted twice in mpileup. I am not sure whether it may casuse some problems...

      Lee

      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...
        Today, 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
      16 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-08-2026, 10:08 AM
      0 responses
      10 views
      0 reactions
      Last Post SEQadmin2  
      Started by SEQadmin2, 07-07-2026, 11:05 AM
      0 responses
      22 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...