Introduction
Input:
As in the sample test data here, the format for the input file:
Each line represents a chromosome, and there is at least one space between two successive genes.
A gene name can be any string without spaces. A default + understood for all the genes on one of the strands, but an explicit - sign must be added to all genes located on the other strand.
Output:
Gene orders for reconstructed ancestors.
Branch lengths in terms of rearrangement distance.
To run the program:
Download and unzip the zipped file here
Direct the terminal to folder smallPhylogeny, which contains the java scripts
Compile and run the program:
javac *.java
java TestSmallPhylogeny > result.txt
Check the output in the result.txt file
To test other sets of genomes
Change the "Section 1: read in input genomes" in TestSmallPhylogeny.java file to read in your data properly.
Change the "Section 2: set the tree structure" in TestSmallPhylogeny.java file according to your specific tree.
Compile and run the program again.