Commit 99065d98 authored by Raphael Müller's avatar Raphael Müller
Browse files

changed process for writing results to file to collectFile Operator

parent 26e7d963
......@@ -628,18 +628,6 @@ if (coverageHistogram) {
"""
}
return result
}.set { chResults }
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
"""
}
}.collectFile(name: "${prefix}.results.txt", newLine: false, storeDir: output)
} //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