- Type Parameters:
S
- each element of the alignmentProfile
is of type SC
- each element of anAlignedSequence
is aCompound
of type C
- All Known Implementing Classes:
AbstractMatrixAligner
,AbstractPairwiseSequenceAligner
,AbstractProfileProfileAligner
,AnchoredPairwiseSequenceAligner
,GuanUberbacher
,NeedlemanWunsch
,SimpleProfileProfileAligner
,SmithWaterman
Defines an
Aligner
which builds a score matrix during computation.- Author:
- Mark Chapman
-
Method Summary
Modifier and TypeMethodDescriptionint[][][]
Returns the entire score matrix built during alignment.Returns a depiction of the score matrix as aString
.Methods inherited from interface org.biojava.nbio.alignment.template.Aligner
getComputationTime, getProfile
Methods inherited from interface org.biojava.nbio.alignment.template.Scorer
getDistance, getDistance, getMaxScore, getMinScore, getScore, getSimilarity, getSimilarity
-
Method Details
-
getScoreMatrix
int[][][] getScoreMatrix()Returns the entire score matrix built during alignment. The first dimension has the length of the first (query) sequence + 1; the second has the length of the second (target) sequence + 1; the third has length equal to the number of scores stored per pairing of an element from eachSequence
.- Returns:
- the score matrix
-
getScoreMatrixAsString
String getScoreMatrixAsString()Returns a depiction of the score matrix as aString
. This may include additional description such as labels for each dimension: element from query sequence, element from target sequence, and meaning of each score.- Returns:
- the score matrix as a character sequence
-