This is a test version of Biostars. For the public version, visit https://www.biostars.org.
Annotation with Ensembl REST API

I would like to annotate a set of variants in terms of their protein consequence inside a piece of R code. I have tried to model my code after the example from ensembl REST API, but encounter the following error:

Error in curl::curl_fetch_memory(url, handle = handle) :
Could not resolve host: grch37.rest.ensembl.org
Calls: scan_genes ... request_fetch -> request_fetch.write_memory -> <Anonymous>
Execution halted

Of note, I submit the variants in batches to avoid time limits (not sure if this is necessary). And this error only happens after about 70 batches of 15 variants have been successfully annotated.

Any insight would be much appreciated!

Best, Noushin

ensembl r api

1 answer

I'm afraid we're having problems with our REST server at the moment, particularly grch37.rest.ensembl. We're hoping that something we will do today will fix it, but I can't promise anything. I'm sorry you've had a problem.

Thanks so much for the prompt follow up, Emily_Ensembl . I will try again within a couple of days and see how it looks.

Log in to answer this question.