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

50 行
1.1KB

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