etetoolkit

Manipulate phylogenetic trees, detect evolutionary events, and render PDF/SVG visualizations.

21|2|Updated Dec 8, 2025
One-click install
npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill etetoolkit-silverstein
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: etetoolkit
Source: https://github.com/silverstein/claude-scientific-skills-desktop/tree/main/corpus/etetoolkit
Command: npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill etetoolkit-silverstein

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

ETE Toolkit streamlines phylogenetic tree manipulation, evolutionary event analysis, taxonomy annotation, and high-quality visualization so you can move from raw Newick files to publication-ready figures without stitching together many tools.

Core Features & Use Cases

  • Tree manipulation & analysis: Load/write Newick and related formats, traverse, prune, reroot (including midpoint), compute distances, and compare topologies with Robinson–Foulds metrics.
  • Phylogenetic event detection: Analyze gene trees to detect duplication/speciation events, support orthology/paralogy inference, and reconcile gene trees against species trees.
  • NCBI taxonomy integration: Build lineage-aware views by translating between scientific names and TaxIDs, retrieving lineages, and annotating trees with taxonomic metadata.
  • Publication-quality visualization: Render rectangular or circular trees to PDF/SVG/PNG with custom node styling and faces (including support-based coloring and advanced annotations).
  • Clustering analysis: Use ClusterTree with linked matrices to evaluate clustering quality (e.g., silhouette and Dunn index) and visualize results.

Quick Start

Use ETE Toolkit to render a publication-quality visualization by applying the quick tree visualization script to your Newick tree file.

Frequently Asked Questions about etetoolkit

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I visualize a phylogenetic tree from a Newick file for publication?

To visualize a phylogenetic tree, load your Newick file and render it as a publication-quality PDF, SVG, or PNG with custom node styling and taxonomic annotations. The process supports rectangular and circular layouts with advanced face annotations.

What is the best way to detect gene duplication and speciation events in a phylogenetic tree?

Detecting gene duplication and speciation events involves analyzing gene trees to infer evolutionary events and reconciling them against species trees. This approach supports orthology and paralogy extraction to identify lineage-specific expansions.

Can I compare phylogenetic tree topologies using Robinson-Foulds distance?

Yes, comparing phylogenetic tree topologies uses the Robinson-Foulds distance metric to quantify differences between tree structures. This allows precise measurement of topological similarity for clustering quality assessment.

How do I annotate phylogenetic trees with NCBI taxonomy data and scientific names?

Annotating phylogenetic trees with NCBI taxonomy data requires translating between scientific names and TaxIDs to retrieve lineages. Local NCBI taxonomy caching enables fast, lineage-aware metadata integration directly onto tree nodes.

Does this approach support reading and writing multiple phylogenetic tree formats?

Yes, phylogenetic tree manipulation supports reading and writing Newick, NHX, PhyloXML, and NeXML formats. This format interoperability allows seamless integration within diverse phylogenomics workflows.