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
            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...