Unconfigured Ad

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jtackney
    Member
    • May 2012
    • 16

    #1

    samtools rmdup, single-end reads, and mapQ weirdness

    If you can ignore the abysmal mapping results and large amount of PCR duplication, I am finding something funny going on with rmdup, single-end Torrent PGM data, and mapQ scores:

    Let's say I have 554109 mapped reads.
    After rmdup -s I am left with 16761 nodup mapped reads.
    If I check mapQ >= 10, I have 122 reads.
    If I check mapQ >= 20, I have 1 read.

    Now let's say I repeat, only this time I remove all the unmapped reads and all the mapped reads of mapQ < 10.
    I start with 554109 mapped reads. Of these, 171375 have mapQ >= 10.
    I isolate them with samtools view –F 4 –q 10 –b –h .
    After rmdup -s I am left with 15688 nodup mapped reads
    If I check mapQ >= 10, I have 15688 reads.
    If I check mapQ >= 20, I have 29 reads.

    Now let's say I repeat again, only this time I am going to remove all reads with mapQ less than 20.
    I start with 554109 mapped reads. Of these, 4138 have mapQ >= 20.
    After isolation and rmdup -s, I am left with 3154 nodup mapped reads.
    If I check mapQ >= 10, I have 3154 reads.
    If I check mapQ >= 20, I have 3154 reads.


    rmdup -s is performing differently based on the mapped quality scores of the reads that I give it, when I was under the impression that for single end reads it takes the 5' position and only retains the one with the highest mapping quality. It is obviously not doing that here, as it seems to be preferentially choosing lower mapQ reads over reads with higher mapQ scores. At least, that's the only explanation I can think of - I shouldn't be able to magically pull out 3153 more mapQ >20 from the same original 554109 mapped reads.

    Thoughts?

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