Question: Annotation dbi error GO term
gravatar for Stane
2.3 years ago by
Stane40 wrote:

Hi I am getting this error with the following code, the go key 

AnnotationDbi::select(, keys='GO:1990281',
                        columns = c("SYMBOL"),
                        keytype = "GOALL")


error message : 

None of the keys entered are valid keys for 'GOALL'

my guess is this particular go term only contains proteins and no genes,  the error message seems misleading ?  



go annotationdbi • 601 views
ADD COMMENTlink modified 2.3 years ago by James W. MacDonald52k • written 2.3 years ago by Stane40
Answer: Annotation dbi error GO term
gravatar for James W. MacDonald
2.3 years ago by
United States
James W. MacDonald52k wrote:

As far as I can tell, an efflux pump complex is something that exists in prokaryotes. You are searching the human annotation package for gene symbols based on a GO term that applies to prokaryotes, so by definition that GO term should not be a valid key (e.g., under the hood you are doing an inner join between the Entrez Gene IDs for human to the respective GO terms. Since that GO term doesn't have a corresponding human Entrez Gene ID, the term is invisible to the package).

But it does exist in the GO.db package:

> select(GO.db, "GO:1990281", "DEFINITION", "GOID")
'select()' returned 1:1 mapping between keys and columns
1 GO:1990281
1 A protein complex that is capable of efflux transmembrane transporter activity.
ADD COMMENTlink written 2.3 years ago by James W. MacDonald52k
Please log in to add an answer.


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