Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

před 5 roky
před 4 roky
před 5 roky
před 5 roky
před 5 roky
před 4 roky
před 5 roky
před 4 roky
před 4 roky
před 5 roky
před 4 roky
před 4 roky
před 5 roky
před 5 roky
před 5 roky
před 5 roky
před 4 roky
před 4 roky
před 4 roky
před 5 roky
před 4 roky
před 4 roky
před 4 roky
před 4 roky
před 4 roky
před 4 roky
před 4 roky
před 5 roky
před 5 roky
před 4 roky
před 4 roky
před 4 roky
před 5 roky
před 4 roky
před 4 roky
před 4 roky
před 5 roky
před 5 roky
před 4 roky
před 4 roky
před 4 roky
před 5 roky
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171
  1. import "./tasks/fastqc.wdl" as fastqc
  2. import "./tasks/fastqscreen.wdl" as fastqscreen
  3. import "./tasks/fastp.wdl" as fastp
  4. import "./tasks/qualimap.wdl" as qualimap
  5. import "./tasks/hisat2_fp.wdl" as hisat2_fp
  6. import "./tasks/hisat2.wdl" as hisat2
  7. import "./tasks/samtools.wdl" as samtools
  8. import "./tasks/stringtie.wdl" as stringtie
  9. import "./tasks/ballgown.wdl" as ballgown
  10. import "./tasks/count.wdl" as count
  11. workflow {{ project_name }} {
  12. File read1
  13. File read2
  14. File idx
  15. File screen_ref_dir
  16. File fastq_screen_conf
  17. File gtf
  18. String disk_size
  19. String fastqc_docker
  20. String fastqc_cluster
  21. String fastqscreen_docker
  22. String fastqscreen_cluster
  23. String fastp_docker
  24. String fastp_cluster
  25. String adapter_sequence
  26. String adapter_sequence_r2
  27. String umi_loc
  28. String hisat2_docker
  29. String hisat2_cluster
  30. String idx_prefix
  31. String stringtie_docker
  32. String stringtie_cluster
  33. String samtools_docker
  34. String samtools_cluster
  35. String qualimap_docker
  36. String qualimap_cluster
  37. String ballgown_docker
  38. String ballgown_cluster
  39. String count_docker
  40. String count_cluster
  41. String count_length
  42. String sample_id
  43. Int trim_front1
  44. Int trim_tail1
  45. Int max_len1
  46. Int trim_front2
  47. Int trim_tail2
  48. Int max_len2
  49. Int disable_adapter_trimming
  50. Int length_required
  51. Int umi_len
  52. Int qualified_quality_phred
  53. Int length_required1
  54. Int insert_size
  55. Boolean pre_alignment_qc
  56. Boolean qualimap_qc
  57. Boolean trim_adapter
  58. if (pre_alignment_qc) {
  59. call fastqc.fastqc as fastqc {
  60. input:
  61. read1=read1,
  62. read2=read2,
  63. docker=fastqc_docker,
  64. cluster=fastqc_cluster,
  65. disk_size=disk_size
  66. }
  67. call fastqscreen.fastqscreen as fastqscreen {
  68. input:
  69. read1=read1,
  70. read2=read2,
  71. docker=fastqscreen_docker,
  72. cluster=fastqscreen_cluster,
  73. screen_ref_dir=screen_ref_dir,
  74. fastq_screen_conf=fastq_screen_conf,
  75. disk_size=disk_size
  76. }
  77. }
  78. call fastp.fastp as fastp {
  79. input:
  80. sample_id=sample_id,
  81. read1=read1,
  82. read2=read2,
  83. docker=fastp_docker,
  84. cluster=fastp_cluster,
  85. disk_size=disk_size,
  86. adapter_sequence=adapter_sequence,
  87. adapter_sequence_r2=adapter_sequence_r2,
  88. umi_loc=umi_loc,
  89. trim_front1=trim_front1,
  90. trim_tail1=trim_tail1,
  91. max_len1=max_len1,
  92. trim_front2=trim_front2,
  93. trim_tail2=trim_tail2,
  94. max_len2=max_len2,
  95. disable_adapter_trimming=disable_adapter_trimming,
  96. length_required=length_required,
  97. umi_len=umi_len,
  98. qualified_quality_phred=qualified_quality_phred,
  99. length_required1=length_required1
  100. trim_adapter=trim_adapter
  101. }
  102. call hisat2.hisat2 as hisat2 {
  103. input:
  104. sample_id=sample_id,
  105. docker=hisat2_docker,
  106. cluster=hisat2_cluster,
  107. idx=idx,
  108. idx_prefix=idx_prefix,
  109. read_1P=fastp.trim_R1,
  110. read_2P=fastp.trim_R2,
  111. disk_size=disk_size
  112. }
  113. }
  114. call samtools.samtools as samtools {
  115. input:
  116. docker=samtools_docker,
  117. cluster=samtools_cluster,
  118. sam=hisat2.sam,
  119. insert_size=insert_size,
  120. disk_size=disk_size
  121. }
  122. if (qualimap_qc){
  123. call qualimap.qualimap as qualimap {
  124. input:
  125. bam=samtools.out_sort_bam,
  126. gtf=gtf,
  127. docker=qualimap_docker,
  128. cluster=qualimap_cluster,
  129. disk_size=disk_size
  130. }
  131. }
  132. call stringtie.stringtie as stringtie {
  133. input:
  134. docker=stringtie_docker,
  135. cluster=stringtie_cluster,
  136. gtf=gtf,
  137. bam=samtools.out_sort_bam,
  138. disk_size=disk_size
  139. }
  140. call ballgown.ballgown as ballgown {
  141. input:
  142. docker=ballgown_docker,
  143. cluster=ballgown_cluster,
  144. ballgown=stringtie.ballgown,
  145. gene_abundance=stringtie.gene_abundance,
  146. disk_size=disk_size
  147. }
  148. call count.count as count {
  149. input:
  150. sample_id=sample_id,
  151. docker=count_docker,
  152. cluster=count_cluster,
  153. ballgown=stringtie.ballgown,
  154. disk_size=disk_size,
  155. count_length=count_length
  156. }
  157. }