bcftools-merge is used to merge VCF files into a singe VCF.
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.

40 line
819B

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