From 5ab72ca9187a7d537da9c270d67bb55c49994e75 Mon Sep 17 00:00:00 2001 From: slsevilla Date: Wed, 3 Apr 2024 14:01:40 +0000 Subject: [PATCH] refactor: phoenix wf filtering, ica #147 #149 --- workflows/phoenix.nf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/workflows/phoenix.nf b/workflows/phoenix.nf index 0153ab07..6d93ec9a 100644 --- a/workflows/phoenix.nf +++ b/workflows/phoenix.nf @@ -291,10 +291,10 @@ workflow PHOENIX_EXTERNAL { ) ch_versions = ch_versions.mix(DETERMINE_TOP_MASH_HITS.out.versions) - // // Combining filtered scaffolds with the top taxa list based on meta.id - // top_taxa_list_ch = BBMAP_REFORMAT.out.filtered_scaffolds.map{meta, filtered_scaffolds -> [[id:meta.id], filtered_scaffolds]}\ - // .join(DETERMINE_TOP_MASH_HITS.out.top_taxa_list.map{ meta, top_taxa_list -> [[id:meta.id], top_taxa_list ]}, by: [0])\ - // .join(DETERMINE_TOP_MASH_HITS.out.reference_dir.map{ meta, reference_dir -> [[id:meta.id], reference_dir ]}, by: [0]) + // Combining filtered scaffolds with the top taxa list based on meta.id + top_taxa_list_ch = BBMAP_REFORMAT.out.filtered_scaffolds.map{meta, filtered_scaffolds -> [[id:meta.id], filtered_scaffolds]}\ + .join(DETERMINE_TOP_MASH_HITS.out.top_taxa_list.map{ meta, top_taxa_list -> [[id:meta.id], top_taxa_list ]}, by: [0])\ + .join(DETERMINE_TOP_MASH_HITS.out.reference_dir.map{ meta, reference_dir -> [[id:meta.id], reference_dir ]}, by: [0]) // // Getting species ID // FASTANI (