Commit 6e47eca2 authored by timdiels's avatar timdiels
Browse files

Name nextflow collected files

parent ccaa4ffc
......@@ -44,6 +44,7 @@ groovyx.gpars.dataflow.DataflowReadChannel.metaClass {
ch
.map {[it.id, it.name, it.longName, it.proteome].join("\t")}
.collectFile(
name: 'species.tsv',
newLine: true,
seed: ['id', 'name', 'long_name', 'proteome'].join("\t")
)
......@@ -289,6 +290,7 @@ process allVsAllProteomes {
tap(allVsAllProteomeBlasts)
.map { it.join("\t") }
.collectFile(
name: 'blasts.tsv',
newLine: true,
seed: ['blast_hits', 'query_species_name', 'database_species_name'].join("\t")
)
......@@ -1089,7 +1091,11 @@ Channel.empty()
// Tail
Channel.from('wait')
)
.collectFile(name: "${params.output}/cleanup.sh", newLine: true, sort: false)
.collectFile(
name: "${params.output}/cleanup.sh",
newLine: true,
sort: false
)
//////////////////////
......
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