From d22acbb32c1aac1395e7d0b1c8d136438be12706 Mon Sep 17 00:00:00 2001 From: Luisa Santus Date: Wed, 13 Sep 2023 08:24:32 +0200 Subject: [PATCH] Update subworkflows/local/align.nf Co-authored-by: Jose Espinosa-Carrasco --- subworkflows/local/align.nf | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/subworkflows/local/align.nf b/subworkflows/local/align.nf index 84015da4..f8534c62 100644 --- a/subworkflows/local/align.nf +++ b/subworkflows/local/align.nf @@ -42,15 +42,17 @@ workflow ALIGN { // Here is all the combinations we need to compute - ch_fasta_trees = ch_fasta_tools.with_tree - .combine(trees, by: [0]) - .map{ it -> [it[0] + it[1] , it[2], it[3]]} - .branch{ - famsa: it[0]["align"] == "FAMSA" - tcoffee3D_tmalign: it[0]["align"] == "tcoffee3D_tmalign" - tcoffee_regressive: it[0]["align"] == "regressive" - clustalo: it[0]["align"] == "CLUSTALO" - } + ch_fasta_tools + .with_tree + .combine(trees, by: [0]) + .map { it -> [it[0] + it[1] , it[2], it[3]]} + .branch { + famsa: it[0]["align"] == "FAMSA" + tcoffee3D_tmalign: it[0]["align"] == "tcoffee3D_tmalign" + tcoffee_regressive: it[0]["align"] == "regressive" + clustalo: it[0]["align"] == "CLUSTALO" + } + .set { ch_fasta_trees } // // Compute the alignments