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