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.

100 line
2.3KB

  1. import "./tasks/fastp.wdl" as fastp
  2. import "./tasks/hisat2.wdl" as hisat2
  3. import "./tasks/samtools.wdl" as samtools
  4. import "./tasks/stringtie.wdl" as stringtie
  5. import "./tasks/fastqc.wdl" as fastqc
  6. import "./tasks/fastqscreen.wdl" as fastqscreen
  7. import "./tasks/qualimapBAMqc.wdl" as qualimapBAMqc
  8. import "./tasks/qualimapRNAseq.wdl" as qualimapRNAseq
  9. import "./tasks/ballgown.wdl" as ballgown
  10. import "./tasks/count.wdl" as count
  11. import "./tasks/MD5.wdl" as MD5
  12. workflow {{ project_name }} {
  13. File sam
  14. File idx
  15. File screen_ref_dir
  16. File fastq_screen_conf
  17. File gtf
  18. String sample_id
  19. String fastp_docker
  20. String adapter_sequence
  21. String adapter_sequence_r2
  22. String fastp_cluster
  23. String umi_loc
  24. String idx_prefix
  25. String pen_intronlen
  26. String fastqc_cluster_config
  27. String fastqc_docker
  28. String fastqscreen_docker
  29. String fastqscreen_cluster_config
  30. String hisat2_docker
  31. String hisat2_cluster
  32. String qualimapBAMqc_docker
  33. String qualimapBAMqc_cluster_config
  34. String qualimapRNAseq_docker
  35. String qualimapRNAseq_cluster_config
  36. String samtools_docker
  37. String samtools_cluster
  38. String stringtie_docker
  39. String stringtie_cluster
  40. String multiqc_cluster_config
  41. String multiqc_docker
  42. Int multiqc_disk_size
  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 UMI
  53. Int qualified_quality_phred
  54. Int length_required1
  55. Int disable_quality_filtering
  56. Int pen_cansplice
  57. Int pen_noncansplice
  58. Int min_intronlen
  59. Int max_intronlen
  60. Int maxins
  61. Int minins
  62. Int fastqc_disk_size
  63. Int fastqscreen_disk_size
  64. Int qualimapBAMqc_disk_size
  65. Int qualimapRNAseq_disk_size
  66. Int insert_size
  67. Int minimum_length_allowed_for_the_predicted_transcripts
  68. Int Junctions_no_spliced_reads
  69. Int count_length
  70. Float minimum_isoform_abundance
  71. Float maximum_fraction_of_muliplelocationmapped_reads
  72. String ballgown_docker
  73. String ballgown_cluster
  74. String disk_size
  75. String count_docker
  76. String count_cluster
  77. String docker
  78. String cluster_config
  79. call samtools.samtools as samtools {
  80. input:
  81. sample_id = sample_id,
  82. sam = sam,
  83. docker = samtools_docker,
  84. cluster = samtools_cluster,
  85. disk_size = disk_size,
  86. insert_size = insert_size
  87. }
  88. call MD5.MD5 as MD5 {
  89. input:
  90. file = samtools.out_bam,
  91. docker = docker,
  92. disk_size = disk_size,
  93. cluster_config=cluster_config
  94. }
  95. }