How can I get a taxid from an assembly id (e.g., GCA_003223415.1 -> 2026742)
1
0
Entering edit mode
2.6 years ago
O.rka ▴ 740

I'm trying to figure out how to go from genbank assembly identifiers to their taxonomy identifier in NCBI.

Is there a flat file I can download somewhere? Nothing seemed to do the trick here: https://ftp.ncbi.nih.gov/pub/taxonomy/accession2taxid/

If possible, I'd rather not download an R package that does this but if that's the only option then that's fine.

metagenomics accession ncbi taxonomy database • 1.3k views
ADD COMMENT
3
Entering edit mode
2.6 years ago
vkkodali_ncbi ★ 3.8k

The assembly_summary files located in this FTP path have this information: https://ftp.ncbi.nlm.nih.gov/genomes/ASSEMBLY_REPORTS

Specifically, you should look at the file assembly_summary_genbank.txt

ADD COMMENT
0
Entering edit mode

Incredible, thank you so much.

ADD REPLY

Login before adding your answer.

Traffic: 1429 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6