Skip to content
Snippets Groups Projects
Commit b48b8367 authored by Ruben Vorderman's avatar Ruben Vorderman
Browse files

work on outputs

parent b470abe9
No related branches found
No related tags found
1 merge request!75Add multiqc
......@@ -37,9 +37,12 @@ task MultiQC {
Boolean quiet = false
}
String outputDir = if defined(outDir) then select_first([outDir]) else "."
command {
set -e -o pipefail
~{preCommand}
~{if defined(outDir) then "mkdir -p " + outputDir else ""}
multiqc \
~{true="--force" false="" force} \
~{true="--dirs" false="" dirs} \
......@@ -73,5 +76,10 @@ task MultiQC {
~{analysisDirectory}
}
output {}
String reportFilename = if (defined(fileName)) then sub(select_first([fileName]), "\.html$", "") else "multi_qc"
output {
File multiqcReport = outputDir + "/" + reportFilename + ".html"
File multiqcDataDir = outputDir + "/" +reportFilename + "_data"
File multigcDataJson = multiqcDataDir + "/multiqc_data.json"
}
}
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment