bio-protein-clustering-pangenome

bio-protein-clustering-pangenome is a skill for Claude Code from fmschulz/omics-skills. It costs 43 tokens per session (1,865 once invoked), scanned A, original, MIT.

A workflow for grouping related proteins into orthogroups—gene families inherited from a common ancestor—and building pangenome matrices across genomes. A pangenome records genes shared by all genomes and genes found only in some of them.

In plain words
What is it for?
Comparing gene-family expansion and contraction, core and accessory genes, genome content, marker genes, and non-coding RNA records across multiple genomes.
Why use it?
It organizes protein comparisons and preserves validated summaries of gene presence, absence, copy number, conserved neighborhoods, markers, and non-coding RNA findings.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions AGENTS.md.

Part of the omics-skills plugin — 34 skills, 4 agents shipped together

Good fit Comparing gene-family expansion and contraction, core and accessory genes, genome content, marker genes, and non-coding RNA records across multiple genomes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fmschulz/omics-skills/bio-protein-clustering-pangenome
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add fmschulz/omics-skills --skill bio-protein-clustering-pangenome
Clone the repo
git clone --depth 1 https://github.com/fmschulz/omics-skills

Made for: Claude Code.

Or install omics-skills, the plugin that ships this one along with the rest of its 34 skills, 4 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bio-protein-clustering-pangenome

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmschulz/omics-skills/bio-protein-clustering-pangenome/github.svg)](https://agentmods.dev/skills/fmschulz/omics-skills/bio-protein-clustering-pangenome)
Your own site
<a href="https://agentmods.dev/skills/fmschulz/omics-skills/bio-protein-clustering-pangenome"><img src="https://agentmods.dev/badge/skills/fmschulz/omics-skills/bio-protein-clustering-pangenome/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bio-protein-clustering-pangenome

Your own site · 80×15
<a href="https://agentmods.dev/skills/fmschulz/omics-skills/bio-protein-clustering-pangenome"><img src="https://agentmods.dev/badge/skills/fmschulz/omics-skills/bio-protein-clustering-pangenome.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 43 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,865 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00043 $0.01865
Opus 5 $0.00022 $0.00932
Sonnet 5 $0.00009 $0.00373
Haiku 4.5 $0.00004 $0.00186

Measured 5d ago against content hash 933baf9dfd2e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

bio-protein-clustering-pangenome scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/build_pangenome_artifacts.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/bio-protein-clustering-pangenome/SKILL.md · 88 lines

How it starts

The opening of the file, as written. The whole thing — 88 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Bio Protein Clustering Pangenome

Cluster proteins into orthogroups and derive pangenome matrices.

Instructions

Tool guides and versions: docs/README.md.

  1. After clustering, build and validate the complete small-to-large comparison bundle with:

    uv run --script skills/bio-protein-clustering-pangenome/scripts/build_pangenome_artifacts.py \
      orthogroups.tsv --genomes genomes.tsv --marker-catalog marker_catalog.tsv \
      --marker-hits marker_hits.tsv --ncrna ncRNA_census.tsv \
      --out results/bio-protein-clustering-pangenome
    

    The driver requires globally unique protein IDs, at least two reference genomes for a defensible median, and a fresh output directory. It persists marker and ncRNA censuses alongside copy-number, presence/absence, family-comparison, genome-frontier, and conserved-neighborhood artifacts. fixtures/ is a runnable three-genome contract test.

  2. Cluster proteins. Choose the tool by dataset size and goal:

    • Default for orthology inference up to a few hundred genomes: OrthoFinder v3.1.5 (supports MSA-based gene trees; supersedes OrthoFinder v2 and OrthoMCL workflows).
    • Very large pangenomes where OrthoFinder is too RAM-heavy: ProteinOrtho v6.3.6.
    • Sequence clustering (not strict orthology) and similarity-search backbones: MMseqs2 v18-8cc5c. GPU search requires MMseqs2 v16 or newer plus a GPU-enabled build on CUDA Turing-or-newer hardware; full-speed kernels require Ampere or newer. Enable --gpu only for commands that expose it and record the CPU/GPU build used.
  3. Build presence/absence matrix AND an integer copy-number matrix (orthogroup × genome) covering the query AND the close relatives produced by /bio-phylogenomics.

  4. Compute core/accessory/cloud/singleton partitions.

  5. Identify single-copy orthologs for phylogenetic analysis.

  6. Discriminate paralogs from orthologs in multi-copy gene families.

  7. Calculate pangenome statistics (completeness, orthogroup occupancy).

  8. When a query genome or genome set is under study, use the literature-derived analysis playbook to choose an appropriate comparison baseline: closest relatives, a broader clade, environmental references, or a negative/control set.

  9. Genome-property frontier table — produce relative_genome_metrics.tsv with one row per (query + relative) and columns for genome size, contig count, N50, gene count, coding density, GC, tRNA count, rRNA count, and any group-relevant property. Add a column that places the query in the relative distribution (percentile, min/median/max, "record-class" tag) and a column citing the literature reference defining the group's known range.

  10. Synteny / conserved neighborhoods — for each pair (query, relative) compute conserved gene neighborhoods (e.g., ≥2 collinear orthologs). Tool selection:

  • Pairwise / classical: MCScanX (Nature Protocols 2024 updated protocol).
  • Multi-genome at scale (>2 assemblies, up to >3 Gbp, >15% divergence): ntSynt (BMC Biology 2025, DOI: 10.1186/s12915-025-02455-w) — alignment-free minimizer-graph approach; does not detect duplications.
  • Strain-level work where duplication detection matters: SibeliaZ. Save results as conserved_neighborhoods.tsv with columns: query_block_id, relative, relative_block_id, members (ortholog IDs), intergenic_spacing_query, intergenic_spacing_relative, spacing_ratio, notes. Flag conserved gene pairs and unusual spacing/expansions.
  1. Identify discovery-relevant differences defined by the playbook, including query-specific families, missing expected families, expansions/contractions, unusual sharing patterns, and high-value unknowns. Persist as family_copy_number_comparison.tsv (query vs relative-median fold change per family) — coordinated with bio-annotation's family matrix.
  2. Annotate candidate orthogroups with /bio-annotation; for high-value unknowns, route representatives to /bio-structure-annotation when structure-based inference is appropriate.
  3. Produce a comparison summary that separates conserved lineage features from unusual or query-specific features and states the baseline used. The summary must report ALL of: genome-property frontier, marker-category presence/copy, family expansions/contractions, synteny conservation/breakage, and ncRNA counts side-by-side with relatives.

Read the full file on GitHub · 88 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago Changed 933baf9dfd2e
  2. 12d ago First seen · 88 lines · 43 tokens per session scan A 8d2a785fe6d3

Subscribe to this mod's changes

bio-protein-clustering-pangenome is a skill published in the GitHub repository fmschulz/omics-skills (7 stars, last pushed 6d ago), licensed MIT. It adds 43 tokens to every session and 1,865 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

imaging-data-commons

Query and download public cancer imaging data from NCI Imaging Data Commons. Invoke for any question about IDC collections, cancer imaging datasets, DICOM data access, radiology (CT, MR, PET) or pathology AI training sets, metadata queries, visualization, or license checks — even when the user doesn't explicitly…

K-Dense-AI/scientific-agent-skills · 75 tokens

tamarind

Access a collection of open-source molecular design and structural biology tools on the Tamarind Bio platform, via its REST API or MCP server — no local GPUs required. Tamarind bundles popular open-source models for structure prediction (AlphaFold, Boltz, Chai, ESMFold), protein, binder, and de novo design…

K-Dense-AI/scientific-agent-skills · 172 tokens

lab-hardware-cad

Design custom laboratory hardware as parametric build123d models and export fabrication-ready STEP, STL, and DXF files - microfluidic chips and molds, optomechanical mounts and breadboard adapters, cuvette and microplate holders, tube racks, animal-behavior rigs, and 3D-printed instrument fixtures. Use when a research…

K-Dense-AI/scientific-agent-skills · 106 tokens

onekgpd

Query the 1000 Genomes Project dataset (3,202 whole-genome-sequenced individuals, GRCh38) at the level of individual participants. Use when a question is about individuals or variants in the 1000 Genomes Project cohort: which individuals carry variants matching specific criteria in a gene or region, which individuals…

K-Dense-AI/scientific-agent-skills · 143 tokens

pkpd-modeling

Pharmacokinetic and pharmacodynamic modelling and simulation - non-compartmental analysis, compartmental and population PK, PK/PD and exposure-response, TMDD, PBPK orientation, bioequivalence, allometric scaling and first-in-human dose, drug interaction prediction, and Bayesian therapeutic drug monitoring. Use when…

K-Dense-AI/scientific-agent-skills · 273 tokens

relsa-severity-assessment

Multivariate severity assessment and humane endpoint prediction for laboratory animal studies using the RELSA (RELative Severity Assessment) score and ARIMA-based foRcast forecasting. Use when combining welfare readouts — body weight or weight loss, body temperature, clinical or nesting scores, biomarkers, activity…

K-Dense-AI/scientific-agent-skills · 182 tokens