#!/bin/bash -Ceuo pipefail
sentieon driver \
\
-r Homo_sapiens_assembly38.fasta \
-t 12 \
--interval chr19_47340800-47341813.bed.gz \
-i Sig_18_Blood.recalibrated.bam \
\
--algo Haplotyper -d dbsnp_146.hg38.vcf.gz --emit_mode variant germline_control_2.haplotyper.chr19_47340800-47341813.bed.unfiltered.vcf.gz \
cat <<-END_VERSIONS > versions.yml
"DAQ:CONTROL_VARIANT_CALLING:CONTROL_GERMLINE_VC: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