@@ -0,0 +1,31 @@ | |||
task bcftools { | |||
File ref_dir | |||
String fasta | |||
File vcf_indels | |||
File vcf_snvs | |||
String sample_id | |||
String docker | |||
String cluster_config | |||
String disk_size | |||
command <<< | |||
set -o pipefail | |||
set -e | |||
nt=$(nproc) | |||
bcftools concat -a ${vcf_indels} ${vcf_snvs} -Oz -o ${sample_id}_stralka.vcf.gz | |||
>>> | |||
runtime { | |||
docker: docker | |||
cluster: cluster_config | |||
systemDisk: "cloud_ssd 40" | |||
dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/" | |||
} | |||
output { | |||
File norm_vcf = "${sample_id}_stralka.vcf.gz" | |||
} | |||
} |