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.

31 lines
460B

  1. task bcftools {
  2. File bcfpon
  3. String docker
  4. String cluster_config
  5. String disk_size
  6. Boolean PONmode
  7. command <<<
  8. set -o pipefail
  9. set -e
  10. if [ ${PONmode} ]; then
  11. bcftools view ${bcfpon} -Oz -o $(basename ${bcfpon}).gz
  12. else
  13. echo 1
  14. fi
  15. >>>
  16. runtime {
  17. docker: docker
  18. cluster: cluster_config
  19. systemDisk: "cloud_ssd 40"
  20. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  21. }
  22. output {
  23. File vcf1="$(basename ${bcfpon}.gz)"
  24. }
  25. }