Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • thiNGS
    Member
    • Sep 2014
    • 24

    mark and remove duplicates

    Hi everyone! if I mark duplicates in my BAM file using samblaster can I remove them using samtools rmdup?
    I was wondering if samtools consider the duplicates flagged by the other tool and just remove them or if it marks again the duplicates itself.
  • dpryan
    Devon Ryan
    • Jul 2011
    • 3478

    #2
    Samtools rmdup doesn't look at the dup flag that is presumably set by samblaster. Instead, just use
    Code:
    samtools view -bF 0x400 original.bam > dedup.bam

    Comment

    Latest Articles

    Collapse

    ad_right_rmr

    Collapse

    News

    Collapse

    Topics Statistics Last Post
    Started by SEQadmin2, Yesterday, 11:58 AM
    0 responses
    10 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-05-2026, 10:09 AM
    0 responses
    25 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-04-2026, 08:59 AM
    0 responses
    35 views
    0 reactions
    Last Post SEQadmin2  
    Started by SEQadmin2, 06-02-2026, 12:03 PM
    0 responses
    59 views
    0 reactions
    Last Post SEQadmin2  
    Working...