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.

73 lines
2.0KB

  1. import "./tasks/fastp.wdl" as fastp
  2. import "./tasks/teprof_s1.wdl" as teprof_s1
  3. workflow {{ project_name }} {
  4. String sample_id
  5. File fastq1
  6. File fastq2
  7. String disk_size
  8. String fastp_docker
  9. String fastp_cluster
  10. String adapter_sequence
  11. String adapter_sequence_r2
  12. String umi_loc
  13. Int trim_front1
  14. Int trim_tail1
  15. Int max_len1
  16. Int trim_front2
  17. Int trim_tail2
  18. Int max_len2
  19. Int disable_adapter_trimming
  20. Int length_required
  21. Int umi_len
  22. Int UMI
  23. Int qualified_quality_phred
  24. Int length_required1
  25. Int disable_quality_filtering
  26. File STAR_INDEX_DIR
  27. String teprof_docker
  28. String teprof_cluster
  29. call fastp.fastp as fastp {
  30. input:
  31. read1=fastq1,
  32. read2=fastq2,
  33. sample_id=sample_id,
  34. docker=fastp_docker,
  35. cluster=fastp_cluster,
  36. disk_size=disk_size,
  37. adapter_sequence=adapter_sequence,
  38. adapter_sequence_r2=adapter_sequence_r2,
  39. umi_loc=umi_loc,
  40. trim_front1=trim_front1,
  41. trim_tail1=trim_tail1,
  42. max_len1=max_len1,
  43. trim_front2=trim_front2,
  44. trim_tail2=trim_tail2,
  45. max_len2=max_len2,
  46. disable_adapter_trimming=disable_adapter_trimming,
  47. length_required=length_required,
  48. umi_len=umi_len,
  49. UMI=UMI,
  50. qualified_quality_phred=qualified_quality_phred,
  51. length_required1=length_required1,
  52. disable_quality_filtering=disable_quality_filtering
  53. }
  54. call teprof_s1.teprof_s1 as teprof_s1 {
  55. input:
  56. sample_id=sample_id,
  57. fastq1=fastp.Trim_R1,
  58. fastq2=fastp.Trim_R2,
  59. STAR_INDEX_DIR=STAR_INDEX_DIR,
  60. disk_size=disk_size,
  61. docker=teprof_docker,
  62. cluster=teprof_cluster
  63. }
  64. }