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.

60 line
1.9KB

  1. task remove_IGVrm_vcf {
  2. File benchmark_filtered_region
  3. File LCL5_annotated_vcf
  4. File LCL6_annotated_vcf
  5. File LCL7_annotated_vcf
  6. File LCL8_annotated_vcf
  7. String docker
  8. String disk_size
  9. String cluster_config
  10. command <<<
  11. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg bgzip ${LCL5_annotated_vcf} -c > LCL5.vcf.gz
  12. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg index -f vcf LCL5.vcf.gz
  13. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg bgzip ${LCL6_annotated_vcf} -c > LCL6.vcf.gz
  14. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg index -f vcf LCL6.vcf.gz
  15. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg bgzip ${LCL7_annotated_vcf} -c > LCL7.vcf.gz
  16. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg index -f vcf LCL7.vcf.gz
  17. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg bgzip ${LCL8_annotated_vcf} -c > LCL8.vcf.gz
  18. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg index -f vcf LCL8.vcf.gz
  19. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg vcffilter -i LCL5.vcf.gz --include-bed=${benchmark_filtered_region} -o LCL5.high.confidence.calls.vcf.gz
  20. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg vcffilter -i LCL6.vcf.gz --include-bed=${benchmark_filtered_region} -o LCL6.high.confidence.calls.vcf.gz
  21. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg vcffilter -i LCL7.vcf.gz --include-bed=${benchmark_filtered_region} -o LCL7.high.confidence.calls.vcf.gz
  22. /opt/rtg-tools/dist/rtg-tools-3.10.1-4d58ead/rtg vcffilter -i LCL8.vcf.gz --include-bed=${benchmark_filtered_region} -o LCL8.high.confidence.calls.vcf.gz
  23. >>>
  24. runtime {
  25. docker:docker
  26. cluster:cluster_config
  27. systemDisk: "cloud_ssd 40"
  28. dataDisk: "cloud_ssd " + disk_size + " /cromwell_root/"
  29. }
  30. output {
  31. File LCL5_IGVrm_vcf = "LCL5.high.confidence.calls.vcf.gz"
  32. File LCL6_IGVrm_vcf = "LCL6.high.confidence.calls.vcf.gz"
  33. File LCL7_IGVrm_vcf = "LCL7.high.confidence.calls.vcf.gz"
  34. File LCL8_IGVrm_vcf = "LCL8.high.confidence.calls.vcf.gz"
  35. }
  36. }