File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -106,13 +106,13 @@ include {pocp; pocp_matrix} from './modules/pocp'
106
106
// main workflow
107
107
workflow {
108
108
if (params. genomes) {
109
- proteins_ch = prokka(genome_input_ch)
109
+ proteins_ch = prokka(genome_input_ch). proteins
110
110
} else {
111
111
proteins_ch = proteins_input_ch
112
112
}
113
113
114
114
// switch to one-vs-all
115
- if (params. genome) { protein_ch = prokka_single(genome_single_input_ch) }
115
+ if (params. genome) { protein_ch = prokka_single(genome_single_input_ch). proteins }
116
116
if (params. protein) { protein_ch = protein_single_input_ch }
117
117
118
118
if (params. genome || params. protein) {
Original file line number Diff line number Diff line change 3
3
process prokka {
4
4
label ' prokka'
5
5
publishDir " ${ params.output} /prokka" , mode: ' copy' , pattern: " ${ name} /${ name} .faa"
6
+ publishDir " ${ params.output} /prokka" , mode: ' copy' , pattern: " ${ name} /${ name} .gff"
6
7
7
8
input:
8
9
tuple val(name), path(fasta)
9
10
10
11
output:
11
12
tuple val(name), path(" ${ name} /${ name} .faa" ), emit: proteins
13
+ tuple val(name), path(" ${ name} /${ name} .gff" ), emit: annotations
12
14
13
15
script:
14
16
"""
You can’t perform that action at this time.
0 commit comments