Fix taxpasta not receiving taxonomy directory

master^2
James Fellows Yates 1 year ago
parent c3f1adf09b
commit 982fba1b58

@ -3,6 +3,18 @@
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## v1.0.1 - Dodgy Dachshund Patch [2023-05-11]
### `Added`
### `Fixed`
- [#291](https://github.com/nf-core/taxprofiler/pull/291) - Fix Taxpasta not receiving taxonomy directory (❤️ to SannaAb for reporting, fix by @jfy133)
### `Dependencies`
### `Deprecated`
## v1.0.0 - Dodgy Dachshund [2023-03-13]
Initial release of nf-core/taxprofiler, created with the [nf-core](https://nf-co.re/) template.

@ -543,7 +543,6 @@ process {
ext.args = {
[
"-p ${meta.tool} -o ${meta.tool}_${meta.id}.${params.standardisation_taxpasta_format}",
params.taxpasta_taxonomy_dir ? "--taxonomy ${params.taxpasta_taxonomy_dir}" : "",
params.taxpasta_add_name ? "--add-name" : "",
params.taxpasta_add_rank ? "--add-rank" : "",
params.taxpasta_add_lineage ? "--add-lineage" : "",

@ -33,7 +33,7 @@ workflow STANDARDISATION_PROFILES {
.groupTuple ()
.map { [ it[0], it[1].flatten() ] }
TAXPASTA_MERGE (ch_input_for_taxpasta, [], [])
TAXPASTA_MERGE (ch_input_for_taxpasta, params.taxpasta_taxonomy_dir ? params.taxpasta_taxonomy_dir : [], [])
/*
Split profile results based on tool they come from

Loading…
Cancel
Save