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
First of all, thank you very much for developing the KrakenTools scripts, they are very helpful.
My colleague @IanVermes and I noticed that the script kreport2mpa.py, when generating the MPA-style report, was adding "k" instead of "d" to represent domains/superkingdoms. Please see the example below:
Expected output, generated by running kraken2 [...] --report path/to/output --use-mpa-style:
We also noticed that kreport2mpa.py introduces underscores in the taxon names, which can be seen in the actual output demonstrated above. This could become an issue if the user wanted to map the taxon names from the MPA-style output back to the ones in the Kraken2 report file, as the Kraken2 report file does not have underscores in the taxon names - please see the example below:
Kraken2 report, generated by running kraken2 [...] --report path/to/output --report-minimizer-data:
We therefore edited the code so that the user can decide whether they would like the spaces to be replaced with underscores or not, adding arguments to remove (--remove-spaces) or keep (--keep-spaces) the spaces in each taxon's name.
Hello,
First of all, thank you very much for developing the KrakenTools scripts, they are very helpful.
My colleague @IanVermes and I noticed that the script
kreport2mpa.py
, when generating the MPA-style report, was adding "k" instead of "d" to represent domains/superkingdoms. Please see the example below:Expected output, generated by running
kraken2 [...] --report path/to/output --use-mpa-style
:Actual output, generated by running
kreport2mpa.py
:In our fork of your repository, we made a small amendment to fix that issue.
We also noticed that
kreport2mpa.py
introduces underscores in the taxon names, which can be seen in the actual output demonstrated above. This could become an issue if the user wanted to map the taxon names from the MPA-style output back to the ones in the Kraken2 report file, as the Kraken2 report file does not have underscores in the taxon names - please see the example below:Kraken2 report, generated by running
kraken2 [...] --report path/to/output --report-minimizer-data
:We therefore edited the code so that the user can decide whether they would like the spaces to be replaced with underscores or not, adding arguments to remove (
--remove-spaces
) or keep (--keep-spaces
) the spaces in each taxon's name.Kind regards,
Jacqueline and @IanVermes
The text was updated successfully, but these errors were encountered: