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.

90 lines
1.9KB

  1. import "./tasks/mapping.wdl" as mapping
  2. import "./tasks/delly.wdl" as delly
  3. import "./tasks/bcf2vcf.wdl" as bcf2vcf
  4. workflow {{ project_name }} {
  5. String SENTIEON_INSTALL_DIR
  6. String SENTIEONdocker
  7. String DELLYdocker
  8. String BCFdocker
  9. File tumor_read1
  10. File tumor_read2
  11. File normal_read1
  12. File normal_read2
  13. File ref_dir
  14. String fasta
  15. String sample_name
  16. String disk_size
  17. String BIGcluster_config
  18. String SMALLcluster_config
  19. call mapping.mapping as tumor_mapping {
  20. input:
  21. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  22. group=sample_name,
  23. sample=sample_name,
  24. type="tumor",
  25. pl="ILLUMINAL",
  26. fasta=fasta,
  27. ref_dir=ref_dir,
  28. fastq_1=tumor_read1,
  29. fastq_2=tumor_read2,
  30. docker=SENTIEONdocker,
  31. disk_size=disk_size,
  32. cluster_config=BIGcluster_config
  33. }
  34. call mapping.mapping as normal_mapping {
  35. input:
  36. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  37. group=sample_name,
  38. sample=sample_name,
  39. type="normal",
  40. pl="ILLUMINAL",
  41. fasta=fasta,
  42. ref_dir=ref_dir,
  43. fastq_1=normal_read1,
  44. fastq_2=normal_read2,
  45. docker=SENTIEONdocker,
  46. disk_size=disk_size,
  47. cluster_config=BIGcluster_config
  48. }
  49. call delly.delly as delly {
  50. input:
  51. tumor_bam=tumor_mapping.sorted_bam,
  52. tumor_bam_idx=tumor_mapping.sorted_bam_index,
  53. normal_bam=normal_mapping.sorted_bam,
  54. normal_bam_idx=normal_mapping.sorted_bam_index,
  55. ref_dir=ref_dir,
  56. fasta=fasta,
  57. sample_name=sample_name,
  58. docker=DELLYdocker,
  59. disk_size=disk_size,
  60. cluster_config=SMALLcluster_config
  61. }
  62. call bcf2vcf.bcf2vcf as bcf2vcf {
  63. input:
  64. ins_bcf=delly.ins_bcf,
  65. ins_bcf_index=delly.ins_bcf_index,
  66. del_bcf=delly.del_bcf,
  67. del_bcf_index=delly.del_bcf_index,
  68. dup_bcf=delly.dup_bcf,
  69. dup_bcf_index=delly.dup_bcf_index,
  70. inv_bcf=delly.inv_bcf,
  71. inv_bcf_index=delly.inv_bcf_index,
  72. bnd_bcf=delly.bnd_bcf,
  73. bnd_bcf_index=delly.bnd_bcf_index,
  74. docker=BCFdocker,
  75. disk_size=disk_size,
  76. cluster_config=SMALLcluster_config,
  77. sample_name=sample_name
  78. }
  79. }