How do I extract taxonomy/organism from NCBI .gb files?
1
0
Entering edit mode
5.4 years ago
Ming ▴ 110

Hello there,

I am trying to extract the taxonomy section from the NCBI .gbk file. How do I go about doing so?

Thanks!

NCBI • 2.3k views
ADD COMMENT
0
Entering edit mode

For individual files that information is in the flat file. Are you trying to do this in a large scale? If so, what have you tried so far? Read up on Entrez Direct here: https://www.ncbi.nlm.nih.gov/books/NBK179288/ and you should be able to get started. Good luck!

ADD REPLY
0
Entering edit mode
5.4 years ago
Sej Modha 5.3k

You can use this script that would parse any GenBank file with extension .gbff or .gbk in a specific location or present working directory and prints the sequence accession number and taxonomy ID.

ADD COMMENT
0
Entering edit mode

Thank you! Will try it!

ADD REPLY

Login before adding your answer.

Traffic: 1848 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