[ensembl-dev] Location of APPRIS and TSL in public mysql database for each Ensembl transcript

Thibaut Hourlier thibaut at ebi.ac.uk
Mon May 8 10:48:04 BST 2017


Hi Alex,
You can find the data in the transcript_attrib table. You will need to join the attrib_type table too:
homo_sapiens_core_88_38 > SELECT t.stable_id, at.name, ta.value FROM transcript t, transcript_attrib ta, attrib_type at WHERE t.transcript_id = ta.transcript_id AND ta.attrib_type_id = at.attrib_type_id LIMIT 3;
+-----------------+--------------------------+-------------------+
| stable_id       | name                     | value             |
+-----------------+--------------------------+-------------------+
| ENST00000617849 | GENCODE basic annotation | GENCODE basic     |
| ENST00000617849 | Transcript Support Level | tsl1              |
| ENST00000466115 | Synonym                  | DAQB-124C11.3-007 |
+-----------------+--------------------------+—————————+

We would recommend you to use the Perl API to access this information if you need to do it often and in a safe way.
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>

Thanks
Thibaut

> On 8 May 2017, at 06:48, Alexander Drew <a.drew at garvan.org.au> wrote:
> 
> Hello, 
> 
> I am trying to retrieve the flags (specifically APPRIS and Transcript support level) for Ensembl transcript Ids from the public mySQL database. I am having trouble locating this information in the database schema. I have found the reference for this in the various databases for the different genome builds, but cannot locate the actual data.
> 
> I am trying to grab the same data that is populated in the transcript table 'flags' column when viewing a gene in the Ensembl website (eg.http://www.ensembl.org/Homo_sapiens/Gene/Summary?db=core;g=ENSG00000206195;r=22:15784959-15829984). <http://www.ensembl.org/Homo_sapiens/Gene/Summary?db=core;g=ENSG00000206195;r=22:15784959-15829984).>
> 
> can you help me find this data in the mySQL database?
> 
> Thank you,
> 
> Alex Drew.
> NOTICE
> Please consider the environment before printing this email. This message and any attachments are intended for the addressee named and may contain legally privileged/confidential/copyright information. If you are not the intended recipient, you should not read, use, disclose, copy or distribute this communication. If you have received this message in error please notify us at once by return email and then delete both messages. We accept no liability for the distribution of viruses or similar in electronic communications. This notice should not be removed.
> _______________________________________________
> 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/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20170508/40c610ae/attachment.html>


More information about the Dev mailing list