task Haplotyper { | task Haplotyper { | ||||
File ref_dir | File ref_dir | ||||
File dbsnp_dir | File dbsnp_dir | ||||
String cluster_config | String cluster_config | ||||
String disk_size | String disk_size | ||||
File? regions | |||||
command <<< | command <<< | ||||
set -o pipefail | set -o pipefail | ||||
set -e | set -e | ||||
export SENTIEON_LICENSE=192.168.0.55:8990 | export SENTIEON_LICENSE=192.168.0.55:8990 | ||||
nt=$(nproc) | nt=$(nproc) | ||||
${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} -t $nt -i ${recaled_bam} --algo Haplotyper -d ${dbsnp_dir}/${dbsnp} ${sample}_hc.vcf | |||||
${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} -t $nt \ | |||||
-i ${recaled_bam} --interval ${regions} \ | |||||
--algo Haplotyper -d ${dbsnp_dir}/${dbsnp} ${sample}_hc.vcf | |||||
>>> | >>> | ||||
runtime { | runtime { |
String disk_size | String disk_size | ||||
String cluster_config | String cluster_config | ||||
File? regions | |||||
call Haplotyper.Haplotyper as Haplotyper { | call Haplotyper.Haplotyper as Haplotyper { | ||||
input: | input: | ||||
SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, | SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR, | ||||
fasta=fasta, | fasta=fasta, | ||||
ref_dir=ref_dir, | ref_dir=ref_dir, | ||||
regions=regions, | |||||
recaled_bam=recaled_bam, | recaled_bam=recaled_bam, | ||||
recaled_bam_index=recaled_bam_index, | recaled_bam_index=recaled_bam_index, | ||||
dbsnp=dbsnp, | dbsnp=dbsnp, |