Package obitools :: Package ecopcr :: Module annotation :: Class EcoPCRDBAnnotationWriter
[hide private]
[frames] | no frames]

Class EcoPCRDBAnnotationWriter

source code


Class used to write Annotation description in EcoPCRDB format.

EcoPCRDBAnnotationWriter is oftenly called through the EcoPCRDBSequenceWriter class


See Also: ecopcr.sequence.EcoPCRDBSequenceWriter

Instance Methods [hide private]
 
__init__(self, dbname, id, fileidx=1, type='CDS', definition=None)
class constructor
source code
 
_ecoFtTypePacker(self, type) source code
 
_ecoAnnotationPacker(self, feature, seqidx) source code
 
put(self, sequence, seqidx=None) source code
 
__del__(self) 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, dbname, id, fileidx=1, type='CDS', definition=None)
(Constructor)

source code 

class constructor

Parameters:
  • dbname (str) - name of ecoPCR database
  • id (str) - name of the qualifier used as feature id
  • fileidx (int)
  • type (list or tuple)
  • definition (str)
Overrides: object.__init__