thanks! had also to change the R version in order to work
Hi,
running this
ensembl = useMart(biomart ="ENSEMBL_MART_ENSEMBL",dataset="hsapiens_gene_ensembl", host="may2017.archive.ensembl.org")
or this:
ensembl = useMart(biomart ="ENSEMBL_MART_ENSEMBL",dataset="hsapiens_gene_ensembl", host="http://dec2017.archive.ensembl.org")
used to work in the past. but now it gives the error:
Request to BioMart web service failed. Verify if you are still connected to the internet. Alternatively the BioMart web service is temporarily down. Check http://www.biomart.org and verify if this website is available. Error: XML content does not seem to be XML:
The site is up, the internet connection also. In the site it says this:
If you are a user of biomaRt (a part of the Bioconductor library) change the host from 'www.biomart.org' to 'www.ensembl.org'
But in the commands I used to run there's no 'www.biomart.org' to replace...
Do you know what is the correct command now?
I also tried:
ensembl = useMart(biomart="ENSEMBL_MART_ENSEMBL",dataset="hsapiens_gene_ensembl", host="www.ensembl.org")
and didn't work
2 answers
As Emily has said, parts of Ensembl are down right now. This includes the archive sites and the BioMart interface at the main site. You can check this just by visiting in a browser (http://www.ensembl.org/biomart/martview?redirect=no) - at the moment you get an error page.
However you can use one of the mirror sites e.g. http://uswest.ensembl.org/biomart/martview?redirect=no
To do this using the biomaRt package you would do something like:
ensembl = useMart(biomart="ENSEMBL_MART_ENSEMBL",
dataset="hsapiens_gene_ensembl",
host="uswest.ensembl.org",
ensemblRedirect = FALSE)
I would also suggest updating your version of biomaRt (and maybe also R). The error message about visiting www.biomart.org is misleading and is no longer produced in more recent versions of biomaRt. You now get a more appropriate URL to try, that would have taken you to the error page at Ensembl.
Hi, now it's not working again. With
useast.ensembl.org
uswest.ensembl.org
and even if I run:
listMarts()
get the error:
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
Since Friday I've been trying. It doesn't seem the link they ask to follow is working, but the link suggested by Mike Smith: http://www.ensembl.org/biomart/martview?redirect=no is woking.
Besides, when using
ensemblRedirect = F
get the aditional warning:
In addition: Warning message:
In useMart(biomart = "ENSEMBL_MART_ENSEMBL", dataset = "hsapiens_gene_ensembl", :
The argument "ensemblRedirect" has been deprecated and will be removed in the next biomaRt release.
Should I just wait some more days or is there another way around?
R version is 3.5.1
Since I often land on this answer (by the will of Google), whenever I look through my colleague's older scripts, I'll pin the following newer answer to this answer: https://support.bioconductor.org/p/134617/
The archive sites are currently down due to disk problems. We're currently working on getting them fixed.
ok, could you then please tell how is the command to access the current version instead of the archives?
Try useast.ensembl.org or uswest.ensembl.org. It is possible that though @Emily referred to archive sites being down, even the current BioMarts could be down as well.
Archives are now back.
Log in to answer this question.
Hi, now it's not working again. With
and even if I run:
get the error:
Since Friday I've been trying. It doesn't seem the link they ask to follow is working, but the link suggested by Mike Smith: http://www.ensembl.org/biomart/martview?redirect=no is woking.
Besides, when using
ensemblRedirect = FI get the aditional warning:Should I just wait some more days or is there another way around?
R version is 3.5.1
redirects to
and generates this. So seems to be ok.
Yes, from the links seems to be working and when I was one other computer (mac) it doesn't give an error, but when I use this computer (windows) it doesn't work. Could be some problem with package version? I tried to install same package version on both without success.
If you're using the same package version then there shouldn't be any difference between which operating system you're using. However the code has change quite a bit across the last ver versions, so I would make sure you are using the latest version (2.38.0) and R 3.5.