I have used the following script of picard for mark duplication by incorporating the @barslmn suggestion:
picard -Xmx24G MarkDuplicates I=fixmate_sorted.bam O=markduplicate.bam M=markdup_metrics.txt ASSUME_SORTED=true VALIDATION_STRINGENCY=LENIENT CREATE_INDEX=TRUE
"ASSUME_SORTED=true" is mentioned in the markduplication script for those files which are sorted by the samtools
• 0 views
•
link