1
0
Fork 0
mirror of https://github.com/MillironX/taxprofiler.git synced 2024-12-22 04:18:17 +00:00

Fix taxpasta not receiving taxonomy directory

This commit is contained in:
James Fellows Yates 2023-05-11 14:13:18 +02:00
parent c3f1adf09b
commit 982fba1b58
3 changed files with 13 additions and 2 deletions

View file

@ -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.

View file

@ -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" : "",

View file

@ -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