public class UncorrectedModel extends Object implements DistanceMatrixModel
distance = mismatches / aligned_lengthIf both sequences contain a gap at a given position, it is not counted towards the alignment length.
Constructor and Description |
---|
UncorrectedModel() |
Modifier and Type | Method and Description |
---|---|
float |
calculateDistance(BioSequence inSeq1,
BioSequence inSeq2)
Calculates the distance score for a pair of sequences.
|
String |
name()
Returns the model name as required by the DistanceMatrixModel interface.
|
public UncorrectedModel()
public String name()
name
in interface DistanceMatrixModel
public float calculateDistance(BioSequence inSeq1, BioSequence inSeq2)
calculateDistance
in interface DistanceMatrixModel