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.

28 line
664B

  1. task index {
  2. File snv_gzvcf
  3. File indel_gzvcf
  4. String sample
  5. String docker
  6. String cluster_config
  7. String disk_size
  8. command <<<
  9. mv ${snv_gzvcf} ./${sample}.snv.vcf.gz
  10. mv ${indel_gzvcf} ./${sample}.indel.vcf.gz
  11. rtg index -f vcf ${sample}.snv.vcf.gz
  12. rtg index -f vcf ${sample}.indel.vcf.gz
  13. >>>
  14. runtime {
  15. docker:docker
  16. cluster: cluster_config
  17. systemDisk: "cloud_ssd 40"
  18. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  19. }
  20. output {
  21. File snv_gzvcf_2 = "${sample}.snv.vcf.gz"
  22. File indel_gzvcf_2 = "${sample}.indel.vcf.gz"
  23. File snv_gzvcf_index = "${sample}.snv.vcf.gz.tbi"
  24. File indel_gzvcf_index = "${sample}.indel.vcf.gz.tbi"
  25. }
  26. }