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.

50 line
950B

  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. workflow {{ project_name }} {
  6. String sample_id
  7. File read1
  8. File read2
  9. File idx
  10. String adapter_sequence
  11. String adapter_sequence_r2
  12. String idx_prefix
  13. File gtf
  14. call fastp.fastp as fastp {
  15. input:
  16. sample_id=sample_id,
  17. read1=read1,
  18. read2=read2,
  19. adapter_sequence=adapter_sequence,
  20. adapter_sequence_r2=adapter_sequence_r2
  21. }
  22. call hisat2.hisat2 as hisat2 {
  23. input:
  24. sample_id=sample_id,
  25. idx=idx,
  26. idx_prefix=idx_prefix,
  27. Trim_R1=fastp.Trim_R1,
  28. Trim_R2=fastp.Trim_R2
  29. }
  30. call samtools.samtools as samtools {
  31. input:
  32. sample_id=sample_id,
  33. sam = hisat2.sam
  34. }
  35. call stringtie.stringtie as stringtie {
  36. input:
  37. gtf = gtf,
  38. bam = samtools.out_bam ,
  39. sample_id=sample_id
  40. }
  41. }