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.

24 lines
461B

  1. task zipIndex {
  2. File vcf
  3. String vcf_name = basename(vcf,".vcf")
  4. String docker
  5. String cluster_config
  6. String disk_size
  7. command <<<
  8. rtg bgzip ${vcf} -c > ${vcf_name}.vcf.gz
  9. rtg index -f vcf ${vcf_name}.vcf.gz
  10. >>>
  11. runtime {
  12. docker:docker
  13. cluster: cluster_config
  14. systemDisk: "cloud_ssd 40"
  15. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  16. }
  17. output {
  18. File vcf_gz = "${vcf_name}.vcf.gz"
  19. File vcf_idx = "${vcf_name}.vcf.gz.tbi"
  20. }
  21. }