Generate the Panel of Normal files for TNseq and TNscope.
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.

workflow.wdl 1.8KB

4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
4 jaren geleden
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. import "./tasks/Realigner.wdl" as Realigner
  2. import "./tasks/BQSR.wdl" as BQSR
  3. import "./tasks/PoN.wdl" as PoN
  4. workflow {{ project_name }} {
  5. String SENTIEON_INSTALL_DIR
  6. String SENTIEON_LICENSE
  7. String panel_id
  8. File ref_dir
  9. String fasta
  10. File cosmic_dir
  11. String cosmic_vcf
  12. File dbsnp_dir
  13. String dbsnp
  14. File regions
  15. Array[Array[File]] normal_recaled_bam_bai
  16. String sentieon_docker
  17. String cluster_config
  18. String disk_size
  19. call Realigner.Realigner as Realigner {
  20. input:
  21. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  22. SENTIEON_LICENSE=SENTIEON_LICENSE,
  23. fasta=fasta,
  24. ref_dir=ref_dir,
  25. deduped_bam=Dedup.deduped_bam,
  26. deduped_bam_index=Dedup.deduped_bam_index,
  27. db_mills=db_mills,
  28. dbmills_dir=dbmills_dir,
  29. sample=sample_id + '_tumor',
  30. docker=sentieon_docker,
  31. disk_size=disk_size,
  32. cluster_config=cluster_config
  33. }
  34. call BQSR.BQSR as BQSR {
  35. input:
  36. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  37. SENTIEON_LICENSE=SENTIEON_LICENSE,
  38. fasta=fasta,
  39. ref_dir=ref_dir,
  40. realigned_bam=Realigner.realigner_bam,
  41. realigned_bam_index=Realigner.realigner_bam_index,
  42. db_mills=db_mills,
  43. dbmills_dir=dbmills_dir,
  44. dbsnp=dbsnp,
  45. dbsnp_dir=dbsnp_dir,
  46. sample=sample_id + '_tumor',
  47. docker=sentieon_docker,
  48. disk_size=disk_size,
  49. cluster_config=cluster_config
  50. }
  51. call PoN.PoN as PoN {
  52. input:
  53. SENTIEON_INSTALL_DIR=SENTIEON_INSTALL_DIR,
  54. SENTIEON_LICENSE=SENTIEON_LICENSE,
  55. fasta=fasta,
  56. ref_dir=ref_dir,
  57. regions=regions,
  58. normal_bam=BQSR.recaled_bam,
  59. normal_bam_index=BQSR.recaled_bam_index,
  60. cosmic_vcf=cosmic_vcf,
  61. cosmic_dir=cosmic_dir,
  62. dbsnp=dbsnp,
  63. dbsnp_dir=dbsnp_dir,
  64. docker=sentieon_docker,
  65. disk_size=disk_size,
  66. cluster_config=cluster_config
  67. }
  68. }
  69. }