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
Tagging: Emily_Ensembl