[ensembl-dev] Accessing transcript flags though the API
Emily Perry
emily at ebi.ac.uk
Thu Mar 21 12:54:41 GMT 2019
Hi Simon
TSL and APPRIS are both stored as attributes on the transcript. You can get them with get_all_Attributes:
http://www.ensembl.org/info/docs/Doxygen/core-api/classBio_1_1EnsEMBL_1_1Transcript.html#a59f9ff2079a28ba80bc8b62a5e636327 <http://www.ensembl.org/info/docs/Doxygen/core-api/classBio_1_1EnsEMBL_1_1Transcript.html#a59f9ff2079a28ba80bc8b62a5e636327>
This will give you a list of hashes where you can extract the information.
All the best
Emily
> On 21 Mar 2019, at 11:46, Simon Andrews <simon.andrews at babraham.ac.uk> wrote:
>
> I see that on the Ensembl website the transcript table has some really useful flags on it, things such as Transcript Support Level and APRIS category. I’d really like to add these to the annotations I’m building. Is there an easy way to access these through the Perl API?
>
> Thanks
>
> Simon.
>
> The Babraham Institute, Babraham Research Campus, Cambridge CB22 3AT Registered Charity No. 1053902.
> The information transmitted in this email is directed only to the addressee. If you received this in error, please contact the sender and delete this email from your system. The contents of this e-mail are the views of the sender and do not necessarily represent the views of the Babraham Institute. Full conditions at: www.babraham.ac.uk <http://www.babraham.ac.uk/terms>_______________________________________________
> Dev mailing list Dev at ensembl.org <mailto:Dev at ensembl.org>
> Posting guidelines and subscribe/unsubscribe info: http://lists.ensembl.org/mailman/listinfo/dev <http://lists.ensembl.org/mailman/listinfo/dev>
> Ensembl Blog: http://www.ensembl.info/ <http://www.ensembl.info/>
--
Dr Emily Perry (Pritchard)
Ensembl Outreach Project Leader
European Bioinformatics Institute (EMBL-EBI)
European Molecular Biology Laboratory
Wellcome Trust Genome Campus
Hinxton
Cambridge
CB10 1SD
UK
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20190321/3dac80ba/attachment.html>
More information about the Dev
mailing list