Entering edit mode
5.0 years ago
rohitsatyam102
▴
910
Hi all!
When I generated the alignment statistics using Samtools Flagstat, I came across "mate mapped to a different chr". I was advised to remove these reads by my senior because then such reads will might introduce ambiguity at the time of peak calling. I checked out the various posts that underline the usefulness of this step on Biostars. However, none of them mention how to remove them.
Can someone help?
This post does not address their removal from a bam file; instead, it addresses their extraction to a new file.