Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

56 lignes
1.4KB

  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=" " summary} /cromwell_root/tmp/benchmark
  19. cp ${sep=" " read1_zip} ${sep=" " read2_zip} /cromwell_root/tmp/fastqc
  20. cp ${sep=" " txt1} ${sep=" " txt2} /cromwell_root/tmp/fastqscreen
  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. cat multiqc_data/multiqc_general_stats.txt > multiqc_general_stats.txt
  27. cat multiqc_data/multiqc_fastqc.txt > multiqc_fastqc.txt
  28. cat multiqc_data/multiqc_fastq_screen.txt > multiqc_fastq_screen.txt
  29. cat multiqc_data/multiqc_happy_data.json > multiqc_happy_data.json
  30. >>>
  31. runtime {
  32. docker:docker
  33. cluster:cluster_config
  34. systemDisk:"cloud_ssd 40"
  35. dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/"
  36. }
  37. output {
  38. File multiqc_html = "multiqc_report.html"
  39. Array[File] multiqc_txt = glob("multiqc_data/*")
  40. File fastqc_qualimap = "multiqc_general_stats.txt"
  41. File fastqc = "multiqc_fastqc.txt"
  42. File fastqscreen = "multiqc_fastq_screen.txt"
  43. File hap = "multiqc_happy_data.json"
  44. }
  45. }