etetoolkit
Agent skill fromK-Dense-AI/scientific-agent-skills
Analyzes, manipulates, compares, annotates, and visualizes phylogenetic or other hierarchical trees with ETE 4. Supports Newick/Nexus tree I/O, topology edits and pattern matching, Robinson-Foulds comparisons, gene-tree evolutionary events and reconciliation, NCBI/GTDB taxonomy, SmartView exploration, and publication rendering. Applies to existing trees after alignment and phylogenetic inference, rather than inferring trees from raw sequences.
How to install etetoolkit
install etetoolkit
# install the scientific-agent-skills pack with the skills CLI
npx skills add K-Dense-AI/scientific-agent-skills# or add only this skill to Claude Code: copy the folder
skills/etetoolkit/
# into
~/.claude/skills/etetoolkit/ (all projects)
.claude/skills/etetoolkit/ (one project)
1# ETE Toolkit 423## Scope45Use ETE 4 to work with an existing tree:67- Read Newick/Nexus, then inspect, annotate, transform, root, prune, and write8 Newick trees9- Compare topologies and calculate phylogenetic distances10- Find repeated subtree topologies with `TreePattern`11- Analyze gene trees with `PhyloTree`12- Query local NCBI or GTDB taxonomy databases13- Explore large trees interactively with SmartView14- Render PNG with SmartView or PNG/PDF/SVG with the optional Qt treeview1516ETE does not replace sequence alignment or phylogenetic inference software. For17raw sequences, first use MAFFT or another aligner and IQ-TREE 2, FastTree, or18another inference tool; then load the resulting tree into ETE.1920## Current Target2122This skill targets **ETE 4.4.0**, released September 3, 2025 and verified as the23current PyPI release on September 30, 2026.24Core, phylogeny, local synthetic taxonomy and helper checks target this released25package, not unreleased upstream changes. See26[`references/review.md`](references/review.md) for executed coverage and limitations.2728Use `https://etetoolkit.github.io/ete/` for ETE 4 documentation. The29`etetoolkit.org/docs/latest` pages are legacy ETE 3 documentation despite the30URL name.3132Do not silently translate these examples back to ETE 3:3334- Package and import: `ete4`, not `ete3`35- File input: pass an open file object; use strings for Newick text and do not36 rely on path-string heuristics retained in ETE 4.4.037- Newick selection: `parser=`, not `format=`38…
Excerpt shown under the repository's MIT license.
