From 5d95151f549713bcdf9b59aa44768a4b2b39e0b2 Mon Sep 17 00:00:00 2001 From: James Fellows Yates Date: Thu, 11 May 2023 15:04:37 +0200 Subject: [PATCH] Fix staging --- subworkflows/local/standardisation_profiles.nf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/subworkflows/local/standardisation_profiles.nf b/subworkflows/local/standardisation_profiles.nf index dde76c8..4ae44fd 100644 --- a/subworkflows/local/standardisation_profiles.nf +++ b/subworkflows/local/standardisation_profiles.nf @@ -33,7 +33,9 @@ workflow STANDARDISATION_PROFILES { .groupTuple () .map { [ it[0], it[1].flatten() ] } - TAXPASTA_MERGE (ch_input_for_taxpasta, params.taxpasta_taxonomy_dir ? params.taxpasta_taxonomy_dir : [], []) + ch_taxpasta_tax_dir = params.taxpasta_taxonomy_dir ? Channel.fromPath(params.taxpasta_taxonomy_dir, checkIfExists: true).collect() : [] + + TAXPASTA_MERGE (ch_input_for_taxpasta, ch_taxpasta_tax_dir, []) /* Split profile results based on tool they come from