[Biopython] Ancestors form OBO
Pierre-Yves Chibon
pingou at pingoured.fr
Mon Jun 16 11:59:16 UTC 2014
On Sat, Jun 14, 2014 at 03:16:32PM -0400, Iddo Friedberg wrote:
> hi,
> Does anybody have a script that can extract an ancestor list of an
> ontology term (or all ontology terms) from an OBO file? Or something close
> enough so I can modify it?
A while ago I wrote https://github.com/pypingou/pygolib that can load and
operate some operation on OBO files, it supports retrieving the parents of a
given term.
The tests folder might provide you some example.
Pierre
More information about the Biopython
mailing list