task TNseqold { String sample String SENTIEON_INSTALL_DIR String SENTIEON_LICENSE File? corealigner_bam File? corealigner_bai String tumor_name String normal_name File ref_dir String fasta File? regions Int? interval_padding File? pon_vcf File dbsnp_dir String dbsnp String docker String cluster_config String disk_size command <<< set -o pipefail set -e export SENTIEON_LICENSE=${SENTIEON_LICENSE} nt=$(nproc) if [ ${regions} ]; then INTERVAL="--interval ${regions}" else INTERVAL="" fi if [ ${pon_vcf} ]; then PON="--pon ${pon_vcf}" ${SENTIEON_INSTALL_DIR}/bin/sentieon util vcfindex ${pon_vcf} else PON="" fi ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -t $nt \ $INTERVAL -r ${ref_dir}/${fasta} \ -i ${corealigner_bam} \ --algo TNhaplotyper \ --tumor_sample ${tumor_name} --normal_sample ${normal_name} \ --dbsnp ${dbsnp_dir}/${dbsnp} $PON \ ${sample}.TNseq.old.TN.vcf >>> runtime { docker: docker cluster: cluster_config systemDisk: "cloud_ssd 40" dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/" } output { File TNseq_vcf= "${sample}.TNseq.old.TN.vcf" File TNseq_vcf_index = "${sample}.TNseq.old.TN.vcf.idx" } }