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

GTDB to NCBI? #41

Open
stefanielager opened this issue Jan 20, 2023 · 3 comments
Open

GTDB to NCBI? #41

stefanielager opened this issue Jan 20, 2023 · 3 comments

Comments

@stefanielager
Copy link

I'm using the GTDB with kraken2 and get a .txt & .report file out, but I don't understand how to convert the GTDB ID of the .txt file to NCBI ID? There are several tools to convert between GTDB & NCBI, but none of them seem to work with just GTDB ID:s?

@nick-youngblut
Copy link
Contributor

I created a mapping tool for that purpose: https://github.com/nick-youngblut/gtdb_to_taxdump (see ncbi-gtdb_map.py). There are others (e.g., https://gtdb.ecogenomic.org/tools).
At the most basic level, the GTDB metadata maps the GTDB taxonomy to the NCBI taxonomy for each reference genome in the GTDB database.

@stefanielager
Copy link
Author

Sorry, but I don't understand at all how neither gtdb_to_taxdump or the other tools can handle the a list of GTDB ID:s from a kraken2 .txt file? I wouldn't really need to convert to NCBI taxonomy if I could use a GTDB taxonomy database for Krona to display the kraken2 results?

@nick-youngblut
Copy link
Contributor

ncbi-gtdb_map.py maps GTDB taxonomy to NCBI taxonomy, if you want NCBI taxonomic names from an existing set of GTDB taxonomic names.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants