Biostar Beta. Not for public use.
Question: How to check the type of identifier from ensembl?
1
Entering edit mode

When creating a homology adaptor, the homology members that are returned can either be protein ids or transcript ids. Is there a way of determining what type of ID is returned?

In more general terms, if I have an ensembl ID, is there a way to check whether this ID is for a transcript, gene, protein, genetree etc...

ADD COMMENTlink 3.8 years ago Joseph Hughes ♦ 2.7k • updated 3.8 years ago Emily_Ensembl 18k
5
Entering edit mode
ADD COMMENTlink 3.8 years ago EagleEye 6.4k
3
Entering edit mode

EagleEye is right, but if you're wanting to code it, you could use the lookup endpoint on the REST API. If you're using the Perl API, the registry has a get_species_and_object_type method.

ADD COMMENTlink 3.8 years ago Emily_Ensembl 18k
0
Entering edit mode

Here is the direct link to our documentation page which lists the different feature prefixes: http://www.ensembl.org/info/genome/stable_ids/index.html

ADD COMMENTlink 3.8 years ago Ensembl Helen • 60

Login before adding your answer.

Similar Posts
Loading Similar Posts
Powered by the version 2.0