#!/bin/bash -Ceuo pipefail
sentieon driver \
\
-r Homo_sapiens_assembly38.fasta \
-t 12 \
--interval chr21_44120631-44120778.bed.gz \
-i Sig_18_Blood.recalibrated.bam \
\
--algo Haplotyper -d dbsnp_146.hg38.vcf.gz --emit_mode variant Sig_18_Blood.haplotyper.chr21_44120631-44120778.bed.unfiltered.vcf.gz \
cat <<-END_VERSIONS > versions.yml
"NFCORE_SAREK:SAREK:BAM_VARIANT_CALLING_GERMLINE_ALL:BAM_VARIANT_CALLING_SENTIEON_HAPLOTYPER_RF:BAM_VARIANT_CALLING_SENTIEON_HAPLOTYPER:SENTIEON_HAPLOTYPER":
sentieon: $(echo $(sentieon driver --version 2>&1) | sed -e "s/sentieon-genomics-//g")
END_VERSIONS