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.

multiqc.wdl 766B

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