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

5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
5 yıl önce
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. import "./tasks/mendelian.wdl" as mendelian
  2. import "./tasks/two_family_merge.wdl" as two_family_merge
  3. workflow {{ project_name }} {
  4. File inputSamplesFile
  5. Array[Array[File]] inputSamples = read_tsv(inputSamplesFile)
  6. File ref_dir
  7. String fasta
  8. String cluster_config
  9. String disk_size
  10. scatter (quartet in inputSamples){
  11. call mendelian.mendelian as LCL5mendelian {
  12. input:
  13. child_vcf=quartet[0],
  14. LCL7_vcf=quartet[2],
  15. LCL8_vcf=quartet[3],
  16. LCL7_name=quartet[6],
  17. LCL8_name=quartet[7],
  18. child_name=quartet[4],
  19. ref_dir=ref_dir,
  20. fasta=fasta,
  21. cluster_config=cluster_config,
  22. disk_size=disk_size
  23. }
  24. call mendelian.mendelian as LCL6mendelian {
  25. input:
  26. child_vcf=quartet[1],
  27. LCL7_vcf=quartet[2],
  28. LCL8_vcf=quartet[3],
  29. LCL7_name=quartet[6],
  30. LCL8_name=quartet[7],
  31. child_name=quartet[5],
  32. ref_dir=ref_dir,
  33. fasta=fasta,
  34. cluster_config=cluster_config,
  35. disk_size=disk_size
  36. }
  37. call two_family_merge.two_family_merge as two_family_merge {
  38. input:
  39. LCL5_trio_vcf=LCL5mendelian.trio_vcf,
  40. LCL6_trio_vcf=LCL6mendelian.trio_vcf,
  41. family_name=quartet[8],
  42. cluster_config=cluster_config,
  43. disk_size=disk_size
  44. }
  45. }
  46. }