biomaRt is not working
2
0
Entering edit mode
@shenwei1376-14643
Last seen 6.5 years ago

Hi everyone,

The biomart package stopped working for today. I used the exact same code I run several weeks ago, but now it can not be executed. The attached is my code and error message:

> library("biomaRt")
> ensembl=useMart("ensembl", dataset="hsapiens_gene_ensembl")
Error in checkDataset(dataset = dataset, mart = mart) : 
  The given dataset:  hsapiens_gene_ensembl , is not valid.  Correct dataset names can be obtained with the listDatasets() function.

Then I tried load a different dataset, still did not work!

It will be really appreciated if anyone can help!

 

 

 

biomart • 2.9k views
ADD COMMENT
1
Entering edit mode
Mike Smith ★ 6.6k
@mike-smith
Last seen 7 hours ago
EMBL Heidelberg

Please try updating your version of biomaRt using BiocInstaller::biocLite('biomaRt'). You need at least version 2.43.1 to reliably use the new Ensembl 91

It's always helpful to include the output of sessionInfo() to show people what versions of packages & R you are using.
ADD COMMENT
0
Entering edit mode

Hi Mike,

I still am getting this error above. When I use BiocInstaller::biocLite('biomaRt') it only updates to version 2.38.0. Any ideas on how to get to version 2.43.1?

Thanks for the help.

Dave

ADD REPLY
0
Entering edit mode

Hi Mike,

I still am getting this error above. When I use BiocInstaller::biocLite('biomaRt') it only updates to version 2.38.0. Any ideas on how to get to version 2.43.1?

Thanks for the help.

Dave

ADD REPLY
0
Entering edit mode

I think that was a typo, and should have read 2.34.1, and 2.38.0 should be fine.

Note that the BiocInstaller package has been deprecated now, and you should use BiocManager. The installation instructions on https://bioconductor.org/packages/biomaRt/ reflect this.

If the problem remains please start a new post and include both the error message and the output of sessionInfo() so we have some more details about your setup.

ADD REPLY
0
Entering edit mode
@shenwei1376-14643
Last seen 6.5 years ago

The method Mike offered worked perfectly for me! Thank you Mike!

ADD COMMENT

Login before adding your answer.

Traffic: 797 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6