<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Please see attached screenshots.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I find that while fungi_ascomycota1_collection_core_45_98_1 associates genes with the seq_region_id corresponding to the "contig", the dna genomic sequences are associated with the seq_region_id corresponding to the "chromosomes".</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Am I making a mistake?  <br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
If not, how do I find the correspondences between contigs and chromosomes?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Best,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Yossi<br>
</div>
<div id="appendonsend"></div>
<font size="2"><span style="font-size:11pt;">
<div class="PlainText"><br>
</div>
<div class="PlainText"><b>please see the last column of each of the two screenshots below, for genes and dna associated seq_region_ids, respectively  -</b> 
<br>
</div>
<div class="PlainText"><br>
</div>
<div class="PlainText"><img size="191789" contenttype="image/png" style="max-width: 100%; user-select: none;" unselectable="on" tabindex="-1" data-outlook-trace="F:1|T:1" src="cid:a9bc14d5-c5c4-48c0-8020-4c45a34ee7ae"><br>
</div>
<div class="PlainText"><br>
</div>
<div class="PlainText"><br>
</div>
<div class="PlainText"><img size="163876" contenttype="image/png" style="max-width: 100%; user-select: none;" unselectable="on" tabindex="-1" data-outlook-trace="F:1|T:1" src="cid:d6dda68f-1ef7-484f-b83a-7274e34efb63"><br>
</div>
<div class="PlainText"><br>
________________________________________<br>
From: Dev <dev-bounces@ensembl.org> on behalf of dev-request@ensembl.org <dev-request@ensembl.org><br>
Sent: Tuesday, 28 January 2020 14:00<br>
To: dev@ensembl.org<br>
Subject: Dev Digest, Vol 11, Issue 9<br>
<br>
Send Dev mailing list submissions to<br>
        dev@ensembl.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://mail.ensembl.org/mailman/listinfo/dev_ensembl.org">http://mail.ensembl.org/mailman/listinfo/dev_ensembl.org</a><br>
or, via email, send a message with subject or body 'help' to<br>
        dev-request@ensembl.org<br>
<br>
You can reach the person managing the list at<br>
        dev-owner@ensembl.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. G.O. (Joseph Steinberger)<br>
   2. Re: G.O. (Emily Perry)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 27 Jan 2020 14:20:08 +0000<br>
From: Joseph Steinberger <joseph.steinberger@weizmann.ac.il><br>
To: "dev@ensembl.org" <dev@ensembl.org><br>
Subject: [ensembl-dev] G.O.<br>
Message-ID:<br>
        <DB8P191MB06674E3269802C63DF217875B50B0@DB8P191MB0667.EURP191.PROD.OUTLOOK.COM><br>
<br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hello All,<br>
<br>
What query will get me all the genes of a given GO annotation from a given species from the Ensembl MySQL database?<br>
<br>
Sincerely,<br>
Joseph Steinberger<br>
<br>
PhD student, laboratory of Naama Barkai, Weizmann Institute<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20200127/d90282ed/attachment-0001.html">http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20200127/d90282ed/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 27 Jan 2020 17:46:23 +0000<br>
From: Emily Perry <emily@ebi.ac.uk><br>
To: Ensembl developers list <dev@ensembl.org><br>
Subject: Re: [ensembl-dev] G.O.<br>
Message-ID: <9385A72F-8DA8-4A6A-B0C7-B9D21CF9B692@ebi.ac.uk><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Joseph<br>
<br>
The GO terms are stored in the xref table. They are linked to the transcripts via the object_xref table. The schema is here:<br>
<a href="http://www.ensembl.org/info/docs/api/core/core_schema.html">http://www.ensembl.org/info/docs/api/core/core_schema.html</a> <<a href="http://www.ensembl.org/info/docs/api/core/core_schema.html">http://www.ensembl.org/info/docs/api/core/core_schema.html</a>><br>
<br>
It is not our job to write your MySQL queries for you, but we can point you to the appropriate tables if it is not obvious. I agree that in the case of GO terms, it is not obvious which tables contain this information, but it is up to you to craft a suitable
 query.<br>
<br>
Just like many of the other tasks you have asked about, MySQL is not a great way to do this. Any MySQL query you do will not be ontology aware - only the most specific GO terms will be linked to the transcripts in the tables. This means that a query for all
 associations for a GO term with daughter terms will not return associations with the daughter terms, which would be an incomplete dataset. BioMart and our APIs are written to be ontology aware, which means that a similar query with those would return the associations
 with the daughter terms too ? we recommend using one of those for a query like this.<br>
<br>
All the best<br>
<br>
Emily<br>
<br>
> On 27 Jan 2020, at 14:20, Joseph Steinberger <joseph.steinberger@weizmann.ac.il> wrote:<br>
><br>
> Hello All,<br>
><br>
> What query will get me all the genes of a given GO annotation from a given species from the Ensembl MySQL database?<br>
><br>
> Sincerely,<br>
> Joseph Steinberger<br>
><br>
> PhD student, laboratory of Naama Barkai, Weizmann Institute<br>
> _______________________________________________<br>
> Dev mailing list    Dev@ensembl.org <<a href="mailto:Dev@ensembl.org">mailto:Dev@ensembl.org</a>><br>
> Posting guidelines and subscribe/unsubscribe info: <a href="https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org">
https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org</a> <<a href="https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org">https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org</a>><br>
> Ensembl Blog: <a href="http://www.ensembl.info/">http://www.ensembl.info/</a> <<a href="http://www.ensembl.info/">http://www.ensembl.info/</a>><br>
--<br>
Dr Emily Perry (Pritchard)<br>
Ensembl Outreach Project Leader<br>
(she/her)<br>
<br>
European Bioinformatics Institute (EMBL-EBI)<br>
European Molecular Biology Laboratory<br>
Wellcome Genome Campus<br>
Hinxton<br>
Cambridge<br>
CB10 1SD<br>
UK<br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20200127/d6bb787a/attachment-0001.html">http://mail.ensembl.org/pipermail/dev_ensembl.org/attachments/20200127/d6bb787a/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Dev mailing list    Dev@ensembl.org<br>
Posting guidelines and subscribe/unsubscribe info: <a href="https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org">
https://lists.ensembl.org/mailman/listinfo/dev_ensembl.org</a><br>
Ensembl Blog: <a href="http://www.ensembl.info/">http://www.ensembl.info/</a><br>
<br>
<br>
------------------------------<br>
<br>
End of Dev Digest, Vol 11, Issue 9<br>
**********************************<br>
</div>
</span></font></div>
</body>
</html>