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.

98 lines
2.6KB

  1. import "./tasks/TNseq.wdl" as TNseq
  2. import "./tasks/TNscope.wdl" as TNscope
  3. workflow {{ project_name }} {
  4. String sample_id
  5. File tumor_bam
  6. File tumor_bai
  7. File tumor_table
  8. File normal_bam
  9. File normal_bai
  10. File normal_table
  11. String SENTIEON_INSTALL_DIR
  12. String SENTIEON_LICENSE
  13. String sentieon_docker
  14. String varscan_docker
  15. String annovar_docker
  16. String maftools_docker
  17. File ref_dir
  18. String fasta
  19. File dbmills_dir
  20. String db_mills
  21. File dbsnp_dir
  22. String dbsnp
  23. File germline_resource
  24. File? regions
  25. Int? interval_padding
  26. File database
  27. String disk_size
  28. String cluster_config
  29. File? tnseq_pon
  30. File? tnscope_pon
  31. File? cosmic_dir
  32. String? cosmic_vcf
  33. Boolean germline
  34. Boolean tnseq
  35. Boolean tnscope
  36. Boolean varscan
  37. if (tnseq) {
  38. call TNseq.TNseq as TNseq {
  39. input:
  40. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  41. SENTIEON_LICENSE=SENTIEON_LICENSE,
  42. sample=sample_id,
  43. normal_recaled_bam=normal_bam,
  44. normal_recaled_bam_index=normal_bai,
  45. normal_recal_table=normal_table,
  46. tumor_recaled_bam=tumor_bam,
  47. tumor_recaled_bam_index=tumor_bai,
  48. tumor_recal_table=tumor_table,
  49. normal_name=sample_id + "_normal",
  50. tumor_name=sample_id + "_tumor",
  51. fasta=fasta,
  52. ref_dir=ref_dir,
  53. regions=regions,
  54. interval_padding=interval_padding,
  55. germline_resource=germline_resource,
  56. pon_vcf=tnseq_pon,
  57. docker=sentieon_docker,
  58. cluster_config=cluster_config,
  59. disk_size=disk_size
  60. }
  61. }
  62. if (tnscope) {
  63. call TNscope.TNscope as TNscope {
  64. input:
  65. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  66. SENTIEON_LICENSE=SENTIEON_LICENSE,
  67. sample=sample_id,
  68. normal_recaled_bam=normal_bam,
  69. normal_recaled_bam_index=normal_bai,
  70. normal_recal_table=normal_table,
  71. tumor_recaled_bam=tumor_bam,
  72. tumor_recaled_bam_index=tumor_bai,
  73. tumor_recal_table=tumor_table,
  74. normal_name=sample_id + "_normal",
  75. tumor_name=sample_id + "_tumor",
  76. fasta=fasta,
  77. ref_dir=ref_dir,
  78. regions=regions,
  79. interval_padding=interval_padding,
  80. dbsnp=dbsnp,
  81. dbsnp_dir=dbsnp_dir,
  82. pon_vcf=tnscope_pon,
  83. docker=sentieon_docker,
  84. cluster_config=cluster_config,
  85. disk_size=disk_size
  86. }
  87. }
  88. }