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
                  Beyond CRISPR/Cas9: Understand, Choose, and Use the Right Genome Editing Tool
                  by SEQadmin2



                  CRISPR/Cas9 sparked the gene editing revolution for both research and therapeutics.1 But this system still showed severe issues that limited its applications. The most prominent were the heavy reliance on PAM sequences, delivery limitations, double-stranded breaks that prompt unintended edits and cell death, and editing inefficiency (both in targeting and in knock-in reliability).

                  Despite this, “CRISPR helped turn genome editing from a specialized technique into
                  ...
                  07-31-2026, 11:01 AM
                • SEQadmin2
                  Proteomic Platforms: How to Choose the Right Analytical Strategy to Improve Detection and Clinical Applications
                  by SEQadmin2


                  Proteomics platforms are evolving rapidly, with advances in mass spectrometry and affinity-based approaches expanding what researchers can detect and at what scale. As the field moves toward deeper proteome coverage and clinical applications, scientists face an increasingly complex landscape of tools. This article will explore how researchers are navigating these choices to find the right platform for their work.

                  The systematic characterization of the human proteome has
                  ...
                  07-20-2026, 11:48 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

                ad_right_rmr

                Collapse

                News

                Collapse

                Topics Statistics Last Post
                Started by SEQadmin2, Yesterday, 10:13 AM
                0 responses
                13 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-31-2026, 02:55 AM
                0 responses
                25 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-24-2026, 12:17 PM
                0 responses
                19 views
                0 reactions
                Last Post SEQadmin2  
                Started by SEQadmin2, 07-23-2026, 11:41 AM
                0 responses
                18 views
                0 reactions
                Last Post SEQadmin2  
                Working...