Package Bio :: Package SearchIO :: Module FastaIO :: Class FastaM10Indexer
[hide private]
[frames] | no frames]

Class FastaM10Indexer

source code

               object --+        
                        |        
File._IndexedSeqFileProxy --+    
                            |    
         _index.SearchIndexer --+
                                |
                               FastaM10Indexer

Indexer class for Bill Pearson's FASTA suite's -m 10 output.

Nested Classes [hide private]
  _parser
Parser for Bill Pearson's FASTA suite's -m 10 output.
Instance Methods [hide private]
 
__init__(self, filename)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__iter__(self)
Returns (identifier, offset, length in bytes) tuples.
source code
 
get_raw(self, offset)
Returns bytes string (if implemented for this file format).
source code

Inherited from _index.SearchIndexer: get

Inherited from _index.SearchIndexer (private): _parse

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)
(Constructor)

source code 
x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__iter__(self)

source code 
Returns (identifier, offset, length in bytes) tuples.

The length can be zero where it is not implemented or not
possible for a particular file format.

Overrides: File._IndexedSeqFileProxy.__iter__
(inherited documentation)

get_raw(self, offset)

source code 
Returns bytes string (if implemented for this file format).

Overrides: File._IndexedSeqFileProxy.get_raw
(inherited documentation)