Package jebl.evolution.align
Class SequenceShuffler
- java.lang.Object
-
- jebl.evolution.align.SequenceShuffler
-
public class SequenceShuffler extends java.lang.ObjectShuffles 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 floatgetMax()floatgetMean()floatgetMin()doublegetStdev()voidsetProgressMonitor(javax.swing.ProgressMonitor monitor)voidshuffle(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)
-
-