You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Haplotyper_gVCF.wdl 698B

4 years ago
12345678910111213141516171819202122232425262728293031323334
  1. task Haplotyper_gVCF {
  2. File ref_dir
  3. String SENTIEON_INSTALL_DIR
  4. String fasta
  5. File recaled_bam
  6. File recaled_bam_index
  7. String sample
  8. String docker
  9. String cluster_config
  10. String disk_size
  11. command <<<
  12. set -o pipefail
  13. set -e
  14. export SENTIEON_LICENSE=192.168.0.55:8990
  15. nt=$(nproc)
  16. ${SENTIEON_INSTALL_DIR}/bin/sentieon driver -r ${ref_dir}/${fasta} -t $nt -i ${recaled_bam} --algo Haplotyper --emit_mode gvcf ${sample}_hc.g.vcf
  17. >>>
  18. runtime {
  19. docker:docker
  20. cluster: cluster_config
  21. systemDisk: "cloud_ssd 40"
  22. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  23. }
  24. output {
  25. File vcf = "${sample}_hc.g.vcf"
  26. File vcf_idx = "${sample}_hc.g.vcf.idx"
  27. }
  28. }