<html><head></head><body bgcolor="#FFFFFF"><div>Hi Matt,</div><div><br></div><div>I've just run a query for this data and got the following row back</div><div><br></div><div><pre><table class="mart_table" style="border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: black; border-top-width: 2px; border-right-width: 2px; border-bottom-width: 2px; border-left-width: 2px; "><tbody><tr class="mart_tr1" style="vertical-align: top; font-family: Courier, monospace; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-color: initial; background-color: rgb(255, 255, 255); "><td class="mart_td" style="font-size: 13px; text-align: left; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; color: black; font-family: sans-serif; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: black; padding-top: 1px; padding-right: 5px; padding-bottom: 1px; padding-left: 5px; "><a href="http://www.ensembl.org/Homo_sapiens/Gene/Summary?db=core;g=ENSG00000003249" target="_blank" style="font-size: 17px; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;"><font class="Apple-style-span" color="#000000" face="Helvetica">ENSG00000003249</font></a></td><td class="mart_td" style="font-size: 13px; text-align: left; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; color: black; font-family: sans-serif; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: black; padding-top: 1px; padding-right: 5px; padding-bottom: 1px; padding-left: 5px; "><a href="http://www.ensembl.org/Homo_sapiens/Transcript/Summary?db=core;t=ENST00000392973" target="_blank" style="font-size: 17px; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;"><font class="Apple-style-span" color="#000000" face="Helvetica">ENST00000392973</font></a></td><td class="mart_td" style="font-size: 13px; text-align: left; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; color: black; font-family: sans-serif; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: black; padding-top: 1px; padding-right: 5px; padding-bottom: 1px; padding-left: 5px; "><a href="http://www.ensembl.org/Homo_sapiens/contigview?chr=16&vc_start=90071273&vc_end=90086536" target="_blank" style="font-size: 17px; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;"><font class="Apple-style-span" color="#000000" face="Helvetica">90071273</font></a></td><td class="mart_td" style="font-size: 13px; text-align: left; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; color: black; font-family: sans-serif; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: black; padding-top: 1px; padding-right: 5px; padding-bottom: 1px; padding-left: 5px; "><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="font-size: 17px; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;">-1</span></font></td><td class="mart_td" style="font-size: 13px; text-align: left; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; color: black; font-family: sans-serif; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: black; padding-top: 1px; padding-right: 5px; padding-bottom: 1px; padding-left: 5px; "><a href="http://www.ensembl.org/Homo_sapiens/contigview?chr=16&vc_start=90071281&vc_end=90076619" target="_blank" style="font-size: 17px; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;"><font class="Apple-style-span" color="#000000" face="Helvetica">90071281</font></a></td><td class="mart_td" style="font-size: 13px; text-align: left; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-style: initial; border-color: initial; color: black; font-family: sans-serif; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-color: black; border-right-color: black; border-bottom-color: black; border-left-color: black; padding-top: 1px; padding-right: 5px; padding-bottom: 1px; padding-left: 5px; "><a href="http://www.ensembl.org/Homo_sapiens/contigview?chr=16&vc_start=90071281&vc_end=90076619" target="_blank" style="font-size: 17px; white-space: normal; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px;"><font class="Apple-style-span" color="#000000" face="Helvetica">90076619</font></a></td></tr><tr class="mart_tr1" style="vertical-align: top; font-family: Courier, monospace; border-top-style: solid; border-right-style: solid; border-bottom-style: solid; border-left-style: solid; border-top-width: 1px; border-right-width: 1px; border-bottom-width: 1px; border-left-width: 1px; border-color: initial; background-color: rgb(255, 255, 255); "></tr></tbody></table><font class="Apple-style-span" color="#333333" face="sans-serif" size="4"><span class="Apple-style-span" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469);"><br></span></font></pre><pre><font class="Apple-style-span" color="#333333" face="sans-serif" size="4"><span class="Apple-style-span" style="white-space: normal; -webkit-tap-highlight-color: rgba(26, 26, 26, 0.292969); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469);">This seems to agree with the website claiming that ENST00000392973's coordinates are </span></font><font class="Apple-style-span" color="#000000" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;"><a href="http://www.ensembl.org/Homo_sapiens/Location/View?db=core;g=ENSG00000003249;r=16:90071281-90076619;t=ENST00000392973">Chromosome 16: 90,071,281-90,076,619</a> reverse strand. There should be an option in BioMart to export your query as a URL; can you send this so we can see the query you are performing.</span></font></pre><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;">Best regards,</span></font></pre><pre><font class="Apple-style-span" face="Helvetica"><span class="Apple-style-span" style="white-space: normal;">Andy</span></font></pre><br>On 2 Apr 2012, at 18:39, "Healy, Matthew" <<a href="mailto:Matthew.Healy@bms.com">Matthew.Healy@bms.com</a>> wrote:<br><br></div><div></div><blockquote type="cite"><div><span>I am new to BIOMART and the Ensembl Perl API, so probably I am just confused.  I would be grateful for some enlightenment from those with more experience.</span><br><span></span><br><span>I am trying to map protein features into chromosomal nucleotide coordinates.</span><br><span></span><br><span>First I use the fetch_by_stable_id() method of the transcript adaptor to get a transcript object given its ENSTxxx identifier.</span><br><span>Then I use the get_all_ProteinFeatures() method of that transcript object to get all its protein features.</span><br><span>Then I use the pep2genomic method of Bio::EnsEMBL::TranscriptMapper to map these coordinates into nucleotide space.</span><br><span></span><br><span>Usually this works as I would expect it to work: if a protein domain feature spans multiple exons, then I get back multiple pairs of genomic coordinates.</span><br><span></span><br><span>When the domain overlaps the start or the end of the translation, I also get a gap object in transcript nucleotide coordinates (start and end both zero or both minus one or both length of transcript plus one), indicating some of that domain is missing from this translation.</span><br><span></span><br><span>However, I have also found an oddity in BioMart.  I downloaded a table of transcript coordinates from BIOMART.  In most cases,</span><br><span>these coordinates are exactly the same as the coordinates displayed by the genome browser.  But I have seen a few cases where</span><br><span>they are different.</span><br><span></span><br><span>For example, in the ENSEMBL genome browser right now the coordinates for ENST00000392973 are given as</span><br><span>Chromosome 16: 90,071,281-90,086,526 reverse strand.  But when I downloaded all transcripts for</span><br><span>ENSG00000003249 using <a href="http://useast.ensembl.org/biomart/martview/">http://useast.ensembl.org/biomart/martview/</a> the relevant row of output is:</span><br><span></span><br><span>Ensembl Gene ID        Ensembl Transcript ID    Ensembl Protein ID       Gene Start (bp)  Gene End (bp)    Strand   Transcript Start (bp)    Transcript End (bp)      Chromosome Name</span><br><span></span><br><span>ENSG00000003249        ENST00000392973  ENSP00000376699  90071273         90086536         -1       90071281         90076619         16</span><br><span></span><br><span>In which Transcript End (bp) is 90076619 versus 90,086,526 displayed in browser views.</span><br><span></span><br><span>This message (including any attachments) may contain confidential, proprietary, privileged and/or private information.  The information is intended to be for the use of the individual or entity designated above.  If you are not the intended recipient of this message, please notify the sender immediately, and delete the message and any attachments.  Any disclosure, reproduction, distribution or other use of this message or any attachments by an individual or entity other than the intended recipient is prohibited.</span><br><span></span><br><span>_______________________________________________</span><br><span>Dev mailing list    <a href="mailto:Dev@ensembl.org">Dev@ensembl.org</a></span><br><span>List admin (including subscribe/unsubscribe): <a href="http://lists.ensembl.org/mailman/listinfo/dev">http://lists.ensembl.org/mailman/listinfo/dev</a></span><br><span>Ensembl Blog: <a href="http://www.ensembl.info/">http://www.ensembl.info/</a></span><br></div></blockquote></body></html>