Agent skill

bio-phylo-distance-calculations

Compute evolutionary distances and build phylogenetic trees using Biopython Bio.Phylo.TreeConstruction. Use for creating distance matrices from alignments, building NJ/UPGMA trees, parsimony analysis, and generating bootstrap consensus trees.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill distance-calculations --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 8 KB
Bundled scripts: none
Path: skills/ai-ml/distance-calculations/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Distance Calculations and Tree Building Compute distances from alignments and construct phylogenetic trees. ## Required Import ```python from Bio import Phylo, AlignIO from Bio.Phylo.TreeConstruction import DistanceCalculator, DistanceTreeConstructor from Bio.Phylo.TreeConstruction import DistanceMatrix from Bio.Phylo.TreeConstruction import ParsimonyScorer, ParsimonyTreeConstructor, NNITreeSearcher from Bio.Phylo.Consensus import strict_consensus, majority_consensus, bootstrap_trees, bootstrap_consensus ``` ## Distance Matrix from Alignment ```python from Bio import AlignIO from Bio.Phylo.TreeConstruction import DistanceCalculator alignment = AlignIO.read('alignment.fasta', 'fasta') # Create calculator with distance model calculator = DistanceCalculator('identity') # Simple identity-based distance dm = calculator.get_distance(alignment) print(dm) # Available models for DNA calculator = DistanceCalculator('blastn') # BLASTN-style distance # Available models for protein calculator = DistanceCalculator('blosum62') # BLOSUM62-based distance ``` ## Available Distance Models | Model | Type | Description | |-------|------|-------------| | `identity` | DNA/Protein | 1 - (identical posit

What's inside
Steps it walks through
  1. Required Import
  2. Distance Matrix from Alignment
  3. Available Distance Models
  4. Building Trees with Distance Methods
  5. Neighbor Joining (NJ)
  6. UPGMA
  7. One-Step Tree Building
  8. Pairwise Distances Between Taxa
  9. Creating Distance Matrix Manually
  10. Parsimony Tree Construction
  11. Bootstrap Analysis
  12. Consensus Tree Methods
  13. Tree Depths and Total Length
  14. Comparing Tree Distances
Ships with 1 file
  • metadata.json
More from claude-skill-registry
All skills →
About this skill
What does the bio-phylo-distance-calculations skill do?

Compute evolutionary distances and build phylogenetic trees using Biopython Bio.Phylo.TreeConstruction. Use for creating distance matrices from alignments, building NJ/UPGMA trees, parsimony analysis, and generating bootstrap consensus trees.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill distance-calculations --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going