您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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] summary
  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/benchmark
  16. cp ${sep=" " read1_zip} ${sep=" " read2_zip} /cromwell_root/tmp/fastqc
  17. cp ${sep=" " txt1} ${sep=" " txt2} /cromwell_root/tmp/fastqscreen
  18. cp ${sep=" " summary} /cromwell_root/tmp/benchmark
  19. multiqc /cromwell_root/tmp/
  20. cat multiqc_data/multiqc_general_stats.txt > multiqc_general_stats.txt
  21. cat multiqc_data/multiqc_fastq_screen.txt > multiqc_fastq_screen.txt
  22. cat multiqc_data/multiqc_happy_data.json > multiqc_happy_data.json
  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. File? fastqc = "multiqc_general_stats.txt"
  34. File? fastqscreen = "multiqc_fastq_screen.txt"
  35. File hap = "multiqc_happy_data.json"
  36. }
  37. }