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.

vcfeval.wdl 1.3KB

5 years ago
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. task vcfeval {
  2. File snv_true_vcf
  3. File snv_true_vcf_index
  4. File snv_false_vcf
  5. File snv_false_vcf_index
  6. File indel_true_vcf
  7. File indel_true_vcf_index
  8. File indel_false_vcf
  9. File indel_false_vcf_index
  10. File giab_bed
  11. File giab_snv
  12. File giab_snv_idx
  13. File giab_indel
  14. File giab_indel_idx
  15. File sdf
  16. String docker
  17. String cluster_config
  18. String disk_size
  19. command <<<
  20. set -o pipefail
  21. set -e
  22. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg vcfeval -b ${giab_snv} -c ${snv_true_vcf} -o snv_true -t ${sdf}
  23. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg vcfeval -b ${giab_snv} -c ${snv_false_vcf} -o snv_false -t ${sdf}
  24. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg vcfeval -b ${giab_indel} -c ${indel_true_vcf} -o indel_true -t ${sdf}
  25. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg vcfeval -b ${giab_indel} -c ${indel_false_vcf} -o indel_false -t ${sdf}
  26. tar -zcvf snv_true.zip snv_true
  27. tar -zcvf snv_false.zip snv_false
  28. tar -zcvf indel_true.zip indel_true
  29. tar -zcvf indel_false.zip indel_false
  30. >>>
  31. runtime {
  32. docker:docker
  33. cluster: cluster_config
  34. systemDisk: "cloud_ssd 40"
  35. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  36. }
  37. output {
  38. File snv_true_zip="snv_true.zip"
  39. File snv_false_zip="snv_false.zip"
  40. File indel_true_zip="indel_true.zip"
  41. File indel_false_zip="indel_false.zip"
  42. }
  43. }