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 959B

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