Hi all,
This script used to work for me and now it doesn't anymore:
ensembl = useEnsembl(biomart = "ensembl", dataset = "hsapiens_gene_ensembl", mirror = "useast")
getBM( attributes = c("ensembl_gene_id", "entrezgene_id", "hgnc_symbol"),
filters = "ensembl_gene_id",
values = TPM_data$ensembl,
mart = ensembl
)
This is the error I am getting:
Error: failed to load external entity "http://www.ensembl.org/info/website/archives/index.html?redirect=no"
I tried to solve this by replacing mirrors but it didn't help.
Can anyone please help me to solve this?
Error: failed to load external entity "http://www.ensembl.org/info/website/archives/index.html?redirect=no"
I'm having the exact same issue. Could the servers be down?
I was also wondering if they are down since I'm using it quite often and had no problems with this script in the past.
Same here. Same error, same script I always use. Changing mirrors doesnt help
I've contacted Ensembl helpdesk now and described the problem. I will update if they'll answer and if the problem is actually central. Unless of course it will be solved here by someone.
Update: I have received the following answer from Ensembl helpdesk:
Best
I have encountered the same error in R version 4.0.2 with biomaRt 2.44.1. Please help!
Hi, can you please try just:
Also, which version of R and biomaRt are you using?
Hi, Thank you for the prompt reply.
useEnsembl worked for me already. But I did try the line you wrote anyway without the mirror. No error in that line but when I try getBM it doesn't work and gives the same error.
Using: R version 4.0.2 (2020-06-22) bioMart 2.44.1
I see. What is the output of:
?
Also, from where are you running this command (on a cluster)?
Hi Kevin, Well for the first question, it is just a vector containing strings with the names of the genes as "ensembl":
[1] "ENSG00000000003" "ENSG00000000419" "ENSG00000000457" "ENSG00000000460" [5] "ENSG00000000938" "ENSG00000000971"
I'm not sure what do you mean in the second question (sorry).
Best
It now worked for me. But I have to unload ‘GenomicFeatures’ package, which seems autoload biomaRt that cause version conflict. Thanks!
We experienced the same http connectivity errors with three Ensembl mirrors yesterday (20200809; useast, uswest and asia). It appears that Ensembl has corrected the error on their end, as bioMart versions <= 2.45.5 still work as expected (e.g. biomaRt_2.42.0 on CentOS 7).