Class SmithWatermanLinearSpaceAffine
java.lang.Object
jebl.evolution.align.Align
jebl.evolution.align.SmithWatermanLinearSpaceAffine
- Version:
- $Id: SmithWatermanLinearSpaceAffine.java 384 2006-07-17 07:17:39Z pepster $
- Author:
- Alexei Drummond
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoAlignment(String sequence1, String sequence2) Performs the alignment.voiddoAlignment(String sq1, String sq2, ProgressListener progress) String[]getMatch()floatgetScore()Get the next state in the tracebackvoidprepareAlignment(String sq1, String sq2) Initialises the matrices for the alignment.voidPrint matrix used to calculate this alignment.voidsetGapExtend(float e) voidtraceback(TracebackPlotter plotter) Methods inherited from class Align
doMatch, doMatch, formatScore, setGapOpen, setScores
-
Constructor Details
-
SmithWatermanLinearSpaceAffine
-
-
Method Details
-
doAlignment
- Parameters:
sq1-sq2-
-
doAlignment
-
getScore
public float getScore()- Returns:
- the score of the best alignment
-
getMatch
-
traceback
-
prepareAlignment
-
printf
Print matrix used to calculate this alignment.- Parameters:
out- Output to print to.
-
setGapExtend
public void setGapExtend(float e) -
next
-