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

Class cluster

source code

object --+
         |
        cluster

New cluster object

Instance Methods [hide private]
 
__init__(self)
Initialize the cluster class
source code
 
computeLen(self)
Compute the length of the cluster
source code
 
addSequence(self, clusterSequence)
Add a clusterSequence in the list
source code
 
computeMeanPourc(self)
Compute the pourcent mean of similarity
source code

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

Class Variables [hide private]
integer length
cluster length
list listseq
list of clusterSequence object compound the cluster
float meanPourcSimilarity
pourcent mean of similarity in the cluster
string ref
ID of the reference sequence
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self)
(Constructor)

source code 

Initialize the cluster class

Overrides: object.__init__

addSequence(self, clusterSequence)

source code 

Add a clusterSequence in the list

Parameters:
  • clusterSequence (clusterSequence) - a clusterSequence object