Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mmanhart
    Member
    • Jan 2013
    • 11

    #1

    How does bowtie2 calculate read mapping qualities?

    I'm wondering exactly how bowtie2 calculates the read mapping qualities shown in the output SAM file. The documentation makes it very clear how the internal mapping score is calculated, and how you can customize it (e.g., setting various penalties for mismatches and indels), and it says that this is used to calculate the actual mapping quality, but I can't find anywhere that shows exactly how the mapping quality is ultimately calculated.

    Does it use the same heuristic formula as in MAQ? Here's the paper I know about:

    Li H, Ruan J, Durbin R. (2008) "Mapping short DNA sequencing reads and calling variants using mapping quality scores." Genome Res. 18:1851--1858.

    Many thanks for your help,
    Michael
  • mmanhart
    Member
    • Jan 2013
    • 11

    #2
    Can anyone here help me out? I would really appreciate it!

    Thanks,
    Michael

    Comment

    • sdriscoll
      I like code
      • Sep 2009
      • 436

      #3
      the MAPQ isn't super informative. only got to do with the uniqueness of the alignment where higher scores means more unique. so it's probably a -10*log10(p) where p is some probability of the alignment being unique. I don't know what their probability formula is, however. if this is what they do then the formula isn't a straightforward one like they use in Tophat and STAR.
      /* Shawn Driscoll, Gene Expression Laboratory, Pfaff
      Salk Institute for Biological Studies, La Jolla, CA, USA */

      Comment

      • mmanhart
        Member
        • Jan 2013
        • 11

        #4
        I know what you're saying --- that's all I can find documented in the Bowtie2 manual and publisher paper. However, I would indeed like to see the explicit formula used to calculate this. I find it really striking that it is not documented clearly --- many downstream filters work on mapping quality, so it should be very improtant to know exactly what goes into it.

        Comment

        • sdriscoll
          I like code
          • Sep 2009
          • 436

          #5
          You're right..they should at least put it into words so one can know what they are doing.
          /* Shawn Driscoll, Gene Expression Laboratory, Pfaff
          Salk Institute for Biological Studies, La Jolla, CA, USA */

          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

          ad_right_rmr

          Collapse

          News

          Collapse

          Topics Statistics Last Post
          Started by SEQadmin2, 08-06-2026, 07:41 AM
          0 responses
          23 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 08-03-2026, 10:13 AM
          0 responses
          37 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-31-2026, 02:55 AM
          0 responses
          43 views
          0 reactions
          Last Post SEQadmin2  
          Started by SEQadmin2, 07-24-2026, 12:17 PM
          0 responses
          26 views
          0 reactions
          Last Post SEQadmin2  
          Working...