Skip to content

Commit 23ce75c

Browse files
committed
Changed eggnog tuples to have different IDs for different processes
1 parent 991380c commit 23ce75c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

modules/eggnog.nf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ process EGGNOG_MAPPER {
88

99
input:
1010
// on mode "annotations" will be ignored, submit an empty path (channel.path("NO_FILE"))
11-
tuple val(id), file(fasta)
11+
tuple val(id_fasta), file(fasta)
1212
// on mode "mapper" will be ignored, submit an empty path (channel.path("NO_FILE"))
13-
tuple val(id), file(annotation_hit_table)
13+
tuple val(id_annot), file(annotation_hit_table)
1414
val mode // mapper or annotations
1515
path eggnog_db
1616
path eggnog_diamond_db
1717
path eggnog_data_dir
1818

1919
output:
20-
tuple val(id), path ("*annotations*"), emit: annotations, optional: true
21-
tuple val(id), path ("*orthologs*"), emit: orthologs, optional: true
20+
tuple val(id_annot), path ("*annotations*"), emit: annotations, optional: true
21+
tuple val(id_fasta), path ("*orthologs*"), emit: orthologs, optional: true
2222

2323
script:
2424
if ( mode == "mapper" )

0 commit comments

Comments
 (0)