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.

45 lines
837B

  1. import "./tasks/fastqc.wdl" as fastqc
  2. import "./tasks/fastqscreen.wdl" as fastqscreen
  3. import "./tasks/qualimap.wdl" as qualimap
  4. import "./tasks/multiqc.wdl" as multiqc
  5. workflow {{ project_name }} {
  6. File inputSamplesFile
  7. Array[Array[File]] inputSamples = read_tsv(inputSamplesFile)
  8. File screen_ref_dir
  9. File fastq_screen_conf
  10. File ref_dir
  11. String fasta
  12. scatter (sample in inputSamples) {
  13. call fastqc.fastqc as fastqc {
  14. input:
  15. read1=sample[0]
  16. }
  17. call fastqscreen.fastq_screen as fastqscreen {
  18. input:
  19. read1=sample[0],
  20. screen_ref_dir=screen_ref_dir,
  21. fastq_screen_conf=fastq_screen_conf
  22. }
  23. call qualimap.qualimap as qualimap {
  24. input:
  25. bam=sample[1],
  26. bai=sample[2]
  27. }
  28. }
  29. call multiqc.multiqc as multiqc {
  30. input:
  31. read1_zip=fastqc.read1_zip,
  32. txt1=fastqscreen.txt1,
  33. zip=qualimap.zip
  34. }
  35. }