Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ampsevilla
    Junior Member
    • Mar 2023
    • 7

    #1

    mapping quality scores in samtools view?

    Hello!

    I am using samtools view to map short reads (-phred33) against a reference genome.
    The problem is that I don't know how to properly filter the mappings based on their quality since I'm unsure of how to choose proper value for --min-MQ parameter (that is, the minimum mapping quality).

    The reads I intend to map belong to an organism of the same genus but a different species than the organism to which the reference genome belongs. In both species, the rates of heterozygosity and hemizygosity are relatively high, so I believe I need some flexibility when filtering the mappings. I would need to find a quality value that is not too low but also not so restrictive as to discard a large number of valid mappings.

    I'm not sure if 20 or 30 would be a good --min-MQ value for this purpose...
    May I ask for some help?

    Thanks a lot.​
    Last edited by ampsevilla; 05-18-2023, 03:23 AM.
  • GenomicSeq
    Member
    • Oct 2022
    • 39

    #2
    Hello again ampsevilla,

    I'm a little rusty at samtools but I'll do my best to give my opinion. Your particular case sounds tricky because you have to balance between retaining enough valid mappings and filtering out potential false positives.

    I think a value of 20 or 30 for --min-MQ could be a reasonable starting point for your analysis, but it's always a good idea to assess the impact of different thresholds on your specific data. I would start by evaluating the distribution of mapping qualities. Use a tool like samtools view or other utilities to extract the mapping qualities from your alignment file. Plot a histogram of these values to understand their distribution. This should give you an idea of the quality range and how many reads fall into different bins.

    You also mentioned not wanting to be too restrictive and discard a large number of valid mappings. I would evaluate how changing the --min-MQ value affects the number of retained mappings. You can gradually increase the threshold and observe how the number of retained mappings changes. But keep an eye on the point where the number of valid mappings significantly drops, and assess if that value is acceptable for your analysis.

    Another thing you should do is take into account the downstream analysis you plan to perform. Are you looking for highly confident mappings for variant calling or more exploratory analysis? The requirements of your downstream analysis will likely influence the threshold you choose.

    Lastly, I would try to validate against any known data. If you have access to a set of validated mappings you can use it to evaluate the performance of different --min-MQ values. Then you can assess the sensitivity and specificity of different thresholds to identify the one that balances between retaining true positives and filtering false positives.
    ​
    Again, I'm not an expert at this type of analysis so it wouldn't hurt to also ask some individuals that have done this particular type of work before.

    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
    25 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-22-2026, 10:48 AM
    0 responses
    20 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-15-2026, 10:52 AM
    0 responses
    36 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 10-14-2026, 05:39 AM
    0 responses
    42 views
    0 reactions
    Last Post SEQadmin2  
    Working...