1.使用samtools 去除重复
samtools sort -n -@ 20 file.bam |samtools fixmate -m -@20 - - |samtools sort -@ 20 |samtools markdup -r -@ 20 - - >file.rmdup.bam
2.使用Picard去除PCR重复
picard MarkDuplicates REMOVE_DUPLICATES=True I=file.bam O=file.rmdup.bam M=file_marked_dup_metrics.txt
标签:samtools,bam,20,PCR,file,去除,Bam From: https://www.cnblogs.com/biohujun/p/17103711.html