You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CHANGELOG.md
+14
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,20 @@
3
3
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/)
4
4
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
5
5
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)
Copy file name to clipboardexpand all lines: assets/multiqc_config.yml
+2-2
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
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>
3
3
analysis pipeline. For information about how to interpret these results, please see the
Copy file name to clipboardexpand all lines: assets/schema_database.json
-18
Original file line number
Diff line number
Diff line change
@@ -36,24 +36,6 @@
36
36
"db_params": {
37
37
"type": "string",
38
38
"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
-
],
57
39
"errorMessage": "Invalid database db_params entry. No quotes allowed.",
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.
97
97
98
98
:::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.
100
100
:::
101
101
102
102
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
128
128
129
129
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_.
130
130
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).
132
132
133
133
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.
134
134
:::
@@ -148,6 +148,10 @@ You can also specify the same database directory/file twice (ensuring unique `db
148
148
149
149
nf-core/taxprofiler will automatically decompress and extract any compressed archives for you.
150
150
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
+
151
155
The (uncompressed) database paths (`db_path`) for each tool are expected to contain:
152
156
153
157
-[**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
159
163
-[**MALT**](usage/tutorials.md#malt-custom-database) output of `malt-build`.
160
164
-[**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).
161
165
-[**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).
162
167
-[**ganon**:](usage/tutorials.md#ganon-custom-database) output of `ganon build` or `ganon build-custom`.
163
168
-[**KMCP**:](usage/tutorials.md#kmcp-custom-database) output of `kmcp index`. Note: `kmcp index` uses the output of an upstream `kmcp compute` step.
164
169
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
-
169
170
## Running the pipeline
170
171
171
172
The typical command for running the pipeline is as follows:
Copy file name to clipboardexpand all lines: docs/usage/tutorials.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -59,7 +59,7 @@ tar -xzf kaiju.tar.gz
59
59
```
60
60
61
61
:::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.
63
63
For guidance on how to build databases, see the [Retrieving databases or building custom databases](#retrieving-databases-or-building-custom-databases) tutorial.
0 commit comments