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.4KB

5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
5 vuotta sitten
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. import "./tasks/mendelian.wdl" as mendelian
  2. import "./tasks/two_family_merge.wdl" as two_family_merge
  3. import "./tasks/votes.wdl" as votes
  4. workflow {{ project_name }} {
  5. File inputSamplesFile
  6. Array[Array[File]] inputSamples = read_tsv(inputSamplesFile)
  7. File ref_dir
  8. File vcf
  9. String chromo
  10. String fasta
  11. String cluster_config
  12. String disk_size
  13. scatter (quartet in inputSamples){
  14. call mendelian.mendelian as LCL5mendelian {
  15. input:
  16. child_vcf=quartet[0],
  17. LCL7_vcf=quartet[2],
  18. LCL8_vcf=quartet[3],
  19. LCL7_name=quartet[6],
  20. LCL8_name=quartet[7],
  21. child_name=quartet[4],
  22. ref_dir=ref_dir,
  23. fasta=fasta,
  24. cluster_config=cluster_config,
  25. disk_size=disk_size
  26. }
  27. call mendelian.mendelian as LCL6mendelian {
  28. input:
  29. child_vcf=quartet[1],
  30. LCL7_vcf=quartet[2],
  31. LCL8_vcf=quartet[3],
  32. LCL7_name=quartet[6],
  33. LCL8_name=quartet[7],
  34. child_name=quartet[5],
  35. ref_dir=ref_dir,
  36. fasta=fasta,
  37. cluster_config=cluster_config,
  38. disk_size=disk_size
  39. }
  40. call two_family_merge.two_family_merge as two_family_merge {
  41. input:
  42. LCL5_trio_vcf=LCL5mendelian.trio_vcf,
  43. LCL6_trio_vcf=LCL6mendelian.trio_vcf,
  44. family_name=quartet[8],
  45. cluster_config=cluster_config,
  46. disk_size=disk_size
  47. }
  48. }
  49. call votes.votes as votes {
  50. input:
  51. family_mendelian_info=two_family_merge.family_mendelian_info,
  52. vcf=vcf,
  53. chromo=chromo,
  54. cluster_config=cluster_config,
  55. disk_size=disk_size
  56. }
  57. }