[BioC] Using wildcard with BiomaRt:getBM

steffen at stat.Berkeley.EDU steffen at stat.Berkeley.EDU
Wed Nov 26 05:56:31 CET 2008

Hi Daren,

Wildcards don't work.  I would query for all genes and then subselect in R.
This is not too heavy on the server as it is made for these type of batch
queries (you could store the result so you don't have to do it again for a

ensembl = useMart("ensembl", dataset="hsapiens_gene_ensembl")
ids = getBM(attributes=c("hgnc_symbol","chromosome_name",
"start_position"), mart=ensembl)

should do it.


> Hi,
> I need to obtain information via biomaRt for all members of interleukin.
> Trying the following command failed, apparently, getBM doesn't support
> regexp. I could download all the gene names and filter locally, but this
> will stress the hosting server and prolong communication time.
> getBM(attributes=c("hgnc_symbol, "start_position"), filter="hgnc_symbol",
> values="IL.*", mart=ensembl)
> _______________________________________________
> Bioconductor mailing list
> Bioconductor at stat.math.ethz.ch
> https://stat.ethz.ch/mailman/listinfo/bioconductor
> Search the archives:
> http://news.gmane.org/gmane.science.biology.informatics.conductor

More information about the Bioconductor mailing list