<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Fengyuan,<br>
<br>
If you are familiar with the perl API, the statistics are stored as
attributes on the slice.<br>
You can fetch it with the following code:<br>
<blockquote>my $slice_adaptor = $registry->get_adaptor('human',
'core', 'Slice');<br>
my $chrom = $slice_adaptor->fetch_by_region('chromosome', '1');<br>
my $attribs = $chrom->get_all_Attributes();<br>
<br>
foreach my $attrib (@$attribs) {<br>
print $attrib->name . ": " . $attrib->value . "\n";<br>
}<br>
</blockquote>
<br>
Hope that helps,<br>
Magali<br>
<br>
<div class="moz-cite-prefix">On 02/10/2014 14:43, Fengyuan Hu wrote:<br>
</div>
<blockquote cite="mid:542D568F.6010002@cam.ac.uk" type="cite">Dear
devs,
<br>
<br>
Is there a way to get chromosome gene summary information by a
script rather than looking at the webpage, e.g.
<a class="moz-txt-link-freetext" href="http://www.ensembl.org/Homo_sapiens/Location/Chromosome?r=1:88112229-88576529">http://www.ensembl.org/Homo_sapiens/Location/Chromosome?r=1:88112229-88576529</a><br>
<br>
Best wishes,
<br>
Fengyuan
<br>
<br>
_______________________________________________
<br>
Dev mailing list <a class="moz-txt-link-abbreviated" href="mailto:Dev@ensembl.org">Dev@ensembl.org</a>
<br>
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>
<br>
Ensembl Blog: <a class="moz-txt-link-freetext" href="http://www.ensembl.info/">http://www.ensembl.info/</a>
<br>
</blockquote>
<br>
</body>
</html>