Skip to content

Phylogenetic tree toolkit that manipulates Newick and NHX trees and detects evolutionary events for phylogenomics.

CCM score
63 of 100
skills.sh installs
212
GitHub stars
34.3K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers tree I/O, traversal, pruning, rooting, and Robinson-Foulds comparison, plus gene tree analysis with duplication and speciation detection
  • Includes scripts/tree_operations.py for stats, format conversion, reroot, prune, and ASCII display, and scripts/quick_visualize.py for PDF, SVG, and PNG rendering
  • Integrates NCBI Taxonomy with local caching for taxid translation, lineage retrieval, and taxonomy-based tree construction
  • Designed for phylogenomics workflows that need orthology and paralogy calls alongside publication-quality tree figures

Install

$ npx -y skills add davila7/claude-code-templates --skill etetoolkit -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

ETE Toolkit Skill

Overview

ETE (Environment for Tree Exploration) is a toolkit for phylogenetic and hierarchical tree analysis. Manipulate trees, analyze evolutionary events, visualize results, and integrate with biological databases for phylogenomic research and clustering analysis.

Core Capabilities

1. Tree Manipulation and Analysis

Load, manipulate, and analyze hierarchical tree structures with support for:

  • Tree I/O: Read and write Newick, NHX, PhyloXML, and NeXML formats
  • Tree traversal: Navigate trees using preorder, postorder, or levelorder strategies
  • Topology modification: Prune, root, collapse nodes, resolve polytomies
  • Distance calculations: Compute branch lengths and topological distances between nodes
  • Tree comparison: Calculate Robinson-Foulds distances and identify topological differences

Common patterns:

from ete3 import Tree

# Load tree from file
tree = Tree("tree.nw", format=1)

# Basic statistics
print(f"Leaves: {len(tree)}")
print(f"Total nodes: {len(list(tree.traverse()))}")

Details

Repository
github.com/davila7/claude-code-templates
Categories
Research & Academic, Data Science & Analytics
First seen
Jun 3, 2026

Questions

What does the etetoolkit skill do?

The etetoolkit skill brings the ETE phylogenetic tree toolkit into Claude Code. It handles Newick and NHX tree manipulation, evolutionary event detection, orthology and paralogy analysis, NCBI taxonomy lookups and PDF or SVG tree visualization for phylogenomics.

How do I install the etetoolkit skill?

Run npx -y skills add davila7/claude-code-templates --skill etetoolkit -y in your project to install it. Once installed, the etetoolkit skill lets your agent load and rewrite trees, detect duplication and speciation events and render publication-ready figures.

Where does etetoolkit stand in the Research & Academic category?

The etetoolkit skill sits in the Research & Academic category next to research, paper-context-resolver, repo-intake-and-plan, minimal-run-and-audit and env-and-assets-bootstrap. Its focus on phylogenetic trees and gene family analysis sets it apart from those general research helpers.

More from davila7/claude-code-templates

All 398

Similar to Etetoolkit

More Research & Academic