Package obitools :: Package ecopcr :: Module sequence :: Class EcoPCRDBSequenceIterator
[hide private]
[frames] | no frames]

Class EcoPCRDBSequenceIterator

source code


Build an iterator over the sequences include in a sequence database formated for ecoPCR

Instance Methods [hide private]
 
__init__(self, path, taxonomy=None)
ecoPCR data iterator constructor
source code
 
__ecoSequenceIterator(self, file) source code
 
__iter__(self) source code

Inherited from EcoPCRDBFile (private): _ecoRecordIterator

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, path, taxonomy=None)
(Constructor)

source code 

ecoPCR data iterator constructor

Parameters:
  • path (str) - path to the ecoPCR database including the database prefix name
  • taxonomy (obitools.ecopcr.taxonomy.Taxonomy) - a taxonomy can be given to the reader to decode the taxonomic data associated to the sequences. If no Taxonomy is furnish, it will be read before the sequence database files using the same path.
Overrides: object.__init__