edu.rit.compbio.phyl.test
Class Test04
- java.lang.Object
-
- edu.rit.compbio.phyl.test.Test04
-
public class Test04 extends java.lang.ObjectClass Test04 is a unit test program for classes DnaSequenceList, DnaSequenceTree, FitchParsimony, and Upgma. The program:- Reads a DnaSequenceList from the input file in interleaved PHYLIP format.
- Constructs a phylogenetic tree using the UPGMA algorithm.
- Computes and prints the tree's Fitch parsimony score.
- Reorders the list of DNA sequences into descending order of branch length and stores the list in an output file.
- Stores a picture of the tree in an output file as a serialized Drawing object.
The View program can be used to view the drawing file and save it in an image file in several formats.
Usage: java edu.rit.compbio.phyl.test.Test04 infile outfile drawfile [ format ]
infile = Input DNA sequence list file name
outfile = Output DNA sequence list file name
drawfile = Output drawing file name
format = DecimalFormat string for branch lengths (default: "0.00")
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidmain(java.lang.String[] args)Main program.
-
DMelt 3.0 © DataMelt by jWork.ORG