No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

59 líneas
1.6KB

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