Question: external_gene_id attribute removed from new biomaRt version
0
gravatar for Didi
5 months ago by
Didi10
Didi10 wrote:

Hi,

I couldn't find the externalgeneid attribute in the new biomaRt version.

Is there any reason for that?

Thanks a lot.

D.

biomart ensembl ensemblplants • 144 views
ADD COMMENTlink written 5 months ago by Didi10

Which dataset are you trying to use? I'm not sure there has ever been an external_gene_id attribute for hsapiens (at least not looking at archives back for the past few years), do you mean to use external_gene_name?

You can search for the available attributes with searchAttributes() e.g to look in the October 2016 archive you can use

library(biomaRt)
mart <- useEnsembl('ensembl', dataset = 'hsapiens_gene_ensembl', version = "86")
searchAttributes(mart = mart, "external_gene")
ADD REPLYlink written 5 months ago by Mike Smith4.0k

Hi,

I'm using :

library("biomaRt")

ensembl <- useMart(biomart = "plants_mart",
                   dataset = "athaliana_eg_gene",
                   host = "plants.ensembl.org")

features <- getBM(attributes = c("ensembl_gene_id",
                                 "external_gene_id"),
                  filters = c("ensembl_gene_id"), 
                  values=c('AT1G01480', 
                           'AT1G01580'), 
                  mart = ensembl)
ADD REPLYlink modified 5 months ago • written 5 months ago by Didi10

Ensembl Plants has fewer archives than the main Ensembl site (I only know of http://oct2017-plants.ensembl.org ) so it's harder to check if things have changed, but I don't see an external_gene_id there either:

> ensembl <- useMart(biomart = "plants_mart",
+                    dataset = "athaliana_eg_gene",
+                    host = "http://oct2017-plants.ensembl.org")
> searchAttributes(ensembl, "external")
                    name         description         page
15    external_gene_name           Gene name feature_page
16  external_gene_source Source of gene name feature_page
142   external_gene_name           Gene name    structure
143 external_gene_source Source of gene name    structure
173   external_gene_name           Gene name     homologs
174 external_gene_source Source of gene name     homologs
904   external_gene_name           Gene name          snp
905 external_gene_source Source of gene name          snp
950   external_gene_name           Gene name    sequences
951 external_gene_source Source of gene name    sequences

Of course it could have been introduced and then removed again between then and now.

I should have mentioned in my previous post that this isn't something that the biomaRt package has introduced. It only allows you to access whatever data and options Ensembl make available. If something has changed or been removed then you probably want to contact the Ensembl helpdesk for an explanation (http://ensemblgenomes.org/info/about/contact ).

ADD REPLYlink written 5 months ago by Mike Smith4.0k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 16.09
Traffic: 142 users visited in the last hour