8.8 years ago by
France/Nantes/Institut du Thorax - INSERM UMR1087
Here is a simple-and-stupid OBO parser , it could be used to do what you want:
https://gist.github.com/2762967
test:
$ curl -s "http://www.geneontology.org/ontology/obo_format_1_2/gene_ontology_ext.obo" | java Biostar45366 | tail -20
11 GO:0048910 afferent axon development in anterior lateral line nerve [GO:0048893]
11 GO:0070979 protein K11-linked ubiquitination [GO:0000209]
11 GO:0070936 protein K48-linked ubiquitination [GO:0000209]
11 GO:0017116 single-stranded DNA-dependent ATP-dependent DNA helicase activity [GO:0043142, GO:0004003]
11 GO:0000167 activation of MAPKKK activity involved in osmosensory signaling pathway [GO:0000185]
11 GO:0000197 activation of MAPKKK activity involved in cell wall biogenesis [GO:0000185]
11 GO:0031449 regulation of slow-twitch skeletal muscle fiber contraction [GO:0014724]
11 GO:0031446 regulation of fast-twitch skeletal muscle fiber contraction [GO:0014724]
11 GO:0035752 lysosomal lumen pH elevation [GO:0035751, GO:0051454]
12 GO:0008635 activation of cysteine-type endopeptidase activity involved in apoptotic process by cytochrome c [GO:0006919]
12 GO:0001310 extrachromosomal rDNA circle accumulation involved in replicative cell aging [GO:0001307]
12 GO:0070244 negative regulation of thymocyte apoptotic process [GO:0070233, GO:0070243]
12 GO:0070245 positive regulation of thymocyte apoptotic process [GO:0070243, GO:0070234]
12 GO:0090390 phagosome acidification involved in apoptotic cell clearance [GO:0090383]
GO:0071948 activation-induced B cell apoptotic process [GO:0001783]
GO:0001783 B cell apoptotic process [GO:0070227]
GO:0002516 B cell deletion [GO:0001783]
GO:0002901 mature B cell apoptotic process [GO:0001783]
GO:0002454 peripheral B cell deletion [GO:0002516]
GO:0002342 central B cell deletion [GO:0002516]