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.

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