Hi,
I will soon run elprep and would like to optimize it. I do not see a tutorial about filtering before running elprep.
I already used the sfm command but not yet the filter command.
Is filtering the BAM with elprep filter before running sfm something of a good practice?
Thanks for any info or primer
Stephane
# my current command on unfiltered BWA mappings is the following:
```pixeldist-2500
elprep sfm ${inbam} ${outbam} \
--optical-duplicates-pixel-distance ${pixeldist} \
--mark-duplicates \
--mark-optical-duplicates ${workdir}/elprep/${pfx}.output.metrics \
--sorting-order coordinate \
--bqsr ${workdir}/elprep/${pfx}_bqsr.output.recal \
--known-sites ${dbsnp} \
--reference ${ref} \
--haplotypecaller ${workdir}/elprep/${pfx}.g.vcf.gz \
--reference-confidence GVCF \
--nr-of-threads ${thr} \
--timed \
--log-path ${workdir}/elprep \
--tmp-path ${workdir}/tmpfiles```
I have the latest version 5.1.3 installed with conda