Package jebl.evolution.align
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 jebl.evolution.align.Align
doMatch, doMatch, formatScore, setGapOpen, setScores
-
Constructor Details
-
SmithWatermanLinearSpaceAffine
-
-
Method Details
-
doAlignment
- Parameters:
sq1-sq2-
-
doAlignment
Performs the alignment. Abstract.- Parameters:
sequence1-sequence2-
-
getScore
public float getScore()- Returns:
- the score of the best alignment
-
getMatch
-
traceback
-
prepareAlignment
Description copied from class:AlignInitialises the matrices for the alignment.- Parameters:
sq1-sq2-
-
printf
Print matrix used to calculate this alignment.- Parameters:
out- Output to print to.
-
setGapExtend
public void setGapExtend(float e) -
next
Get the next state in the traceback
-