Generate the Panel of Normal files for TNseq and TNscope.
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

workflow.wdl 3.8KB

il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
il y a 4 ans
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153
  1. import "./tasks/mapping.wdl" as mapping
  2. import "./tasks/Dedup.wdl" as Dedup
  3. import "./tasks/Realigner.wdl" as Realigner
  4. import "./tasks/BQSR.wdl" as BQSR
  5. import "./tasks/PoN.wdl" as PoN
  6. workflow {{ project_name }} {
  7. String SENTIEON_INSTALL_DIR
  8. String SENTIEON_LICENSE
  9. String sample_id
  10. File? fastq_1
  11. File? fastq_2
  12. File? deduped_bam
  13. File? deduped_bam_index
  14. File regions
  15. File ref_dir
  16. String fasta
  17. File dbsnp_dir
  18. String dbsnp
  19. File dbmills_dir
  20. String db_mills
  21. String sentieon_docker
  22. String cluster_config
  23. String disk_size
  24. if (fastq_1!= "") {
  25. call mapping.mapping as mapping {
  26. input:
  27. group=sample_id,
  28. sample=sample_id,
  29. fastq_1=fastq_1,
  30. fastq_2=fastq_2,
  31. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  32. SENTIEON_LICENSE=SENTIEON_LICENSE,
  33. pl="ILLUMINAL",
  34. fasta=fasta,
  35. ref_dir=ref_dir,
  36. docker=sentieon_docker,
  37. disk_size=disk_size,
  38. cluster_config=cluster_config
  39. }
  40. call Dedup.Dedup as Dedup {
  41. input:
  42. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  43. SENTIEON_LICENSE=SENTIEON_LICENSE,
  44. sorted_bam=mapping.sorted_bam,
  45. sorted_bam_index=mapping.sorted_bam_index,
  46. sample=sample_id,
  47. docker=sentieon_docker,
  48. disk_size=disk_size,
  49. cluster_config=cluster_config
  50. }
  51. call Realigner.Realigner as Realigner {
  52. input:
  53. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  54. SENTIEON_LICENSE=SENTIEON_LICENSE,
  55. fasta=fasta,
  56. ref_dir=ref_dir,
  57. deduped_bam=Dedup.deduped_bam,
  58. deduped_bam_index=Dedup.deduped_bam_index,
  59. db_mills=db_mills,
  60. dbmills_dir=dbmills_dir,
  61. docker=sentieon_docker,
  62. disk_size=disk_size,
  63. cluster_config=cluster_config
  64. }
  65. call BQSR.BQSR as BQSR {
  66. input:
  67. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  68. SENTIEON_LICENSE=SENTIEON_LICENSE,
  69. fasta=fasta,
  70. ref_dir=ref_dir,
  71. realigned_bam=Realigner.realigner_bam,
  72. realigned_bam_index=Realigner.realigner_bam_index,
  73. db_mills=db_mills,
  74. dbmills_dir=dbmills_dir,
  75. dbsnp=dbsnp,
  76. dbsnp_dir=dbsnp_dir,
  77. docker=sentieon_docker,
  78. disk_size=disk_size,
  79. cluster_config=cluster_config
  80. }
  81. call PoN.PoN as PoN {
  82. input:
  83. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  84. SENTIEON_LICENSE=SENTIEON_LICENSE,
  85. fasta=fasta,
  86. ref_dir=ref_dir,
  87. regions=regions,
  88. normal_bam=BQSR.recaled_bam,
  89. normal_bam_index=BQSR.recaled_bam_index,
  90. docker=sentieon_docker,
  91. disk_size=disk_size,
  92. cluster_config=cluster_config
  93. }
  94. }
  95. if (deduped_bam!= "") {
  96. call Realigner.Realigner as Realigner {
  97. input:
  98. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  99. SENTIEON_LICENSE=SENTIEON_LICENSE,
  100. fasta=fasta,
  101. ref_dir=ref_dir,
  102. deduped_bam=deduped_bam,
  103. deduped_bam_index=deduped_bam_index,
  104. db_mills=db_mills,
  105. dbmills_dir=dbmills_dir,
  106. docker=sentieon_docker,
  107. disk_size=disk_size,
  108. cluster_config=cluster_config
  109. }
  110. call BQSR.BQSR as BQSR {
  111. input:
  112. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  113. SENTIEON_LICENSE=SENTIEON_LICENSE,
  114. fasta=fasta,
  115. ref_dir=ref_dir,
  116. realigned_bam=Realigner.realigner_bam,
  117. realigned_bam_index=Realigner.realigner_bam_index,
  118. db_mills=db_mills,
  119. dbmills_dir=dbmills_dir,
  120. dbsnp=dbsnp,
  121. dbsnp_dir=dbsnp_dir,
  122. docker=sentieon_docker,
  123. disk_size=disk_size,
  124. cluster_config=cluster_config
  125. }
  126. call PoN.PoN as PoN {
  127. input:
  128. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  129. SENTIEON_LICENSE=SENTIEON_LICENSE,
  130. fasta=fasta,
  131. ref_dir=ref_dir,
  132. regions=regions,
  133. normal_bam=BQSR.recaled_bam,
  134. normal_bam_index=BQSR.recaled_bam_index,
  135. docker=sentieon_docker,
  136. disk_size=disk_size,
  137. cluster_config=cluster_config
  138. }
  139. }
  140. }