Package obitools :: Package obo :: Package go :: Module parser
[hide private]
[frames] | no frames]

Module parser

source code

Classes [hide private]
  GOEntry
An entry of a GeneOntology .obo file.
  GOTerm
A stanza named 'Term'.
Functions [hide private]
 
GOEntryFactory(stanza)
Dispatcher of stanza.
source code
 
GOEntryIterator(file) source code
Variables [hide private]
  __package__ = 'obitools.obo.go'

Imports: OBOTerm, OBOEntry, stanzaIterator, debug


Function Details [hide private]

GOEntryFactory(stanza)

source code 

Dispatcher of stanza.

Parameters:
  • stanza (text) - a stanza composed of several lines.
Returns:
an OBOTerm | OBOEntry instance

Note: The dispatcher treats differently the stanza which are OBO "Term" and the others.