Package Bio :: Package SeqIO :: Module _index :: Class TabDict
[hide private]
[frames] | no frames]

Class TabDict

source code

     object --+        
              |        
           dict --+    
                  |    
_IndexedSeqFileDict --+
                      |
                     TabDict

Indexed dictionary like access to a simple tabbed file.

Instance Methods [hide private]
new empty dictionary

__init__(self, filename, alphabet, key_function)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_raw(self, key)
Like the get method, but returns the record as a raw string.
source code

Inherited from _IndexedSeqFileDict: __getitem__, __repr__, __setitem__, __str__, clear, copy, fromkeys, get, items, iteritems, pop, popitem, update, values

Inherited from _IndexedSeqFileDict (private): _record_key

Inherited from dict: __cmp__, __contains__, __delitem__, __eq__, __ge__, __getattribute__, __gt__, __iter__, __le__, __len__, __lt__, __ne__, __new__, __sizeof__, has_key, iterkeys, itervalues, keys, setdefault

Inherited from object: __delattr__, __format__, __reduce__, __reduce_ex__, __setattr__, __subclasshook__

Class Variables [hide private]

Inherited from dict: __hash__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, filename, alphabet, key_function)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Returns:
new empty dictionary

Overrides: object.__init__
(inherited documentation)

get_raw(self, key)

source code 

Like the get method, but returns the record as a raw string.

Overrides: _IndexedSeqFileDict.get_raw