Skip to content

Commit f1e6153

Browse files
Merge pull request #478 from nf-core/dev
Patch release 1.1.7
2 parents 45ce748 + ab32e91 commit f1e6153

File tree

6 files changed

+25
-28
lines changed

6 files changed

+25
-28
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,20 @@
33
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
44
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
55

6+
## v1.1.7 - Augmented Akita Patch [2024-04-25]
7+
8+
### `Added`
9+
10+
- [#477](https://github.com/nf-core/taxprofiler/pull/477) Provide more emphasis and links to tutorials on how to retrieve and supply reference databases (❤️ to @vmkalbskopf for reporting, added by @jfy133)
11+
12+
### `Fixed`
13+
14+
- [#476](https://github.com/nf-core/taxprofiler/pull/476/) Fixed bug in validating Bracken/Kraken/KMCP split database parameters (fixed by @LilyAnderssonLee)
15+
16+
### `Dependencies`
17+
18+
### `Deprecated`
19+
620
## v1.1.6 - Augmented Akita Patch [2024-04-16]
721

822
### `Added`

assets/multiqc_config.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
report_comment: >
2-
This report has been generated by the <a href="https://github.com/nf-core/taxprofiler/releases/tag/1.1.6" target="_blank">nf-core/taxprofiler</a>
2+
This report has been generated by the <a href="https://github.com/nf-core/taxprofiler/releases/tag/1.1.7" target="_blank">nf-core/taxprofiler</a>
33
analysis pipeline. For information about how to interpret these results, please see the
4-
<a href="https://nf-co.re/taxprofiler/1.1.6/docs/output" target="_blank">documentation</a>.
4+
<a href="https://nf-co.re/taxprofiler/1.1.7/docs/output" target="_blank">documentation</a>.
55
66
report_section_order:
77
"nf-core-taxprofiler-methods-description":

assets/schema_database.json

-18
Original file line numberDiff line numberDiff line change
@@ -36,24 +36,6 @@
3636
"db_params": {
3737
"type": "string",
3838
"pattern": "^[^\"']*$",
39-
"anyOf": [
40-
{
41-
"properties": {
42-
"tool": { "const": "bracken" }
43-
},
44-
"not": {
45-
"pattern": ".*;"
46-
},
47-
"errorMessage": "Invalid database db_params entry. Bracken requires a semi-colon for passing one or more parameters."
48-
},
49-
{
50-
"properties": {
51-
"tool": { "const": "kmcp" }
52-
},
53-
"pattern": ".*;$",
54-
"errorMessage": "Invalid database `db_params` entry. KMCP only requires a semi-colon if passing arguments to KMCP profile, in cases of which the arguments should go after the semi-colon."
55-
}
56-
],
5739
"errorMessage": "Invalid database db_params entry. No quotes allowed.",
5840
"meta": ["db_params"]
5941
},

docs/usage.md

+7-6
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ nf-core/taxprofiler supports multiple databases being classified/profiled agains
9696
Databases can be supplied either in the form of a compressed `.tar.gz` archive of a directory containing all relevant database files or the path to a directory on the filesystem.
9797

9898
:::warning
99-
nf-core/taxprofiler does not provide any databases by default, nor does it currently generate them for you. This must be performed manually by the user. See bottom of this section for more information of the expected database files, or the [building custom database](usage/tutorials#retrieving-databases-or-building-custom-databases) tutorials.
99+
nf-core/taxprofiler does not provide any databases by default, nor does it currently generate them for you. This must be performed manually by the user. See bottom of this section for more information of the expected database files, or the [building databases](usage/tutorials#retrieving-databases-or-building-custom-databases) tutorial.
100100
:::
101101

102102
The pipeline takes the paths and specific classification/profiling parameters of the tool of these databases as input via a four column comma-separated sheet.
@@ -128,7 +128,7 @@ For Bracken and KMCP, which are two step profilers, nf-core/taxprofiler has a sp
128128

129129
For Bracken, if you wish to supply any parameters to both the Kraken or Bracken steps or just the Bracken step, you **must** have a _semi-colon_ `;` list in the `db_params` column. This allows you to specify the Kraken2 parameters before and Bracken parameters after the `;`. This is particularly important if you supply a Bracken database with a non-default read length parameter. If you do not have any parameters to specify, you can leave this column empty. If you wish to provide settings to _just_ the Kraken2 step of the Bracken profiling, you can supply a normal string to the column without a semi-colon. If you wish to supply parameters to only Bracken (and keep default Kraken2 parameters), then you supply a string to the column starting with `;` and the Bracken parameters _after_.
130130

131-
Similiarly, for KMCP, if you want to supply parameters for both the first (KMCP search) and the _second step_ (KMCP profile) steps, you **must** have a _semi-colon_ separated`;` list in `db_params`. If you wish to provide parameters to just KMCP search, you do not need the `;`. If you want to supply parameters to just KMCP profile (and keep search parameters at default), then you must start the string with `;` and the KMCP profile parameters come _after_ the semi colon. If you do not wish to modify any parameters, you can leave the column empty (i.e. the `;` is not necessary).
131+
Similarly, for KMCP, if you want to supply parameters for both the first (KMCP search) and the _second step_ (KMCP profile) steps, you **must** have a _semi-colon_ separated`;` list in `db_params`. If you wish to provide parameters to just KMCP search, you do not need the `;`. If you want to supply parameters to just KMCP profile (and keep search parameters at default), then you must start the string with `;` and the KMCP profile parameters come _after_ the semi colon. If you do not wish to modify any parameters, you can leave the column empty (i.e. the `;` is not necessary).
132132

133133
This allows you to specify the KMCP search and the KMCP profile parameters, separated by `;`. If you do not have any parameters to specify, you can leave this as empty.
134134
:::
@@ -148,6 +148,10 @@ You can also specify the same database directory/file twice (ensuring unique `db
148148

149149
nf-core/taxprofiler will automatically decompress and extract any compressed archives for you.
150150

151+
:::tip
152+
Click the links in the list below for short quick-reference tutorials how to generate download 'pre-made' and/or custom databases for each tool.
153+
:::
154+
151155
The (uncompressed) database paths (`db_path`) for each tool are expected to contain:
152156

153157
- [**Bracken**:](usage/tutorials.md#bracken-custom-database) output of the combined `kraken2-build` and `bracken-build` process.
@@ -159,13 +163,10 @@ The (uncompressed) database paths (`db_path`) for each tool are expected to cont
159163
- [**MALT**](usage/tutorials.md#malt-custom-database) output of `malt-build`.
160164
- [**MetaPhlAn**:](usage/tutorials.md#metaphlan-custom-database) output of with `metaphlan --install` or downloaded from links on the [MetaPhlAn wiki](https://github.com/biobakery/MetaPhlAn/wiki/MetaPhlAn-4#customizing-the-database).
161165
- [**mOTUs**:](usage/tutorials.md#motus-custom-database) the directory `db_mOTU/` that is downloaded via `motus downloadDB`.
166+
- Note that you must use `motus downloadDB` and if installed via `conda`, will be placed in a specific `site-package` directory in the conda environment. For more details see the [mOTUs database tutorial](usage/tutorials.md#motus-custom-database).
162167
- [**ganon**:](usage/tutorials.md#ganon-custom-database) output of `ganon build` or `ganon build-custom`.
163168
- [**KMCP**:](usage/tutorials.md#kmcp-custom-database) output of `kmcp index`. Note: `kmcp index` uses the output of an upstream `kmcp compute` step.
164169

165-
:::info
166-
Click the links in the list above for short quick-reference tutorials how to generate custom databases for each tool.
167-
:::
168-
169170
## Running the pipeline
170171

171172
The typical command for running the pipeline is as follows:

docs/usage/tutorials.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ tar -xzf kaiju.tar.gz
5959
```
6060

6161
:::note
62-
You have provide these databases pre-built to the pipeline, nf-core/taxprofiler neither comes with default databases not can generate databases for you.
62+
You must provide these databases pre-built to the pipeline, nf-core/taxprofiler neither comes with default databases not can generate databases for you.
6363
For guidance on how to build databases, see the [Retrieving databases or building custom databases](#retrieving-databases-or-building-custom-databases) tutorial.
6464
:::
6565

nextflow.config

+1-1
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ manifest {
378378
description = """Taxonomic classification and profiling of shotgun short- and long-read metagenomic data"""
379379
mainScript = 'main.nf'
380380
nextflowVersion = '!>=23.04.0'
381-
version = '1.1.6'
381+
version = '1.1.7'
382382
doi = '10.1101/2023.10.20.563221'
383383

384384
}

0 commit comments

Comments
 (0)