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

Class SimpleIndexer

source code

BaseSeqRecordIndexer --+
                       |
                      SimpleIndexer

Index a file based on .id and .name attributes of a SeqRecord.

A simple-minded indexing scheme which should work for simple cases. The easiest way to use this is trhough the create_*db functions of this module.

Instance Methods [hide private]
 
__init__(self) source code
 
primary_key_name(self) source code
 
secondary_key_names(self) source code
 
get_id_dictionary(self, seq_record) source code

Inherited from BaseSeqRecordIndexer: get_builder

Method Details [hide private]

__init__(self)
(Constructor)

source code 
Overrides: BaseSeqRecordIndexer.__init__

primary_key_name(self)

source code 
Overrides: BaseSeqRecordIndexer.primary_key_name

secondary_key_names(self)

source code 
Overrides: BaseSeqRecordIndexer.secondary_key_names

get_id_dictionary(self, seq_record)

source code 
Overrides: BaseSeqRecordIndexer.get_id_dictionary