Error in biomaRt query - "biomaRt expected a character string of length 1.
1
0
Entering edit mode
@benjaminbarnhart19-21297
Last seen 4.8 years ago

I'm submitting a large query to Biomart, using the R package. The batch query was processing, made it about 38% of the way before throwing an error, which included "Please report this on the support site at http://support.bioconductor.org"

the full error message is here: "Error in getBM(attributes = c("entrezgeneaccession"), filters = c("externalgene_name"), : 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"

My code here: entz <- df$Gene.Symbol #a large vector of gene symbols zdEntz <- getBM(attributes = c('entrezgeneaccession'), filters = c('externalgenename'), values = list(entz, TRUE), mart = variation)

I'm running R version 3.6.0, with biomart_2.40.1

biomart R • 524 views
ADD COMMENT
0
Entering edit mode

See this previous answer: https://support.bioconductor.org/p/121331/

Here is a copy paste from the reply from Mike Smith on that post:

It might be that the main Ensembl site is being a bit slow today. You can try querying one of the mirror sites e.g.

  mart <- useEnsembl(biomart = "ensembl", 
               dataset = "hsapiens_gene_ensembl", 
               mirror = "useast") Values for the mirror argument are: useast, uswest, asia.
  
ADD REPLY
1
Entering edit mode
Puks ▴ 10
@puks-12113
Last seen 3.8 years ago
Estonia

See this previous answer: https://support.bioconductor.org/p/121331/

Here is a copy paste from the reply from Mike Smith on that post:

It might be that the main Ensembl site is being a bit slow today. You can try querying one of the mirror sites e.g.

  mart <- useEnsembl(biomart = "ensembl", 
               dataset = "hsapiens_gene_ensembl", 
               mirror = "useast") Values for the mirror argument are: useast, uswest, asia.
  
ADD COMMENT

Login before adding your answer.

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