Package obitools :: Package distances :: Module observed :: Class PairewiseGapRemoval
[hide private]
[frames] | no frames]

Class PairewiseGapRemoval

source code


Observed divergeance matrix from an alignment. Gap are removed from the alignemt on a pairewise sequence base

Instance Methods [hide private]
 
evaluateDist(self, x, y)
Compute the observed divergeance from two sequences of an aligment.
source code

Inherited from DistanceMatrix: __getitem__, __init__

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]

evaluateDist(self, x, y)

source code 

Compute the observed divergeance from two sequences of an aligment.

Parameters:
  • x (int) - number of the fisrt sequence in the aligment
  • y (int) - umber of the second sequence in the aligment
Overrides: DistanceMatrix.evaluateDist

Attention: For performance purpose this method should be directly used. use instead the __getitem__ method from DistanceMatrix.

See Also: __getitem__