[ensembl-dev] Accessing transcript flags though the API

Simon Andrews simon.andrews at babraham.ac.uk
Fri Mar 22 15:56:01 GMT 2019


Brilliant, thanks.   I’ll dig through that and see how I get on.

From: Dev <dev-bounces at ensembl.org> On Behalf Of Emily Perry
Sent: 21 March 2019 12:55
To: Ensembl developers list <dev at ensembl.org>
Subject: Re: [ensembl-dev] Accessing transcript flags though the API

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

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<mailto: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
Ensembl Blog: 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

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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20190322/80fcaa06/attachment.html>


More information about the Dev mailing list