Package Bio :: Package Mindy :: Module SimpleSeqRecord :: Class FunctionIndexer
[show private | hide private]
[frames | no frames]

Class FunctionIndexer

BaseSeqRecordIndexer --+
                       |
                      FunctionIndexer


Indexer to index based on values returned by a function.

This class is passed a function which will return id, name and alias information from a SeqRecord object. It needs to return either one item, which is an id from the title, or three items which are (in order), the id, a list of names, and a list of aliases.

This indexer allows indexing to be completely flexible based on passed functions.
Method Summary
  __init__(self, index_function)
  get_id_dictionary(self, seq_record)
  primary_key_name(self)
  secondary_key_names(self)
    Inherited from BaseSeqRecordIndexer
  get_builder(self)

Generated by Epydoc 2.1 on Thu Aug 10 20:01:04 2006 http://epydoc.sf.net