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.

42 lines
944B

  1. task multiqc {
  2. Array[File] read1_zip
  3. Array[File] read2_zip
  4. Array[File] txt1
  5. Array[File] txt2
  6. String docker
  7. String cluster_config
  8. String disk_size
  9. command <<<
  10. set -o pipefail
  11. set -e
  12. mkdir -p /cromwell_root/tmp/fastqc
  13. mkdir -p /cromwell_root/tmp/fastqscreen
  14. cp ${sep=" " read1_zip} ${sep=" " read2_zip} /cromwell_root/tmp/fastqc
  15. cp ${sep=" " txt1} ${sep=" " txt2} /cromwell_root/tmp/fastqscreen
  16. multiqc /cromwell_root/tmp/
  17. cat multiqc_data/multiqc_general_stats.txt > multiqc_general_stats.txt
  18. cat multiqc_data/multiqc_fastq_screen.txt > multiqc_fastq_screen.txt
  19. >>>
  20. runtime {
  21. docker:docker
  22. cluster:cluster_config
  23. systemDisk:"cloud_ssd 40"
  24. dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
  25. }
  26. output {
  27. File multiqc_html = "multiqc_report.html"
  28. Array[File] multiqc_txt = glob("multiqc_data/*")
  29. File fastqc = "multiqc_general_stats.txt"
  30. File fastqscreen = "multiqc_fastq_screen.txt"
  31. }
  32. }