Seqanswers Leaderboard Ad

Collapse

Announcement

Collapse
No announcement yet.
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • seqadmin
    Strategies for Sequencing Challenging Samples
    by seqadmin


    Despite advancements in sequencing platforms and related sample preparation technologies, certain sample types continue to present significant challenges that can compromise sequencing results. Pedro Echave, Senior Manager of the Global Business Segment at Revvity, explained that the success of a sequencing experiment ultimately depends on the amount and integrity of the nucleic acid template (RNA or DNA) obtained from a sample. “The better the quality of the nucleic acid isolated...
    03-22-2024, 06:39 AM
  • seqadmin
    Techniques and Challenges in Conservation Genomics
    by seqadmin



    The field of conservation genomics centers on applying genomics technologies in support of conservation efforts and the preservation of biodiversity. This article features interviews with two researchers who showcase their innovative work and highlight the current state and future of conservation genomics.

    Avian Conservation
    Matthew DeSaix, a recent doctoral graduate from Kristen Ruegg’s lab at The University of Colorado, shared that most of his research...
    03-08-2024, 10:41 AM

ad_right_rmr

Collapse

News

Collapse

Topics Statistics Last Post
Started by seqadmin, 03-27-2024, 06:37 PM
0 responses
13 views
0 likes
Last Post seqadmin  
Started by seqadmin, 03-27-2024, 06:07 PM
0 responses
11 views
0 likes
Last Post seqadmin  
Started by seqadmin, 03-22-2024, 10:03 AM
0 responses
53 views
0 likes
Last Post seqadmin  
Started by seqadmin, 03-21-2024, 07:32 AM
0 responses
69 views
0 likes
Last Post seqadmin  
Working...
X