diff --git a/subworkflows/annotation.nf b/subworkflows/annotation.nf index 7b1e5be..cc20bbb 100644 --- a/subworkflows/annotation.nf +++ b/subworkflows/annotation.nf @@ -64,7 +64,7 @@ workflow ANNOTATION { // Reassemble chunked eggnog output ch_annotations_to_merge = EGGNOG_MAPPER.out.annotations | map { meta, emapper -> - def meta_new = meta.submap("assemblyid") + def meta_new = meta.subMap("assemblyid") [ meta_new, emapper ] } | groupTuple(by: 0)