[Biojava-dev] ScoringMatrix interface/implementations

Rahul Karnik rahul at genebrew.com
Thu Oct 7 00:44:34 EDT 2004


As a first step in the building of a framework for sequence alignment, I
have attached:

- a ScoringMatrix interface
- two simple implementations
- a matrix reader
- a junit test case and a test file

Please let me know if and how I should integrate this ScoringMatrix
design with the existing WeightMatrix used with the HMM code. Of course,
any other comments and suggestions are welcome too.

Thanks,
Rahul
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ScoringMatrix.java
Type: text/x-java
Size: 1162 bytes
Desc: not available
Url : http://portal.open-bio.org/pipermail/biojava-dev/attachments/20041007/5b72fca2/ScoringMatrix.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SimpleScoringMatrix.java
Type: text/x-java
Size: 2436 bytes
Desc: not available
Url : http://portal.open-bio.org/pipermail/biojava-dev/attachments/20041007/5b72fca2/SimpleScoringMatrix.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SymmetricScoringMatrix.java
Type: text/x-java
Size: 1273 bytes
Desc: not available
Url : http://portal.open-bio.org/pipermail/biojava-dev/attachments/20041007/5b72fca2/SymmetricScoringMatrix.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ScoringMatrixReader.java
Type: text/x-java
Size: 3486 bytes
Desc: not available
Url : http://portal.open-bio.org/pipermail/biojava-dev/attachments/20041007/5b72fca2/ScoringMatrixReader.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ScoringMatrixReaderTest.java
Type: text/x-java
Size: 2840 bytes
Desc: not available
Url : http://portal.open-bio.org/pipermail/biojava-dev/attachments/20041007/5b72fca2/ScoringMatrixReaderTest.bin
-------------- next part --------------
#  Matrix made by matblas from blosum50.iij
#  BLOSUM Clustered Scoring Matrix in 1/3 Bit Units
#  Blocks Database = /data/blocks_5.0/blocks.dat
#  Cluster Percentage: >= 50
#  Entropy =   0.4808, Expected =  -0.3573
   A  R  N  D  C  Q  E  G  H  I  L  K  M  F  P  S  T  W  Y  V  B  Z  X
A  5 -2 -1 -2 -1 -1 -1  0 -2 -1 -2 -1 -1 -3 -1  1  0 -3 -2  0 -2 -1 -1
R -2  7 -1 -2 -4  1  0 -3  0 -4 -3  3 -2 -3 -3 -1 -1 -3 -1 -3 -1  0 -1
N -1 -1  7  2 -2  0  0  0  1 -3 -4  0 -2 -4 -2  1  0 -4 -2 -3  4  0 -1
D -2 -2  2  8 -4  0  2 -1 -1 -4 -4 -1 -4 -5 -1  0 -1 -5 -3 -4  5  1 -1
C -1 -4 -2 -4 13 -3 -3 -3 -3 -2 -2 -3 -2 -2 -4 -1 -1 -5 -3 -1 -3 -3 -2
Q -1  1  0  0 -3  7  2 -2  1 -3 -2  2  0 -4 -1  0 -1 -1 -1 -3  0  4 -1
E -1  0  0  2 -3  2  6 -3  0 -4 -3  1 -2 -3 -1 -1 -1 -3 -2 -3  1  5 -1
G  0 -3  0 -1 -3 -2 -3  8 -2 -4 -4 -2 -3 -4 -2  0 -2 -3 -3 -4 -1 -2 -2
H -2  0  1 -1 -3  1  0 -2 10 -4 -3  0 -1 -1 -2 -1 -2 -3  2 -4  0  0 -1
I -1 -4 -3 -4 -2 -3 -4 -4 -4  5  2 -3  2  0 -3 -3 -1 -3 -1  4 -4 -3 -1
L -2 -3 -4 -4 -2 -2 -3 -4 -3  2  5 -3  3  1 -4 -3 -1 -2 -1  1 -4 -3 -1
K -1  3  0 -1 -3  2  1 -2  0 -3 -3  6 -2 -4 -1  0 -1 -3 -2 -3  0  1 -1
M -1 -2 -2 -4 -2  0 -2 -3 -1  2  3 -2  7  0 -3 -2 -1 -1  0  1 -3 -1 -1
F -3 -3 -4 -5 -2 -4 -3 -4 -1  0  1 -4  0  8 -4 -3 -2  1  4 -1 -4 -4 -2
P -1 -3 -2 -1 -4 -1 -1 -2 -2 -3 -4 -1 -3 -4 10 -1 -1 -4 -3 -3 -2 -1 -2
S  1 -1  1  0 -1  0 -1  0 -1 -3 -3  0 -2 -3 -1  5  2 -4 -2 -2  0  0 -1
T  0 -1  0 -1 -1 -1 -1 -2 -2 -1 -1 -1 -1 -2 -1  2  5 -3 -2  0  0 -1  0
W -3 -3 -4 -5 -5 -1 -3 -3 -3 -3 -2 -3 -1  1 -4 -4 -3 15  2 -3 -5 -2 -3
Y -2 -1 -2 -3 -3 -1 -2 -3  2 -1 -1 -2  0  4 -3 -2 -2  2  8 -1 -3 -2 -1
V  0 -3 -3 -4 -1 -3 -3 -4 -4  4  1 -3  1 -1 -3 -2  0 -3 -1  5 -4 -3 -1
B -2 -1  4  5 -3  0  1 -1  0 -4 -4  0 -3 -4 -2  0  0 -5 -3 -4  5  2 -1
Z -1  0  0  1 -3  4  5 -2  0 -3 -3  1 -1 -4 -1  0 -1 -2 -2 -3  2  5 -1
X -1 -1 -1 -1 -2 -1 -1 -2 -1 -1 -1 -1 -1 -2 -2 -1  0 -3 -1 -1 -1 -1 -1



More information about the biojava-dev mailing list