Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Aizon
    Member
    • Jun 2014
    • 11

    #1

    Bowtie2 YT tag question

    Hello!
    I am currently working with a dataset of Illumina PE reads (length 100bp, fragment 500bp). Now, I know the definition for Bowtie's YT tag and the various values "CP", "UU", "UP", "DP", but I have stumbled upon an example where I do not understand why the pair has been assigned the YT:Z:UP tag.

    Here are the pairs alignment:

    FCC0WRYACXX:4:1115:3531:40304#ATGAGGAA 113 Chr6 3218530 12 100M Chr2 3121587 0 ATATCGCA...AGCTATCA qual AS:i:-5 XS:i:-17 XN:i:0 XM:i:1 XO:i:0 XG:i:0 NM:i:1 MD:Z:9T90 YT:Z:UP

    FCC0WRYACXX:4:1115:3531:40304#ATGAGGAA 177 Chr2 3121587 0 100M Chr6 3218530 0 ACTACTAG...ATCGATAG qual AS:i:0 XN:i:0 XM:i:0 XO:i:0 XG:i:0 NM:i:0 MD:Z:100 YT:Z:UP

    I would expect these to be considered discordantly mapped (DP) and not UP. Admittedly one of them has a MAPQ of 0, but it is mapped. Should have an '*' in some fields if it was not mapped (and then I would understand the UP.

    Any ideas how to explain this behaviour?

    I tried finding the similar problem mentioned in other threads but couldn't find quite the same situation.
    Cheers
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    N.B., ignore my earlier reply, it was wrong (thus I deleted it).

    If the reads align to different chromosomes then they're no longer considered discordant, which would normally apply if the insert size was just too big.

    Comment

    • Aizon
      Member
      • Jun 2014
      • 11

      #3
      Thank you for your reply dpryan!

      However, I'm pretty sure mates that have mapped on different chromosomes are tagged with YT:Z: DP
      I cannot check right now, but I will reply again tomorrow with an example.

      As promised, reads that map to different chromosomes are still considered (and I think rightfully so) Discordant Pairs by bowtie. Here's an example, from the same output as the example in my first post:

      FCC0WRYACXX:4:1104:2072:41391#ATGAGGAA 81 Chr1 8014059 42 100M Chr2 4225437 0 CTACTA... C>>DDC... AS:i:0 XN:i:0 XM:i:0 XO:i:0 XG:i:0 NM:i:0 MD:Z:100 YS:i:0 YT:Z: DP

      FCC0WRYACXX:4:1104:2072:41391#ATGAGGAA 161 Chr2 4225437 42 100M Chr1 8014059 0 GTTGCA... B@BFFF... AS:i:0 XN:i:0 XM:i:0 XO:i:0 XG:i:0 NM:i:0 MD:Z:100 YS:i:0 YT:Z: DP

      Comment

      • dpryan
        Devon Ryan
        • Jul 2011
        • 3478

        #4
        Oh the many mysteries of bowtie2. I'm guessing that this behavior is described by this comment in the source code (for context, this is from aln_sink.cpp and both concordant and discordant alignments have already been dealt with):

        // If we're at this point, at least one mate failed to align.
        // BTL: That's not true. It could be that there are no concordant
        // alignments but both mates have unpaired alignments, with one of
        // the mates having more than one.
        This still leaves some ambiguity. I could read this to mean that you'll get YT:Z: DP unless there's more than one valid secondary alignment or that you'll get YT:Z: DP unless there's a secondary alignment of equal score to the primary. If you have a chance, look for more examples in your alignments where the mates are on different chromosomes and they have YT:Z: DP. If you tracked their MAPQ scores, then that'd likely clarify this (if they're all 42, then the former reading is likely correct, if not, then presumably the latter is correct).

        Comment

        • Aizon
          Member
          • Jun 2014
          • 11

          #5
          This is getting confusing

          So if I understand this correctly, there shouldn't be pairs with mate mapping on different chromosomes, tagged DP, and MAPQ 0. Right?

          Comment

          • dpryan
            Devon Ryan
            • Jul 2011
            • 3478

            #6
            I'd look for MAPQ 1, actually. You can get a MAPQ of 0 if there's a valid secondary alignment that's still not as good as the primary (yes, this seems backwards).

            Comment

            • Aizon
              Member
              • Jun 2014
              • 11

              #7
              There are no alignments where I have DP, different chromosomes and MAPQ 1.

              However, there are cases where I have DP, different chromosomes and MAPQ 0 for one or both mates, as well as cases where I have UP, different chromosomes and MAPQ 0 for one or both mates.

              Just as a note, in general my output is fairly normal and I have worked already for quite some time on it. But I just noticed that there are some cases where I don't understand how bowtie2 worked exactly.

              PS: Thank you so much for looking into this!

              Comment

              • dpryan
                Devon Ryan
                • Jul 2011
                • 3478

                #8
                That makes sense then.

                0 is a weird case and there are 2 ways that you can get it. The ones leading to UP are the case where the AS:i: and XS:i: tags are the same (i.e., the best and second best alignments are identical), or at least that'd be my expectation. Whether these alignments have MAPQ 0 or 1 depends on how high/low the AS:i: value is and what --score-min is set to. The cases where MAPQ 0 alignments have UP are likely when AS:i: is greater than XS:i:, but AS:i: is still relatively low (the actual algorithm is a bit weird).

                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, 10-22-2026, 11:13 AM
                0 responses
                30 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-22-2026, 10:48 AM
                0 responses
                22 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-15-2026, 10:52 AM
                0 responses
                39 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 10-14-2026, 05:39 AM
                0 responses
                45 views
                0 reactions
                Last Post SEQadmin2  
                Working...