Is there a PyCogent (or more generally, Python) equivalent of get_species_and_object_type() from the Ensembl Perl API? I would like to fetch sequences for Ensembl IDs where I don't know what species a given ID comes from. As far as I can see, querying with cogent.db.ensembl requires creating a Genome object for a specific organism, and the Compara instances are also accessed as compara.SpeciesName. Is there a species-agnostic way of performing queries?
I tried using the REST API but it only supports the current release of ensembl whereas the IDs I'm dealing with are from a past release.
The REST API is great but only supports the current version of Ensembl -- I should've said I'm working with IDs from 2011 (now edited my question to reflect that).