Package jebl.evolution.align
Class NeedlemanWunschLinearSpace
java.lang.Object
jebl.evolution.align.Align
jebl.evolution.align.NeedlemanWunschLinearSpace
- Version:
- $Id: NeedlemanWunschLinearSpace.java 186 2006-01-24 00:41:22Z pepster $
- Author:
- Alexei Drummond
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoAlignment(String sq1, String sq2) Performs the alignment.String[]getMatch()floatgetScore()intgetV()Get the next state in the tracebackvoidprepareAlignment(String sq1, String sq2) Initialises the matrices for the alignment.voidPrint matrix used to calculate this alignment.voidtraceback(TracebackPlotter plotter) voidtraceback(TracebackPlotter plotter, int startx, int starty, String sq1, String sq2) Methods inherited from class jebl.evolution.align.Align
doMatch, doMatch, formatScore, setGapOpen, setScores
-
Constructor Details
-
NeedlemanWunschLinearSpace
-
-
Method Details
-
doAlignment
Performs the alignment. Abstract.- Parameters:
sq1-sq2-
-
getV
public int getV() -
getMatch
-
traceback
-
traceback
-
getScore
public float getScore()- Returns:
- the score of the best alignment
-
prepareAlignment
Description copied from class:AlignInitialises the matrices for the alignment. -
printf
Print matrix used to calculate this alignment.- Parameters:
out- Output to print to.
-
next
Get the next state in the traceback
-