DOKK / manpages / debian 13 / bali-phy / tree-tool.1.en
tree-tool(1) tree-tool(1)

tree-tool - Perform various operations on Newick trees.

tree-tool tree-file [OPTIONS]

Perform various operations on Newick trees.

produce help message
Output more log messages on stderr.

–prune arg
Comma-separated taxa to remove
–root
Find a root position
–resolve
Resolve polytomies
–remove-root-branch
Remove single branch from root.
–remove-root-branches
Ensure root is not a tip.
–remove-knuckles
Remove degree-2 nodes.
–scale arg
Scale branch-lengths by factor
–strip-internal-names
Remove internal node names
–name-all-nodes
Add node names

–length
Report the total tree length
–diameter
Report the tree diameter
–count-leaves
Show the number of leaves
–count-nodes
Show the number of nodes
–show-leaves
Show the leaf names
–show-nodes
Show the node names

BAli-Phy online help: http://www.bali-phy.org/docs.php.

Please send bug reports to bali-phy-users@googlegroups.com.

Benjamin Redelings.

Feb 2018