Entering edit mode
5.8 years ago
star
▴
350
I have done alignment and then remove duplication with both samtools flag
and picard
, I like to know if I want to do peak calling using MACS2, should I consider -- keep-dup all
or let MACS2 remove duplicate tags one more time?
It depends on if he really removed duplicated reads, or just marked them.
star , could you show the commands you used?
Yes that would be true but hopefully when he/says that says they remove them and mentions samtools flags AND picard. My sincerest hope is that they flagged the duplicates with samtools and removed with MarkDuplicates (parameter: REMOVE_DUPLICATES=true)
Thank for reply. Yes I did it with bouth and when I have checked with 'samtools flagstat' there was no duplicate. Also I checked with both --keep-DUP all and default command , and there was no difference between number of reads/ peaks.