Oops! Sorry, I did a bunch of searching but failed to find that answer. Thanks!
I have a number of BAM files with a very high number of reads flagged as duplicates (>50%). To confirm that these are indeed duplicates and the flags were not introduced erroneously during processing, I would like to clear all the duplicate read flags and run Picard tools MarkDuplicates to recheck these. Is there a better way to change the flags in a BAM file then to convert to SAM, edit the file with sed or something, and then convert back to BAM?
1 answer
Hello rmcclosk.math!
Questions similar to yours can already be found at:
We have closed your question to allow us to keep similar content in the same thread.
If you disagree with this please tell us why in a reply below. We'll be happy to talk about it.
Cheers!
PS: Duplicate of "Tool to unmark duplicates"Log in to answer this question.