Determine GO hierarchy in a list of GO terms
2
0
Entering edit mode
6.9 years ago

Hi! I have a list of GO terms. I would like to know if in my list there are any child or ancestor terms of other GO terms in the list. Is there a tool to do this? Where can I alternatively download such a schema? Please let me know. Thanks, cheers.

Gene Ontology • 8.4k views
ADD COMMENT
0
Entering edit mode

Your title should ideally be more descriptive. For example, "Determine GO hierarchy in a list of GO terms" is a lot more informative on what you're looking to do than just "GO (Gene Ontology)"

ADD REPLY
0
Entering edit mode

Thanks for your suggestion! I have now changed the title

ADD REPLY
4
Entering edit mode
6.9 years ago

http://www.geneontology.org/faq/how-can-i-calculate-level-go-term

GO terms do not occupy strict fixed levels in the hierarchy. Because GO is structured as a graph, terms would appear at different 'levels' if different paths were followed through the graph. This is especially true if one mixes the different relations used to connect terms. Thus it is more proper to ask: "what is the maximum depth of such and such a term" (or minimum, average, etc.).

We do not pre-generate reports showing this. If you genuinely want this information you can perform SQL queries on our database to get it. See this example.

ADD COMMENT
4
Entering edit mode
6.9 years ago
biofalconch ★ 1.3k

Hi pal, there is a library call GO.db that can help you with this. For example, if you would like to find the children terms of the go term GO:0006412, you could use as.list(GOBPCHILDREN['GO:0006412']).

ADD COMMENT
0
Entering edit mode

Thanks! Is that a library in R?

ADD REPLY

Login before adding your answer.

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