Biostar Beta. Not for public use.
How to check the type of identifier from ensembl?
1
Entering edit mode
4.8 years ago
Joseph Hughes ♦ 2.7k
@Joseph Hughes166

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...

ensembl transcript protein perl api • 1.1k views
ADD COMMENTlink
5
Entering edit mode
4.8 years ago
EagleEye 6.4k
@EagleEye12958

http://www.ensembl.org/info/genome/index.html

http://www.ensembl.org/info/genome/genebuild/genome_annotation.html

ENSG - geneid ENST - transcriptid ENSP - proteinid

ADD COMMENTlink
3
Entering edit mode
4.8 years ago
@Emily_Ensembl7019

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
0
Entering edit mode
4.8 years ago
@Ensembl Helen20686

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

Login before adding your answer.

Similar Posts
Loading Similar Posts
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.3