taxprofiler
taxprofiler copied to clipboard
Allow multiple bracken profiles with different `-l` levels from the same kraken2 report
Description of feature
Bracken allows user to get report on certain taxonomy level from a single kraken2 report via bracken -l LEVEL
option. Introducing this feature into TaxProfiler can be useful.
TODO
- New parameter
bracken_level
: a string of bracken supported level(s) separated by comma, eg:'G,S,S1'
- Params checking in
lib/WorkflowTaxprofiler.groovy
- Params checking in
- Implant feature needs:
-
subworkflows/local/profiling.nf
:ch_input_for_bracken
tocombine()
level info then add tometa.bracken_level
-
subworkflows/local/standardisation_profiles.nf
:ch_profiles_for_bracken
togroupTuple()
on differentmeta.bracken_level
-
- Change params using and publishDir accordingly in
conf/modules.config
It seems it has to be on hold until these two got fixed:
- https://github.com/nf-core/modules/issues/4246
- https://github.com/taxprofiler/taxpasta/issues/73