task multiqc { Array[File] read1_zip Array[File] txt1 Array[File] zip String docker String cluster_config String disk_size command <<< set -o pipefail set -e mkdir -p /cromwell_root/tmp/fastqc mkdir -p /cromwell_root/tmp/fastqscreen mkdir -p /cromwell_root/tmp/bamqc cp ${sep=" " read1_zip} /cromwell_root/tmp/fastqc cp ${sep=" " txt1} /cromwell_root/tmp/fastqscreen for i in ${sep=" " zip} do tar -zxvf $i -C /cromwell_root/tmp/bamqc done multiqc /cromwell_root/tmp/ >>> runtime { docker:docker cluster:cluster_config systemDisk:"cloud_ssd 40" dataDisk:"cloud_ssd " + disk_size + " /cromwell_root/" } output { File multiqc_html = "multiqc_report.html" Array[File] multiqc_txt = glob("multiqc_data/*") } }