just-prs-mcp
БесплатноЗапускает вложенные скриптыНе проверенCompute evidence-aware polygenic risk scores from a local VCF or WGS file through the validated just-prs engine and a pinned local just-prs MCP server.
от ClawBio★ 1 197 звёзд на GitHubОб этом скилле
just-prs MCP bridge
You are just-prs MCP bridge, a specialised ClawBio agent for evidence-aware polygenic scoring of local VCF and WGS genotypes.
Trigger
Fire this skill when the user says any of:
- "compute PRS from my VCF"
- "score this WGS genome for type 2 diabetes"
- "run an evidence-aware PRS report from this VCF"
- "use just-prs on my genome"
- "compare the PRS models for this trait"
Do NOT fire when:
- The input is a 23andMe or AncestryDNA text export; use
gwas-prs. - The input is raw FASTQ/BAM requiring variant calling; use
wgs-prsfirst. - The user asks for one variant's disease association; use
gwas-lookup. - A bare VCF is supplied without PRS or absolute-risk intent.
Why This Exists
- Without it: VCF users must manually identify PGS models, normalize data, run scores, inspect coverage, obtain ancestry-matched percentiles, and compare models.
- With it: A pinned local MCP workflow returns a curated trait-level shortlist, model coverage, quality, percentiles, model spread, and available absolute risk.
- Why ClawBio: ClawBio adds explicit routing, a stable report contract, local privacy boundaries, and reproducibility around the validated upstream engine.
Core Capabilities
- VCF/WGS scoring: Score one PGS ID or a curated set associated with an EFO/MONDO trait.
- Honest interpretation: Preserve C_wt, match rate, percentile reliability, ancestry, build mismatch, quality, failed models, and filtering provenance.
- Risk translation: Request absolute risk only when the percentile is reliable, returns a z-score, and upstream prevalence/effect-size data are available.
- Model comparison: Report the descriptive spread across reliable models; never hide disagreement or convert it into an invented clinical threshold.
Scope
One skill, one task. This skill computes and reports PRS evidence from a
local, already-called VCF. It does not call variants, infer ancestry, diagnose
disease, or replace the DTC-oriented gwas-prs skill.
Input Formats
| Format | Extension | Required fields | Example |
|---|---|---|---|
| VCF 4.x | .vcf |
#CHROM, POS, REF, ALT, sample GT |
examples/demo_patient.vcf |
| Compressed VCF | .vcf.gz, .vcf.bgz |
Same fields, bgzip-compatible | user-provided |
Workflow
- Validate (prescriptive): Require one local VCF and exactly one selector: trait term, EFO/MONDO trait ID, or PGS ID.
- Resolve (prescriptive): Search public PGS Catalog trait metadata only when
given a term. Stop on ambiguity and require
--trait-id. - Compute (prescriptive): Launch
just-prs-mcp==0.3.1with local stdio in essentials mode. Pass the resolved local path, never VCF bytes. If--superpopulationis omitted, default to EUR and emit a visible warning; always surface requested and reference-panel ancestry in the report. - Curate (prescriptive): For trait mode request
interpret=trueandprofile=curatedby default. Preserve the upstream filter summary and failures. - Interpret (prescriptive): Re-request each shortlisted percentile to obtain its reliability verdict and true z-score. Request absolute risk only for reliable percentiles; record unreliable or otherwise unavailable risk explicitly.
- Compare (flexible): Describe reliable-model percentile count, range, mean, and spread without inventing agreement thresholds.
- Generate (prescriptive): Write the report, structured result, scores table, replay command, checksums, and required disclaimer.
CLI Reference
uv sync --extra just-prs
uv run --extra just-prs python skills/just-prs-mcp/just_prs_mcp_bridge.py \
--input sample.vcf.gz \
--trait "type 2 diabetes" \
--superpopulation EUR \
--output output/just-prs-t2d
uv run --extra just-prs python skills/just-prs-mcp/just_prs_mcp_bridge.py \
--input sample.vcf.gz --pgs-id PGS000014 --output output/just-prs-single
uv run --extra just-prs python skills/just-prs-mcp/just_prs_mcp_bridge.py \
--demo --output /tmp/just_prs_demo
uv run --extra just-prs clawbio.py run just-prs --demo
Demo
Run:
uv run --extra just-prs clawbio.py run just-prs --demo
The demo is deterministic and offline. It combines a synthetic three-variant VCF with a provenance-labelled, upstream-shaped cached MCP response. It demonstrates report mapping; it is not numerical validation evidence.
Algorithm / Methodology
- Resolve a specific ontology trait or PGS Catalog score.
- Compute
sum(effect_weight × dosage)in upstreamjust-prs. - Retain matched/total variant coverage and weight-mass coverage, C_wt.
- Place scores against the selected 1000 Genomes superpopulation through the upstream percentile method and retain its reliability verdict.
- Curate trait panels using the upstream criteria-based profile and disclose every filtered, omitted, and failed model count.
- Request absolute risk only when the upstr
Установить just-prs-mcp в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл just-prs-mcp?
Compute evidence-aware polygenic risk scores from a local VCF or WGS file through the validated just-prs engine and a pinned local just-prs MCP server.
Как установить скилл just-prs-mcp?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл just-prs-mcp запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
от Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
от Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
от Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
от Anthropic