Reference
The command bamtools revert removes duplicate marks and restores original base qualities.
Sam/Bam Manipulation
bamtools revert -in input_alignments.bam -out output_alignments_reverted.bam
None