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

Class SffRandomAccess

source code

               object --+        
                        |        
File._IndexedSeqFileProxy --+    
                            |    
          SeqFileRandomAccess --+
                                |
                               SffRandomAccess
Known Subclasses:

Random access to a Standard Flowgram Format (SFF) file.
Instance Methods [hide private]
 
__init__(self, filename, format, alphabet)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
__iter__(self)
Load any index block in the file, or build it the slow way (PRIVATE).
source code
 
get(self, offset)
Returns SeqRecord.
source code
 
get_raw(self, offset)
Returns bytes string (if implemented for this file format).
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

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

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

Overrides: object.__init__
(inherited documentation)

__iter__(self)

source code 
Load any index block in the file, or build it the slow way (PRIVATE).
Overrides: File._IndexedSeqFileProxy.__iter__

get(self, offset)

source code 
Returns SeqRecord.
Overrides: File._IndexedSeqFileProxy.get
(inherited documentation)

get_raw(self, offset)

source code 
Returns bytes string (if implemented for this file format).
Overrides: File._IndexedSeqFileProxy.get_raw
(inherited documentation)