Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

83 lines
1.6KB

  1. import "./tasks/fastqc.wdl" as fastqc
  2. import "./tasks/fastqscreen.wdl" as fastqscreen
  3. import "./tasks/hisat2.wdl" as hisat2
  4. import "./tasks/samtools.wdl" as samtools
  5. import "./tasks/stringtie.wdl" as stringtie
  6. import "./tasks/ballgown.wdl" as ballgown
  7. workflow {{ project_name }} {
  8. File read1
  9. File read2
  10. File idx
  11. String idx_prefix
  12. File gtf
  13. String fastqc_docker
  14. String fastqc_cluster
  15. String fastqscreen_docker
  16. String fastqscreen_cluster
  17. String hisat2_docker
  18. String hisat2_cluster
  19. String stringtie_docker
  20. String stringtie_cluster
  21. String samtools_docker
  22. String samtools_cluster
  23. String ballgown_docker
  24. String ballgown_cluster
  25. call fastqc.fastqc as fastqc {
  26. input:
  27. read1=read1,
  28. read2=read2,
  29. docker = fastqc_docker,
  30. cluster = fastqc_cluster
  31. }
  32. call fastqscreen.fastqscreen as fastqscreen {
  33. input:
  34. read1=read1,
  35. read2=read2,
  36. docker = fastqscreen_docker,
  37. cluster = fastqscreen_cluster,
  38. screen_ref_dir=screen_ref_dir,
  39. fastq_screen_conf=fastq_screen_conf
  40. }
  41. call hisat2.hisat2 as hisat2 {
  42. input:
  43. docker = hisat2_docker,
  44. cluster = hisat2_cluster,
  45. idx=idx,
  46. idx_prefix=idx_prefix,
  47. read_1P=read1,
  48. read_2P=read2
  49. }
  50. call samtools.samtools as samtools {
  51. input:
  52. docker = samtools_docker,
  53. cluster = samtools_cluster,
  54. sam = hisat2.sam
  55. }
  56. call stringtie.stringtie as stringtie {
  57. input:
  58. docker = stringtie_docker,
  59. cluster = stringtie_cluster,
  60. gtf = gtf,
  61. bam = samtools.out_bam
  62. }
  63. call ballgown.ballgown as ballgown {
  64. input:
  65. docker = ballgown_docker,
  66. cluster = ballgown_cluster,
  67. ballgown = stringtie.ballgown,
  68. gene_abundance = stringtie.gene_abundance
  69. }
  70. }