Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Kraken module does not preserve taxonomy #1766

Closed
schorlton opened this issue Sep 16, 2022 · 1 comment · Fixed by #1979
Closed

Kraken module does not preserve taxonomy #1766

schorlton opened this issue Sep 16, 2022 · 1 comment · Fixed by #1979
Labels
bug: module Bug in a MultiQC module

Comments

@schorlton
Copy link
Contributor

Description of bug

If there are no species in a kraken report, MultiQC pushes the genus-level classifications down to the species-level. I assume it also does this for the other ranks (eg. if there are no species or genuses detected) but haven't tested.

Here's an example where we did not classify beyond Escherichia. Note that the plot selected is the species-level plot, when it should be the genus-level plot. Proper behaviour should probably be to classify all reads as "Other" to be consistent with the other behaviour of this module?
image

Running MultiQC 1.13 from bioconda with:

gunzip genus_only.kreport.gz
multiqc genus_only.kreport

File that triggers the error

genus_only.kreport.gz

MultiQC Error log

No response

@ewels ewels added the bug: module Bug in a MultiQC module label Sep 16, 2022
@vladsavelyev
Copy link
Member

Thanks a lot for reporting the issue! I implemented a fix for this in #1979

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug: module Bug in a MultiQC module
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants