Hi everyone,
I am getting the following error message when I try to use biomaRt:
> ensembl=useMart("ensembl")
Request to BioMart web service failed.
The BioMart web service you're accessing may be down.
Check the following URL and see if this website is available:
http://www.ensembl.org:80/biomart/martservice?type=registry&requestid=biomaRt
Error in if (!grepl(x = registry, pattern = "^\n*<MartRegistry>")) { :
argument is of length zero
Of course I tried the website and it seems to up. I had been using biomaRt continuously until the end of last week when it started behaving this way and won't come back on.
Is the service down, and is it temporary? I am trying to get "description" and ENSEMBL IDs based on "external gene name" for a table of genes that I am working with. Would anyone recommend an alternative to biomaRt for these purposes?
*Edit
After restarting and reinstalling packages several times, I am getting some functions such as useMart and listFilters to work, which I believe retrieve information from ensembl.org, so I must be accessing the server at this point. but when I get to getBM, which is the most important function to me, I run into problems. It still says:
> xxx <- getBM(attributes=c('phenotype_description','ensembl_gene_id'),
+ filters = 'ensembl_gene_id',
+ values = 'ENSG00000221701',
+ mart = ensembl, verbose=T,
+ uniqueRows=F)
<?xml version='1.0' encoding='UTF-8'?><!DOCTYPE Query><Query virtualSchemaName = 'default' uniqueRows = '0' count = '0' datasetConfigVersion = '0.6' header='1' requestid= 'biomaRt'> <Dataset name = 'hsapiens_gene_ensembl'><Attribute name = 'phenotype_description'/><Attribute name = 'ensembl_gene_id'/><Filter name = 'ensembl_gene_id' value = 'ENSG00000221701' /></Dataset></Query>
Error in value[[3L]](cond) :
Request to BioMart web service failed. Verify if you are still connected to the internet. Alternatively the BioMart web service is temporarily down.
Help would still be appreciated!
For me it works fine. R version 3.4.2 (2017-09-28), biomaRt_2.32.1, BioC 3.5.
R and BioC up-to-date?
hm. I'm running "R version 3.4.1 (2017-06-30)" which I updated only a few weeks ago (but well before biomaRt stopped working) and the biomaRt version is the same as yours. I tried doing all this on another server with the same R 3.4.1, biomaRt and BioC versions and actually got it working, but i'd like to use it on my workstation because I have more packages I need to use. so mystery still unsolved for me.
This could be a proxy settings issue. Check the biomaRt users guide for possible solutions.