goatools.godag_small module

Used to operate on a sub-graph of a larger GO DAG.

class goatools.godag_small.GODagSmall[source]

Bases: object

Contains a sub-graph of the original obo from geneontology.org.

num_goterms()[source]

Return the number of GO terms in this GO DAG subgraph.

get_edges()[source]

Get the directed edges from GO term to GO term.