您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

4 年前
5 年前
4 年前
4 年前
5 年前
4 年前
4 年前
5 年前
4 年前
5 年前
4 年前
5 年前
4 年前
5 年前
4 年前
4 年前
4 年前
4 年前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. import "./tasks/vcf2bed.wdl" as vcf2bed
  2. import "./tasks/mergeBed.wdl" as mergeBed
  3. #import "./tasks/bedAnnotation.wdl" as bedAnnotation
  4. import "./tasks/diffBed.wdl" as diffBed
  5. #import "./tasks/colSum.wdl" as colSum
  6. workflow {{ project_name }} {
  7. File inputSamplesFile
  8. Array[Array[File]] inputSamples = read_tsv(inputSamplesFile)
  9. # File breakpoint_directory
  10. File diffBed_directory
  11. String sample_name
  12. String cluster_config
  13. String disk_size
  14. scatter (sample in inputSamples){
  15. call vcf2bed.vcf2bed as vcf2bed {
  16. input:
  17. vcf=sample[0],
  18. vote_file=sample[1],
  19. chromo=sample[2],
  20. sample_name=sample_name,
  21. cluster_config=cluster_config,
  22. disk_size=disk_size
  23. }
  24. }
  25. call mergeBed.mergeBed as mergeBed {
  26. input:
  27. chromo_filtered_bed=vcf2bed.chromo_filtered_bed,
  28. chromo_voted_bed=vcf2bed.chromo_voted_bed,
  29. sample_name=sample_name,
  30. cluster_config=cluster_config,
  31. disk_size=disk_size
  32. }
  33. # call bedAnnotation.bedAnnotation as bedAnnotation {
  34. # input:
  35. # filtered_bed=mergeBed.filtered_bed,
  36. # voted_bed=mergeBed.voted_bed,
  37. # breakpoint_directory=breakpoint_directory,
  38. # sample_name=sample_name,
  39. # cluster_config=cluster_config,
  40. # disk_size=disk_size
  41. # }
  42. call diffBed.diffBed as diffBed{
  43. input:
  44. filtered_bed=mergeBed.filtered_bed,
  45. voted_bed=mergeBed.voted_bed,
  46. diffBed_directory=diffBed_directory,
  47. sample_name=sample_name,
  48. cluster_config=cluster_config,
  49. disk_size=disk_size
  50. }
  51. # call colSum.colSum as colSum {ß
  52. # input:
  53. # filtered_bnd=bedAnnotation.filtered_bnd,
  54. # filtered_ins=bedAnnotation.filtered_ins,
  55. # filtered_inv=bedAnnotation.filtered_inv,
  56. # filtered_del=bedAnnotation.filtered_del,
  57. # filtered_dup=bedAnnotation.filtered_dup,
  58. # voted_bnd=bedAnnotation.voted_bnd,
  59. # voted_ins=bedAnnotation.voted_ins,
  60. # voted_inv=bedAnnotation.voted_inv,
  61. # voted_del=bedAnnotation.voted_del,
  62. # voted_dup=bedAnnotation.voted_dup,
  63. # sample_name=sample_name,
  64. # cluster_config=cluster_config,
  65. # disk_size=disk_size
  66. # }
  67. }