Agent skill

bio-phylo-distance-calculations

Compute evolutionary distances and build phylogenetic trees using Biopython Bio.Phylo.TreeConstruction. Use when creating distance matrices from alignments, building NJ/UPGMA trees, generating bootstrap consensus, or needing quick exploratory phylogenies before running full ML analysis.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill distance-calculations --agent claude-code

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

Facts
Files in the skill folder: 5
SKILL.md size: 11 KB
Bundled scripts: yes
Path: skills/bioskills/distance-calculations/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

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

From the SKILL.md

## Version Compatibility Reference examples tested with: BioPython 1.83+, NCBI BLAST+ 2.15+ Before using code patterns, verify installed versions match. If versions differ: - Python: `pip show <package>` then `help(module.function)` to check signatures If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Distance Calculations and Tree Building **"Build a phylogenetic tree from my alignment"** → Compute evolutionary distance matrices from sequence alignments and construct neighbor-joining or UPGMA trees with bootstrap support. - Python: `Bio.Phylo.TreeConstruction.DistanceCalculator()`, `DistanceTreeConstructor()` Compute distances from alignments and construct phylogenetic trees. ## When to Use Distance Methods vs ML | Scenario | Recommended Method | |----------|-------------------| | Quick exploratory tree before committing to a long ML run | NJ | | Sanity check on data quality (unexpected groupings?) | NJ | | Very large datasets where ML is prohibitive | NJ | | Molecular clock data (ultrametric trees) | UPGMA (rare) | | Publication-quality trees | **ML (IQ-TREE2/RAxML-NG)**

What's inside
Steps it walks through
  1. Version Compatibility
  2. When to Use Distance Methods vs ML
  3. Evolutionary Distance Corrections
  4. Required Import
  5. Distance Matrix from Alignment
  6. Available Distance Models
  7. Building Trees with Distance Methods
  8. Neighbor Joining (NJ)
  9. UPGMA
  10. One-Step Tree Building
  11. Pairwise Distances Between Taxa
  12. Creating Distance Matrix Manually
  13. Parsimony Tree Construction
  14. Bootstrap Analysis
Ships with 4 files
  • examples/bootstrap_consensus.py
  • examples/build_nj_tree.py
  • examples/pairwise_tree_distances.py
  • usage-guide.md
More from awesome-bio-agent-skills
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 when creating distance matrices from alignments, building NJ/UPGMA trees, generating bootstrap consensus, or needing quick exploratory phylogenies before running full ML analysis.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --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 BioTender-max/awesome-bio-agent-skills, a repository with 135 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