Browse Source

添加 'tasks/bcftools_concat.wdl'

master
meng 2 years ago
parent
commit
3a2c2097ad
1 changed files with 31 additions and 0 deletions
  1. +31
    -0
      tasks/bcftools_concat.wdl

+ 31
- 0
tasks/bcftools_concat.wdl View File

@@ -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"
}
}

Loading…
Cancel
Save