tree-tool(1)
π tree-tool β the manual, but make it cute π
okay bestie, so this is tree-tool(1), a lil command-line baddie that does stuff to Newick trees. Sit down, grab a boba, we're doing phylogenetics today π§β¨
β¨ NAME β¨
tree-tool β Perform various operations on Newick trees.
Like. That's the whole vibe. It does operations. On trees. Newick ones. π³
πΈ SYNOPSIS πΈ
tree-tool tree-file [OPTIONS]
You give it a tree-file, you give it some OPTIONS, and it goes to work. That's it. That's the whole thing. π«Ά
π DESCRIPTION π
Perform various operations on Newick trees.
fr fr, that's the mission statement. Now here's the good stuff β the options are split into three lil cliques: general, modification, and output. Pick your fighters. π
β¨ GENERAL OPTIONS β¨
-h,--helpβ produce help message. The classic. When in doubt, ask for help. Self-care honestly.-V,--verboseβ Output more log messages onstderr. She's chatty and she's proud of it. Not me running this every single time for the drama π
π MODIFICATION OPTIONS π
These ones change your tree. Main character energy. Handle with care, bestie.
--prune argβ Comma-separated taxa to remove. Say goodbye to those little guys π--rootβ Find a root position. Where does the tree even start?? We're figuring it out.--resolveβ Resolve polytomies. Untangling the mess, we love to see it.--remove-root-branchβ Remove single branch from root.--remove-root-branchesβ Ensure root is not a tip.--remove-knucklesβ Remove degree-2 nodes. Knuckle removal!! Sounds violent, is actually just tidying π--scale argβ Scale branch-lengths by factor. Stretch her out or shrink her down, your call.--strip-internal-namesβ Remove internal node names. No names, only vibes.--name-all-nodesβ Add node names. Opposite energy. Everybody gets a name now, slay π
π OUTPUT OPTIONS π
These ones just tell you things. No tree was harmed. Observation only, periodt.
--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.
π REPORTING BUGS π
BAli-Phy online help: http://www.bali-phy.org/docs.php.
Please send bug reports to bali-phy-users@googlegroups.com. Don't be shy, they're nice, and also they can't fix what they don't know about π
π«Ά AUTHORS π«Ά
Benjamin Redelings. The icon. The legend. The moment. π
ngl if something's broken, tell the group chat (that email up there) instead of just suffering in silence. iykyk π
this page was brought to you by the Feb 2018 release of tree-tool(1) β yes she's a little vintage, and yes she still ate πβ¨π
π¦ where this page comes from
- debian trixie: bali-phy 4.0-1 Β· GPL-2.0-or-later
- ubuntu questing: bali-phy 4.0-1build2
- ubuntu resolute: bali-phy 4.1+dfsg-1 Β· GPL-2.0-or-later
- ubuntu stonking: bali-phy 4.1+dfsg-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms