-I ${sorted_bam} \ | -I ${sorted_bam} \ | ||||
-O ${sample}.sorted.deduped.bam \ | -O ${sample}.sorted.deduped.bam \ | ||||
-M ${sample}_dedup_metrics.txt \ | -M ${sample}_dedup_metrics.txt \ | ||||
--REMOVE_DUPLICATES | |||||
--REMOVE_DUPLICATES \ | |||||
--VALIDATION_STRINGENCY LENIENT | |||||
/usr/local/samtools-1.17/bin/samtools index -@ $(nproc) -o ${sample}.sorted.deduped.bam.bai ${sample}.sorted.deduped.bam | /usr/local/samtools-1.17/bin/samtools index -@ $(nproc) -o ${sample}.sorted.deduped.bam.bai ${sample}.sorted.deduped.bam | ||||
>>> | >>> |