Unconfigured Ad

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • m_elena_bioinfo
    Member
    • Oct 2009
    • 99

    samtools rmdup PE

    Hi users,
    someone knows what is the difference between:
    >samtools rmdup
    and
    >samtools rmdup -S.

    They remove PCR duplicates in paired end data, and the tutorial says that -S option it's useful to treat PE reads as single-end data.

    I run both the script and, starting from a 750Mb bam file, I generated 650Mb bam file (without using -S option) and 350Mb bam file (using -S option).

    Thanx a lot!
    ME
  • CowGirl
    Junior Member
    • Mar 2013
    • 9

    #2
    RmDup with the -S option

    I have a similar question - what exactly does "-S" do with paired end reads?

    Comment

    • swbarnes2
      Senior Member
      • May 2008
      • 910

      #3
      If you have one pair of reads where read 1 starts at position 100, and the other end starts at position 200, and a second pair of reads where read 1 starts at position 100, and read 2 starts at position 250, those came from different fragments of DNA. You can tell because the read 2 start is different, even though the read 1 start is the same.

      When treating the reads as paired end, none of those reads should be deleted as PCR duplicates.

      However, if you ran rmdup -S, the software will not check to see if read 2 has a different start coordinate, so one of those read 1 reads will be treated as a duplicate, and deleted.

      Comment

      • CowGirl
        Junior Member
        • Mar 2013
        • 9

        #4
        Hi swbarnes2, thanks for the reply. That makes more sense than all the answers I've found as of yet!

        Comment

        Latest Articles

        Collapse

        ad_right_rmr

        Collapse

        News

        Collapse

        Topics Statistics Last Post
        Started by SEQadmin2, Today, 10:09 AM
        0 responses
        9 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, Yesterday, 08:59 AM
        0 responses
        16 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-02-2026, 12:03 PM
        0 responses
        24 views
        0 reactions
        Last Post SEQadmin2  
        Started by SEQadmin2, 06-02-2026, 11:40 AM
        0 responses
        21 views
        0 reactions
        Last Post SEQadmin2  
        Working...