<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p>Dear Manos,<br>
<br>
</p>
One alternative solution would be to use the Ensembl REST API - <a
moz-do-not-send="true"
href="https://rest.ensembl.org/documentation/info/overlap_id">Overlap
endpoint</a> (1 gene at a time).<br>
e.g.: <a moz-do-not-send="true"
href="https://rest.ensembl.org/overlap/id/ENSG00000182533?content-type=application/json;feature=variation">https://rest.ensembl.org/overlap/id/ENSG00000182533?content-type=application/json;feature=variation</a><br>
<p>However this might take some times for the genes overlapping a
great number of variants.<br>
</p>
<p>Otherwise, you could use directly the Ensembl Perl API.<br>
</p>
<p>I hope this helps.</p>
<p>Best regards,<br>
</p>
<pre class="moz-signature" cols="72">Laurent</pre>
<div class="moz-cite-prefix">On 08/10/2018 09:47, ea8 wrote:<br>
</div>
<blockquote type="cite"
cite="mid:7a4f1040bd4d9e8c17cede47d1db4866@sanger.ac.uk">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hi,</p>
<p><br>
</p>
<p>I am using biomaRt to query the ensembl for SNPs using 50-300
genes as filter option.</p>
<p>However this process is very time consuming and most of the
times i am getting errors. </p>
<p>I also used the command in for loop by querying one gene at the
time and then combine the list.</p>
<p>I would like to ask if there is a faster way to query the SNPs.
The only information i need is the SNP id and the Gene id.</p>
<p>Best,</p>
<p>Manos</p>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-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>
</body>
</html>