Posts Tagged ‘perl’

HowTo: Get a list of all species in Ensembl

Friday, February 20th, 2009

From ensembl-dev mailing list: advice on how to get the current list of all ensembl species:
List lives in the compara database and can be retrieved directly with something like:

mysql -u anonymous -h ensembldb.ensembl.org -P 5306 ensembl_compara_52 \
-e “SELECT name FROM genome_db”;

Or you can do essentially the same query via the Perl API:

use Bio::EnsEMBL::Registry;
my [...]