tree-tool - Perform various operations on Newick trees.
tree-tool tree-file [OPTIONS]
Perform various operations on Newick trees.
- –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