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.

26 line
572B

  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_index = "${sample}.snv.vcf.gz.tbi"
  22. File indel_gzvcf_index = "${sample}.indel.vcf.gz.tbi"
  23. }
  24. }