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...
3 answers
http://www.ensembl.org/info/genome/index.html
http://www.ensembl.org/info/genome/genebuild/genome_annotation.html
ENSG - geneid ENST - transcriptid ENSP - proteinid
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.
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
Log in to answer this question.