|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jebl.evolution.align.Align jebl.evolution.align.NonOverlapMultipleLocalAffine
public class NonOverlapMultipleLocalAffine
Performs recursive local alignments. each time splitting the longer of the two sequences into two subsequences either side of the local alignment and aligning those. Uses SmithWatermanLinearSpaceAffine. Stores all of the local alignments and their scores. Threshold T is the minimum score that an alignment must be for inclusion.
Constructor Summary | |
---|---|
NonOverlapMultipleLocalAffine(Scores sub,
float d,
float e,
int T)
|
Method Summary | |
---|---|
void |
doAlignment(String sq1,
String sq2)
Performs the alignment. |
String[][] |
getAlignments()
The indices for these correspond to those for the getScoreMatrix() matrix. |
String[] |
getMatch()
|
String |
getMatchScores(int width)
|
float |
getScore()
|
float[] |
getScores()
The indices for these correspond to those for the getAlignments() matrix. |
Traceback |
next(Traceback tb)
Get the next state in the traceback |
void |
prepareAlignment(String sq1,
String sq2)
Initialises the matrices for the alignment. |
void |
printf(Output out)
Print matrix used to calculate this alignment. |
void |
recurseAlignment(String sq1,
int leftIndex)
|
void |
setGapExtend(float e)
|
void |
setThreshold(int T)
|
Methods inherited from class jebl.evolution.align.Align |
---|
doMatch, doMatch, formatScore, setGapOpen, setScores, traceback |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NonOverlapMultipleLocalAffine(Scores sub, float d, float e, int T)
Method Detail |
---|
public void doAlignment(String sq1, String sq2)
sq1
- sq2
- public void recurseAlignment(String sq1, int leftIndex)
public String[] getMatch()
getMatch
in class Align
public String getMatchScores(int width)
width
- length to trim lines to. -1 = infinite width.
public float getScore()
public float[] getScores()
public String[][] getAlignments()
public void printf(Output out)
out
- Output to print to.public void prepareAlignment(String sq1, String sq2)
Align
public void setGapExtend(float e)
public Traceback next(Traceback tb)
tb
- current Traceback
public void setThreshold(int T)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |