Package jebl.evolution.align
Class MaximalSegmentPair
- java.lang.Object
-
- jebl.evolution.align.Align
-
- jebl.evolution.align.MaximalSegmentPair
-
public class MaximalSegmentPair extends Align
- Version:
- $Id: MaximalSegmentPair.java 185 2006-01-23 23:03:18Z rambaut $
- Author:
- Alexei Drummond
-
-
Constructor Summary
Constructors Constructor Description MaximalSegmentPair(Scores sub)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddoAlignment(java.lang.String sq1, java.lang.String sq2)Performs the alignment.floatgetScore()Tracebacknext(Traceback tb)Get the next state in the tracebackvoidprepareAlignment(java.lang.String sq1, java.lang.String sq2)Initialises the matrices for the alignment.voidprintf(Output out)Print matrix used to calculate this alignment.-
Methods inherited from class jebl.evolution.align.Align
doMatch, doMatch, formatScore, getMatch, setGapOpen, setScores, traceback
-
-
-
-
Constructor Detail
-
MaximalSegmentPair
public MaximalSegmentPair(Scores sub)
-
-
Method Detail
-
doAlignment
public final void doAlignment(java.lang.String sq1, java.lang.String sq2)Performs the alignment. Abstract.- Parameters:
sq1-sq2-
-
next
public final Traceback next(Traceback tb)
Get the next state in the traceback- Parameters:
tb- current Traceback- Returns:
- next Traceback
-
prepareAlignment
public void prepareAlignment(java.lang.String sq1, java.lang.String sq2)Description copied from class:AlignInitialises the matrices for the alignment.- Specified by:
prepareAlignmentin classAlign
-
getScore
public float getScore()
-
-