getBM biomart ensembl Error report
1
0
Entering edit mode
nina.hahn ▴ 10
@ninahahn-23355
Last seen 8 months ago
Germany

Dear all,

I am not very familiar with R and get error massages like this:

"Batch submitting query [==================================>------------------] 67% eta: 3sError in getBM(filters = "ensemblgeneid", attributes = c("ensemblgeneid", : The query to the BioMart webservice returned an invalid result: biomaRt expected a character string of length 1. Please report this on the support site at http://support.bioconductor.org"

They are all the same but differ in progress [%] and time [s]. A few days before everything was working but today I get this error but did not changed the script, the raw data or updated anything.

What might be a problem?

Best, Nina

biomaRt ensembl • 1.4k views
ADD COMMENT
1
Entering edit mode
Mike Smith ★ 6.5k
@mike-smith
Last seen 1 hour ago
EMBL Heidelberg

If you didn't change anything and the code worked previously then it's almost certainly a problem with the Ensembl server. You can try using a mirror site e.g.

You could try querying one of the mirror sites, to see if it's more responsive.

ensembl <- useEnsembl(biomart = "ensembl", 
                   dataset = "hsapiens_gene_ensembl", 
                   mirror = "useast")

Values for the mirror argument are: useast, uswest, asia.

When you get the "batch submitting" message biomaRt should also cache blocks of interim results. It won't show them too you, but if you run the exact query again the progress bar will always get further than it did last time until it reaches the end. This was added so that you should always be able to eventually complete long queries, even if the server is being unstable. If that's not what it's doing in this case please let me know.

ADD COMMENT
0
Entering edit mode

That answer is great and even comprehensive for me as a beginner.

It solved the problem and I will be able to cope with that problem in the future.

Thanks a lot!

ADD REPLY

Login before adding your answer.

Traffic: 845 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