no.uio.labmed.biojava.alignment
Class ScoreMatrix

java.lang.Object
  |
  +--no.uio.labmed.biojava.alignment.ScoreMatrix
All Implemented Interfaces:
ScoreInterface

public class ScoreMatrix
extends java.lang.Object
implements ScoreInterface

Alignment scoring matrix, eg. Blosum62.


Field Summary
static float NULL_SCORE
           
 
Constructor Summary
ScoreMatrix(java.lang.Object[] alphabet, float[][] _scores)
           
 
Method Summary
static ScoreMatrix getBlosum62()
           
 float getScore(java.lang.Object x, java.lang.Object y)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NULL_SCORE

public static float NULL_SCORE
Constructor Detail

ScoreMatrix

public ScoreMatrix(java.lang.Object[] alphabet,
                   float[][] _scores)
Method Detail

getScore

public float getScore(java.lang.Object x,
                      java.lang.Object y)
Specified by:
getScore in interface ScoreInterface

getBlosum62

public static ScoreMatrix getBlosum62()