Package Bio :: Package Ndb
[hide private]
[frames] | no frames]

Package Ndb

source code

This module provides code to work with html files from NDB. http://ndbserver.rutgers.edu/NDB/structure-finder/ndb/index.html

Classes: Record Holds NDB sequence data. NdbParser Parses NDB sequence data into a Record object.

The algorithm is based on a state machine because the record has multiple sections and the handling of tags varies depending on the section. Citations have their own state machine.

Classes [hide private]
  Record
  NdbParser
Parses Ndb sequence data into a Record object.
Functions [hide private]
 
_parse_constants(text) source code
Variables [hide private]
  handle = open('PR0004.htm')
  undo_handle = File.UndoHandle(handle)
  ndb_parser = NdbParser()
  record = ndb_parser.parse(handle)
  xml_support = 1