This is a test version of Biostars. For the public version, visit https://www.biostars.org.
TopGO: Select significant terms under a parent GO term

After running signifance tests on my GOdata, I want to select all the significant GO terms under a parent GO term, which is not significant.

If the parent term is GO:0008152, I want to select all significant child GO terms such as GO:0006521

go gene ontology topgo r

1 answer

Method

  • install 'ONTO-PERL' module:
  • follow README file
  • download 'OBO' file -> http://www.geneontology.org/GO.downloads.ontology.shtml
  • Example: run 'ONTO-PERL' script to get all descendants of GO term 'membrane' GO:0016020

    get_descendent_terms.pl gene_ontology_ext.obo GO:0016020 | wc -l 802

    get_descendent_terms.pl gene_ontology_ext.obo GO:0016020 > GO0016020.txt

Refrences:

Parsing Obo File

Log in to answer this question.