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

Postprocessing: visualisation (Krona) #44

Closed
jfy133 opened this issue Apr 5, 2022 · 6 comments
Closed

Postprocessing: visualisation (Krona) #44

jfy133 opened this issue Apr 5, 2022 · 6 comments
Assignees
Labels
enhancement Improvement for existing functionality first-release Functionality defined in initial design

Comments

@jfy133
Copy link
Member

jfy133 commented Apr 5, 2022

Description of feature

It would also be nice to include some nice visualisation output to help more rapidly visualse profiles outside of just tables.

@jianhong already has implemented something similar in a personal equiavlent of taxprofiler (https://github.com/jianhong/shotgun), so should be pretty easy to port over.

one common tool is Krona plots s would be nice to add

@jfy133 jfy133 added the enhancement Improvement for existing functionality label Apr 5, 2022
@jfy133
Copy link
Member Author

jfy133 commented Apr 22, 2022

Supported profliers:

  • Kaiju (kaiju2krona)
  • MALT/MEGAN (?) (but possibly not accessible from commandline...? Need to check rma2info to get the CSV format thing MEGAN and then import into krona with ktImportTaxonomy) [@jfy133 ]
  • Kraken2 (requires manual cut ccommand and then ktImporttaxonomy )
  • MetaPhlan3 (script exists, but not in conda env?)
  • Centrifuge (similar to Kraken2)
  • Diamond (possibly via BLAST or daa2info) [@jfy133 ]

Unknown

  • mOTUs

@jfy133 jfy133 added this to the First Release milestone May 1, 2022
@jfy133 jfy133 added the first-release Functionality defined in initial design label Jun 2, 2022
@MillironX
Copy link
Member

In regards to Kraken2 support, you could instead use kreport2krona from https://github.com/jenniferlu717/KrakenTools. This is what I do in https://github.com/ksumngs/v-met/blob/v1.0.1/main.nf#L141-L146.

@MillironX
Copy link
Member

MillironX commented Jun 8, 2022

I suggest using https://github.com/khyox/recentrifuge, instead though. It's a souped-up version of Krona that supports

  • Centrifuge
  • LMAT
  • CLARK
  • Kraken

out of the box without adding an extra conversion step, and can take any generic CSV/TSV as input, too. It includes confidence scores along with the taxonomy classifications. The downside is that it requires a NCBI taxonomy database to run. It could be downloaded on-the-fly using the included retaxdump, or could be a required input from the user.

@jfy133
Copy link
Member Author

jfy133 commented Jun 9, 2022

Thanks @MillironX ! Tha'ts really useful to know. I guess we will need to make another module for KrakenTools, but as it has Kraken/Bracken already that would be really helpful already.

For Recentrifuge, that does look interesting however, that any input appears to require some form of 'score' (from a quick skim of the docs) it might be a problem for may of the profilers.

That said, It could still be useful to have in the future as an alternative to Krona. Could you please make a separate issue requesting this tool? I would then assign it for a future release (rather than the first version, as I would need more time to investigate this).

@jfy133
Copy link
Member Author

jfy133 commented Jun 9, 2022

nf-core/modules#1741

@jfy133
Copy link
Member Author

jfy133 commented Sep 13, 2022

Due to difficulties in converting some of the output files to Krona output (as they are not directly supported), and generally an opinion of 'it's pretty, but I don't really use it', We will leave the current status of Krona as it is with only some of the tools implemented. If anyone else wants to revisit this in the future, we would be happy to see this expanded - but for now this is sufficient.

@jfy133 jfy133 closed this as completed Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement for existing functionality first-release Functionality defined in initial design
Projects
None yet
Development

No branches or pull requests

3 participants