[Bioperl-l] NCBI Genbank ID to TaxonID via Bioperl?

Rob Edwards rob at salmonella.org
Wed Jun 22 02:46:23 EDT 2005

Possibly the easiest way to do this is using the eutils facilities.


This url will retrieve the tax id for gi 1234

will return:


On Jun 21, 2005, at 6:27 AM, Michael Spitzer wrote:

> Dear All,
> For a list of approx. 20 GI numbers (NCBI GenBank IDs) I need the  
> taxon ID as given in the corresponding full GenBank record. Which is  
> the easiest way to accomplish this task automatically? Does Bioperl  
> help? Can one access this function via the NCBI website (possibly,  
> using Bioperl)? Or, does one have to download the whole GenBank  
> database?
> All I could find out is that there is a function 'gi2taxid' in the  
> NCBI toolkit, but I have no experience with using the toolkit, and I  
> hope that there is an easier 'Bioperl' way to solve the problem -  
> could BIO::DB::NCBIHelper be the way to go? Any help or hints are  
> greatly appreciated!
> Kind regards,
> Michael Spitzer
> _______________________________________________
> Bioperl-l mailing list
> Bioperl-l at portal.open-bio.org
> http://portal.open-bio.org/mailman/listinfo/bioperl-l

More information about the Bioperl-l mailing list