<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Michael,<br>
<br>
Most of this information is available via the meta table.<br>
<br>
The API will allow you to fetch this information with the following
queries:<br>
my $meta_container = $registry->get_adaptor('human', 'core',
'MetaContainer');<br>
my $api_version = $meta_container->get_schema_version();<br>
my $genebuild_version = $meta_container->get_genebuild();<br>
my $coord_system_adaptor = $registry->get_adaptor('human',
'core', 'CoordSystem');<br>
my $genome_version = $coord_system_adaptor->fetch_top_level();<br>
<br>
It is however not possible to retrieve information about previous
builds from the current database.<br>
To do this, you would need to check the genebuild_version, which
indicates when the genebuild was last updated.<br>
Based on the data, find the archive prior to that date.<br>
<br>
It is also possible to retrieve this information from the REST API.<br>
<br>
<a class="moz-txt-link-freetext" href="http://rest.ensembl.org/info/software?content-type=application/json">http://rest.ensembl.org/info/software?content-type=application/json</a><br>
will return the current Ensembl version<br>
<br>
<a class="moz-txt-link-freetext" href="http://rest.ensembl.org/info/assembly/homo_sapiens?content-type=application/json">http://rest.ensembl.org/info/assembly/homo_sapiens?content-type=application/json</a><br>
will return basic information about the current genebuild and
assembly for a given species.<br>
<br>
<br>
Regards,<br>
Magali<br>
<br>
<div class="moz-cite-prefix">On 06/10/2014 19:14, Michael Yourshaw
wrote:<br>
</div>
<blockquote
cite="mid:20141006181418.8DCAB13250F_432DBFAB@hx-mx2.ebi.ac.uk"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Is there a programatic way to get:
<div><span class="Apple-tab-span" style="white-space:pre"> </span>1.
The version number of the current Ensembl?</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>2.
The genome build for a species in the current version?</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>3.
The genome build for a species in any specified version number?</div>
<div><span class="Apple-tab-span" style="white-space:pre"> </span>4.
The most recent version for a given species/genome build?</div>
<div>Solutions with either mysql or the perl API will do.</div>
<div><br>
</div>
<div>Thanks,<br>
<div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;"><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family: 'Lucida
Grande'; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal; orphans: 2;
text-indent: 0px; text-transform: none; white-space:
normal; widows: 2; word-spacing: 0px; border-spacing:
0px; -webkit-text-decorations-in-effect: none;
-webkit-text-stroke-width: 0px;">
<div style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space;"><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal;
orphans: 2; text-indent: 0px; text-transform: none;
white-space: normal; widows: 2; word-spacing: 0px;
border-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-stroke-width: 0px;"><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family:
Helvetica; font-size: 12px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; line-height: normal;
orphans: 2; text-indent: 0px; text-transform:
none; white-space: normal; widows: 2;
word-spacing: 0px; border-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-stroke-width: 0px;"><span
class="Apple-style-span" style="border-collapse:
separate; color: rgb(0, 0, 0); font-family:
'Lucida Grande'; font-size: 10px; font-style:
normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height:
normal; orphans: 2; text-indent: 0px;
text-transform: none; white-space: normal;
widows: 2; word-spacing: 0px; border-spacing:
0px; -webkit-text-decorations-in-effect: none;
-webkit-text-stroke-width: 0px;">
<p class="MsoNormal"><font
class="Apple-style-span" face="'Devanagari
MT'" size="7"><span class="Apple-style-span"
style="font-size: 27px;"><font
class="Apple-style-span" face="'Lucida
Grande'" size="3"><span
class="Apple-style-span"
style="font-size: 12px;"><br
class="Apple-interchange-newline">
</span></font><font
class="Apple-style-span" size="5"><span
class="Apple-style-span"
style="font-size: 18px;">ॐ</span></font></span></font></p>
</span>
<p style="margin: 0px 0px 6px; font-style: normal;
font-variant: normal; font-weight: normal;
font-size: 16px; line-height: normal;
font-family: Helvetica;"><span
class="Apple-style-span" style="font-family:
'Lucida Grande'; font-size: 10px;">Michael
Yourshaw, PhD</span></p>
<div style="margin: 0px; font-style: normal;
font-variant: normal; font-weight: normal;
font-size: 10px; line-height: normal;
font-family: 'Lucida Grande';"><span
style="letter-spacing: 0px;">UCLA Geffen
School of Medicine</span></div>
<div style="margin: 0px; font-style: normal;
font-variant: normal; font-weight: normal;
font-size: 10px; line-height: normal;
font-family: 'Lucida Grande';"><span
style="letter-spacing: 0px;">Department of
Pediatrics</span></div>
<div style="margin: 0px; font-style: normal;
font-variant: normal; font-weight: normal;
font-size: 10px; line-height: normal;
font-family: 'Lucida Grande';"><span
style="letter-spacing: 0px;">695 Charles E
Young Drive S</span></div>
<div style="margin: 0px; font-style: normal;
font-variant: normal; font-weight: normal;
font-size: 10px; line-height: normal;
font-family: 'Lucida Grande';"><span
style="letter-spacing: 0px;">Gonda 5554</span></div>
<p style="margin: 0px 0px 3px; font-style: normal;
font-variant: normal; font-weight: normal;
font-size: 10px; line-height: normal;
font-family: 'Lucida Grande';"><span
style="letter-spacing: 0px;">Los Angeles CA
90095-8348 USA</span></p>
<p style="margin: 0px 0px 3px; font-style: normal;
font-variant: normal; font-weight: normal;
font-size: 10px; line-height: normal;
font-family: 'Lucida Grande'; color: rgb(0, 0,
153);"><span style="text-decoration: underline;
letter-spacing: 0px;"><a
moz-do-not-send="true"
href="mailto:myourshaw@ucla.edu">myourshaw@ucla.edu</a></span></p>
<p style="margin: 0px 0px 6px; font-style: normal;
font-variant: normal; font-weight: normal;
font-size: 10px; line-height: normal;
font-family: 'Lucida Grande';"><span
style="letter-spacing: 0px;">970.691.8299</span></p>
<p style="margin: 0px 0px 6px; font-style: normal;
font-variant: normal; font-weight: normal;
font-size: 9px; line-height: normal;
font-family: 'Lucida Grande';"><span
style="letter-spacing: 0px;">This message
(including any attachments) is intended only
for the use of the addressee(s) and may
contain information that is PRIVILEGED and
CONFIDENTIAL, and/or may constitute ATTORNEY
WORK PRODUCT. If you are not an intended
recipient, you are hereby notified that any
dissemination of this communication is
strictly prohibited. If you have received this
message in error, please</span> do not read,
copy, or forward this message or any
attachments. Please permanently<span
style="letter-spacing: 0px;"> delete all
copies of the message and any attachments and
notify the sender immediately by sending an
email to <a moz-do-not-send="true"
href="mailto:myourshaw@yourshaw.org">myourshaw@yourshaw.org</a>.
Thank you. As part of our </span>commitment<span
style="letter-spacing: 0px;"> to the
environment, this </span>message was
manufactured with 100% recycled electrons.</p>
<div><font class="Apple-style-span" size="1"><span
class="Apple-style-span" style="font-size:
9px;"><br>
</span></font></div>
</span><br class="Apple-interchange-newline">
<br class="Apple-interchange-newline">
</span></div>
</span></div>
</div>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Dev mailing list <a class="moz-txt-link-abbreviated" href="mailto:Dev@ensembl.org">Dev@ensembl.org</a>
Posting guidelines and subscribe/unsubscribe info: <a class="moz-txt-link-freetext" href="http://lists.ensembl.org/mailman/listinfo/dev">http://lists.ensembl.org/mailman/listinfo/dev</a>
Ensembl Blog: <a class="moz-txt-link-freetext" href="http://www.ensembl.info/">http://www.ensembl.info/</a>
</pre>
</blockquote>
<br>
</body>
</html>