associate GO ID with GO description
1
2
Entering edit mode
5.4 years ago
lessismore ★ 1.4k

Dear all,

i have an enrichment output file displaying only GO IDs. Two questions: (1) Can somebody suggest a way to associate GO category description to the GO ID? Where do i retrieve such a file? Sorry for the maybe trivial question. (2) Would be also very much appreciated a tip on a tool to perform gene set enrichment analysis (also with custom GO annotation files) and manipulate/visualize the output with R.

Thanks in advance

GO annotation • 4.4k views
ADD COMMENT
2
Entering edit mode
5.4 years ago

1- You can retrieve the whole ontology from the download page of Gene Ontology web site or use the Bioconductor package GO.db, e.g.

library(GO.db)
GO <- as.list(GOTERM)
my.term <- GO$`GO:0000001`@Term

2- Has already been asked here somewhere. I just don't have time now to locate it for you.

ADD COMMENT
0
Entering edit mode

there are certain cases (see example below) when a GO:id term isn't recognized but most certainly exists, I assume it's a matter of the GO.db package not coverting secondary terms, how would you deal with these situations?

library(GO.db)
GO <- as.list(GOTERM)
my.term <- GO$`GO:0004872`@Term

Error in GO$`GO:0004872`@Term : 
  no applicable method for `@` applied to an object of class "NULL"

enter image description here

ADD REPLY
0
Entering edit mode

Secondary IDs (which come from the merging of terms) should be preserved. An ID not found usually indicates a version mismatch, i.e. the GO.db package uses a different GO database version than the one used for annotations.

ADD REPLY

Login before adding your answer.

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