Commit 99ddead0 authored by Thomas Van Parys's avatar Thomas Van Parys
Browse files

Make publishing of b2g output xml files optional (fixes #62)

parent 9858bfe6
...@@ -517,13 +517,18 @@ b2gBlastRefSeqInput ...@@ -517,13 +517,18 @@ b2gBlastRefSeqInput
.map {[it.name, it.proteome]} .map {[it.name, it.proteome]}
.set { b2gBlastRefSeqInput } .set { b2gBlastRefSeqInput }
//optional parameter to store (big) XML output files
params.save_b2g_xml = ''
process b2gBlastRefSeq { process b2gBlastRefSeq {
module 'decypher' module 'decypher'
time null // no time limit time null // no time limit
cpus 0 cpus 0
maxForks 1000 maxForks 1000
tag "$species" tag "$species"
publishDir "${params.output}/blast2go/blasts", mode: 'copy'
if (params.save_b2g_xml){
publishDir "${params.output}/blast2go/blasts", mode: 'copy'
}
input: input:
set species, file(fasta) from b2gBlastRefSeqInput set species, file(fasta) from b2gBlastRefSeqInput
......
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