I have a BAM with duplicates marked by picard. When I run pileup with concensus calling on the BAM, pileup reports coverages without the duplicates. I'm pretty certain about that because i did a "samtools view bam chrX:xxx-xxx | wc -l " to count the number of reads in a BAM and it's much more than what pileup reported
I couldn't find any documentation that says samtools pileup excludes duplicated marked reads in its calculation of coverage. Is there anyway to make pileup include duplicates marked reads in the coverage?
Thanks.
I couldn't find any documentation that says samtools pileup excludes duplicated marked reads in its calculation of coverage. Is there anyway to make pileup include duplicates marked reads in the coverage?
Thanks.
Comment