Class Align
java.lang.Object
jebl.evolution.align.Align
- Direct Known Subclasses:
MaximalSegmentPair, NeedlemanWunsch, NeedlemanWunschAffine, NeedlemanWunschLinearSpace, NeedlemanWunschLinearSpaceAffine, NonOverlapMultipleLocalAffine, OldNeedlemanWunschAffine, OverlapAlign, SmithWaterman, SmithWatermanLinearSpace, SmithWatermanLinearSpaceAffine
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract voiddoAlignment(String sq1, String sq2) Performs the alignment, abstract.voidPrint the score and the alignmentvoidPrint the score, the F matrix, and the alignmentformatScore(float val) String[]getMatch()abstract floatgetScore()Get the next state in the tracebackabstract voidprepareAlignment(String seq1, String seq2) Initialises the matrices for the alignment.abstract voidPrint the matrix (matrices) used to compute the alignmentvoidsetGapOpen(float d) voidvoidtraceback(TracebackPlotter plotter)
-
Constructor Details
-
Align
-
-
Method Details
-
doAlignment
-
prepareAlignment
-
setGapOpen
public void setGapOpen(float d) -
setScores
-
getMatch
- Returns:
- two-element array containing an alignment with maximal score
-
formatScore
- Parameters:
val-- Returns:
- float value of string val
-
doMatch
-
traceback
-
doMatch
-
next
-
getScore
public abstract float getScore()- Returns:
- the score of the best alignment
-
printf
Print the matrix (matrices) used to compute the alignment- Parameters:
out- output to print to
-