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

Class _FastqSeqFileDict

source code

     object --+        
              |        
           dict --+    
                  |    
_IndexedSeqFileDict --+
                      |
                     _FastqSeqFileDict
Known Subclasses:

Subclass for easy cases (PRIVATE).

With FASTQ the records all start with a "@" line, but so too can some quality lines. Note this will cope with line-wrapped FASTQ files.

Instance Methods [hide private]
new empty dictionary

__init__(self, filename, alphabet, key_function, fastq_format)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
get_raw(self, key)
Similar to 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, fastq_format)
(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 

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

Overrides: _IndexedSeqFileDict.get_raw