forester v1.2

forester.tools
Class placesOneNodeOnAllBranches

java.lang.Object
  |
  +--forester.tools.placesOneNodeOnAllBranches

public class placesOneNodeOnAllBranches
extends java.lang.Object

Version:
1.01 -- last modified: 06/19/00
Author:
Christian M. Zmasek

Constructor Summary
placesOneNodeOnAllBranches()
           
 
Method Summary
static void main(java.lang.String[] args)
          Places one Node on all branches of a Tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

placesOneNodeOnAllBranches

public placesOneNodeOnAllBranches()
Method Detail

main

public static void main(java.lang.String[] args)
Places one Node on all branches of a Tree. Important: Tree in infile must be unrooted and trifurcated at its basal node. Puzzle does not require this, but it will change the trees in this manner, and this would cause a problem since, later on, this tree will receive information about log L on its branches and therefore must have the same topology as the output trees produced by puzzle. It is mainly a "main method" for method "fuseToAllBranches( Tree )" of forester.tree.Tree, to be used in other (Perl) programs.
Parameters:
args[0] - Filename (String) of input Tree
args[1] - Sequence name (String) for the Node to be placed on all branches of the input Tree
args[2] - Filename (String) for outputfile
args[3] - [ String, "C" to save outputtee in "clean" New Hampshire format, could be inportant if one where to use "molphy" instead of "puzzle"]
See Also:
Tree.fuseToAllBranches( Tree )

forester v1.2