Module DIGEST_functions :: Class sequence
[hide private]
[frames] | no frames]

Class sequence

source code

object --+
         |
        sequence

New sequence object

Instance Methods [hide private]
 
__init__(self, header, nucl)
Initialize the sequence class
source code

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

Class Variables [hide private]
string ID
sequence ID
integer length
sequence length
string seq
nucleotide sequence
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, header, nucl)
(Constructor)

source code 

Initialize the sequence class

Parameters:
  • header (string) - sequence header
  • nucl (string) - nucleotide sequence
Overrides: object.__init__