import java.io.IOException;
import org.forester.archaeopteryx.Archaeopteryx;
-import org.forester.archaeopteryx.Util;
import org.forester.io.parsers.PhylogenyParser;
import org.forester.phylogeny.Phylogeny;
import org.forester.util.ForesterUtil;
public static void main( final String[] args ) {
// Reads in (a) tree(s) from a file.
- final File treefile = new File( "/path/to/trees.xml" );
+ final File treefile = new File( "/path/to/tree.xml" );
PhylogenyParser parser = null;
try {
parser = ForesterUtil.createParserDependingOnFileType( treefile, true );
}
Phylogeny[] phys = null;
try {
- phys = Util.readPhylogenies( parser, treefile );
+ phys = ForesterUtil.readPhylogenies( parser, treefile );
}
catch ( final IOException e ) {
e.printStackTrace();