#!/bin/bash -Ceuo pipefail
sentieon driver \
-t 31 \
-r Homo_sapiens_assembly38.fasta \
-i 1136_4Z5-T1-TDNA-1_A23MHWWLT4_1.md.bam \
\
--algo HsMetricAlgo \
--targets_list targets/xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.bed \
--baits_list baits/xgen-exome-hyb-panel-v2_AND_altera_v3_probes_short_hg38_AND_cdx_spike_custom30off4x_hg38_AND_foresight_clarity.bed \
1136_4Z5-T1-TDNA-1_A23MHWWLT4_1_xgen-exome-hyb-panel-v2-targets-hg38_AND_altera_v3_targets_postQC_hg38_AND_foresight_clarity.sentieon.hs_metrics
cat <<-END_VERSIONS > versions.yml
"DAQ:BAM_POSTDEDUP_QC:SENTIEON_HSMETRICS":
sentieon: $(echo $(sentieon driver --version 2>&1) | sed -e "s/sentieon-genomics-//g")
END_VERSIONS