Seqanswers Leaderboard Ad

Collapse

Announcement

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

  • samtools rmdup leaves unpaired mates

    I have 100 bp paired end illumina hiseq reads, which I mapped with bwa-mem, and then used samtools to sort and rmdups. I am running into errors at the step of removing duplicates, as samtools rmdup seems to be removing reads but not their mates. Here is an example.

    These look like duplicate pairs:

    (1) HWI-ST1329:206:H7AHFADXX:1:1116:15857:82212 147 chr22 361328 7 77M2I26M = 361354 -77 GTGCTGGGAGAGCTGCTGCTTCTCTGTGTGCTGGGAGAGCTGCAGCTTCTCTGTGTGTGTGCTGGGAGAGCTGCAGCTTGTGTGTGTGTGCTGGGAGAGCTGCTG BBBBBFBB<<0BB7<<<B<<B7BBFBFBBB<BFBBBBBBB<BFBBBFFBBBFBIIIIIFFF<7FFFFIFFFBBFFIIIIFIIIIIIIIIIIIFFFFFFFFFFBBB RG:Z:MP1 NM:i:8 AS:i:68 XS:i:64
    (2) HWI-ST1329:206:H7AHFADXX:1:1116:15857:82212 99 chr22 361354 20 105M = 361328 77 TGTGCTGGGAGAGCTGCTGCTTCTCTGTGTGTGTGCTGGGAGAGCTGCAGCTTTTCTGTGTGCTGGGAGAGCTGCAGCTTCTCTGTGTGCTGGGAGAGCTGCAGC BBBFFFFFFFFFFIIIIIIIIIFIIIIFIFFBF<FBFFIIFIFBFFFFFBBFFFFBFFFF<BBFFII<B7BFBFFBBBBB<B<BBBBBBBBBFF<B<BB<B<BBB RG:Z:MP1 NM:i:4 AS:i:85 XS:i:71
    (3) HWI-ST1329:208:H7873ADXX:1:1211:6278:83430 147 chr22 361328 5 77M2I26M = 361354 -77 GTGCTGGGAGAGCTGCGGCTTCTCTGTGTGCTGGGAGAGCGGCAGCTTCTCTGTGTGTGTGCTGGGAGAGCTGCAGCTTGTGTGTGTGTGCTGGGAGAGCTGCTG #################BB<B<70<BB<B7''7<070'70''<FFFBBB7'70F<FBFFF<<7BFIFIFFBB'BB<<FFBIIIFIIIIIIIIFFFFFFFFFFBBB RG:Z:MP1 NM:i:9 AS:i:63 XS:i:59
    (4) HWI-ST1329:208:H7873ADXX:1:1211:6278:83430 99 chr22 361354 5 25M4D80M = 361328 77 TGTGCTGGGAGAGCTGCAGCTTCTCTGTGTGCTGGGAGAGCTGCAGCTTGTGTGTGTGCTGGGAGAGCTGCAGCTTCTCTGTGTGCTGGGAGAGCTGCAGCTTCT BBBFFFFFFFFFFIIIIFIIIIIFIFIFFFFFFIIIFFFFFFFIIIFFFFIBFFFIFIBFFIBFF7FFBF<<B<<BBB<<BFBBB<<<B77B0<BBBBBFBBBBF RG:Z:MP1 NM:i:6 AS:i:88 XS:i:83

    But only (4) is removed, leaving (3) unpaired. Is this a mistake, or is there some reason that only one read in the pair is being removed by samtools rmdup?

    Thanks

  • #2
    Aye, it's something that's on the list to be fixed up in the next major release of samtools +1 (the current release in progress is in feature freeze). If you could log an issue on the samtools issue tracker at github, it would be appreciated. https://github.com/samtools/samtools/issues

    Comment

    Latest Articles

    Collapse

    • seqadmin
      Recent Advances in Sequencing Analysis Tools
      by seqadmin


      The sequencing world is rapidly changing due to declining costs, enhanced accuracies, and the advent of newer, cutting-edge instruments. Equally important to these developments are improvements in sequencing analysis, a process that converts vast amounts of raw data into a comprehensible and meaningful form. This complex task requires expertise and the right analysis tools. In this article, we highlight the progress and innovation in sequencing analysis by reviewing several of the...
      Today, 07:48 AM
    • seqadmin
      Essential Discoveries and Tools in Epitranscriptomics
      by seqadmin




      The field of epigenetics has traditionally concentrated more on DNA and how changes like methylation and phosphorylation of histones impact gene expression and regulation. However, our increased understanding of RNA modifications and their importance in cellular processes has led to a rise in epitranscriptomics research. “Epitranscriptomics brings together the concepts of epigenetics and gene expression,” explained Adrien Leger, PhD, Principal Research Scientist...
      04-22-2024, 07:01 AM

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by seqadmin, Today, 07:17 AM
    0 responses
    11 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 05-02-2024, 08:06 AM
    0 responses
    19 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-30-2024, 12:17 PM
    0 responses
    20 views
    0 likes
    Last Post seqadmin  
    Started by seqadmin, 04-29-2024, 10:49 AM
    0 responses
    28 views
    0 likes
    Last Post seqadmin  
    Working...
    X