From fastq to lncRNA profile.
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

112 行
2.7KB

  1. import "./tasks/fastp.wdl" as fastp
  2. import "./tasks/hisat2.wdl" as hisat2
  3. import "./tasks/samtools.wdl" as samtools
  4. import "./tasks/featureCounts.wdl" as featureCounts
  5. workflow {{ project_name }} {
  6. String sample_id
  7. File read1
  8. File read2
  9. String adapter_sequence
  10. String adapter_sequence_r2
  11. String fastp_docker
  12. String fastp_cluster
  13. String umi_loc
  14. Int trim_front1
  15. Int trim_tail1
  16. Int max_len1
  17. Int trim_front2
  18. Int trim_tail2
  19. Int max_len2
  20. Int disable_adapter_trimming
  21. Int length_required
  22. Int umi_len
  23. Int UMI
  24. Int qualified_quality_phred
  25. Int length_required1
  26. Int disable_quality_filtering
  27. File idx
  28. String idx_prefix
  29. String pen_intronlen
  30. String hisat2_docker
  31. String hisat2_cluster
  32. Int pen_cansplice
  33. Int pen_noncansplice
  34. Int min_intronlen
  35. Int max_intronlen
  36. Int maxins
  37. Int minins
  38. String ins_size = sample_id + ".ins_size"
  39. String samtools_docker
  40. String samtools_cluster
  41. Int insert_size
  42. File lnc_gtf_file = "lncRNAKB_hg38_v7.gtf"
  43. String gtf_dir = "oss://pgx-reference-data/reference/subread/"
  44. String subread_docker
  45. String subread_cluster
  46. Int strand_information = 0
  47. call fastp.fastp as fastp {
  48. input:
  49. sample_id = sample_id,
  50. read1 = read1,
  51. read2 = read2,
  52. docker = fastp_docker,
  53. cluster = fastp_cluster,
  54. adapter_sequence = adapter_sequence,
  55. adapter_sequence_r2 = adapter_sequence_r2,
  56. umi_loc = umi_loc,
  57. trim_front1 = trim_front1,
  58. trim_tail1 = trim_tail1,
  59. max_len1 = max_len1,
  60. trim_front2 = trim_front2,
  61. trim_tail2 = trim_tail2,
  62. max_len2 = max_len2,
  63. disable_adapter_trimming = disable_adapter_trimming,
  64. length_required = length_required,
  65. umi_len = umi_len,
  66. UMI = UMI,
  67. qualified_quality_phred = qualified_quality_phred,
  68. length_required1 = length_required1,
  69. disable_quality_filtering = disable_quality_filtering
  70. }
  71. call hisat2.hisat2 as hisat2 {
  72. input:
  73. sample_id = sample_id,
  74. idx = idx,
  75. idx_prefix = idx_prefix,
  76. Trim_R1 = fastp.Trim_R1,
  77. Trim_R2 = fastp.Trim_R2,
  78. docker = hisat2_docker,
  79. cluster = hisat2_cluster,
  80. pen_intronlen = pen_intronlen,
  81. pen_cansplice = pen_cansplice,
  82. pen_noncansplice = pen_noncansplice,
  83. min_intronlen = min_intronlen,
  84. max_intronlen = max_intronlen,
  85. maxins = maxins,
  86. minins = minins
  87. }
  88. call samtools.samtools as samtools {
  89. input:
  90. sample_id = sample_id,
  91. sam = hisat2.sam,
  92. docker = samtools_docker,
  93. cluster = samtools_cluster,
  94. insert_size = insert_size
  95. }
  96. call featureCounts.featureCounts as featureCounts {
  97. input:
  98. sample_id = sample_id,
  99. bam_file = samtools.out_bam,
  100. lnc_gtf_file = lnc_gtf_file,
  101. gtf_dir = gtf_dir,
  102. docker = subread_docker,
  103. cluster = subread_cluster,
  104. strand_information = strand_information
  105. }
  106. }