Package jebl.evolution.align
Class SequenceShuffler
- java.lang.Object
-
- jebl.evolution.align.SequenceShuffler
-
public class SequenceShuffler extends java.lang.Object
Shuffles a sequence and aligns it again multiple times to give mean and variance of alignments on random sequences.- Version:
- $Id: SequenceShuffler.java 185 2006-01-23 23:03:18Z rambaut $
- Author:
- Richard Moir, Alexei Drummond
-
-
Constructor Summary
Constructors Constructor Description SequenceShuffler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description float
getMax()
float
getMean()
float
getMin()
double
getStdev()
void
setProgressMonitor(javax.swing.ProgressMonitor monitor)
void
shuffle(Align algorithm, java.lang.String sq1, java.lang.String sq2, int numShuffles)
-
-
-
Method Detail
-
shuffle
public void shuffle(Align algorithm, java.lang.String sq1, java.lang.String sq2, int numShuffles)
-
getMean
public float getMean()
- Returns:
- the mean score of the shuffled alignments.
-
getMax
public float getMax()
-
getMin
public float getMin()
-
getStdev
public double getStdev()
- Returns:
- the standard deviation of scores for the shuffled alignments.
-
setProgressMonitor
public void setProgressMonitor(javax.swing.ProgressMonitor monitor)
-
-