Commit 26e7d963 authored by Raphael Müller's avatar Raphael Müller
Browse files

added process for writing results to file

parent 0445d4d2
......@@ -630,6 +630,16 @@ if (coverageHistogram) {
return result
}.set { chResults }
chResults.view()
process results2File {
cpus 1
input:
val results from chResults.collect()
output:
file "${prefix}.results.txt" into chResultFile
script:
"""
echo '${results.join('\n')}' > ${prefix}.results.txt
"""
}
} //fi: genomeSizeEstimation
} //fi: coverageHistogram
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment