Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

tooluniverse-polygenic-risk-score工具宇宙多基因风险评分

Agent Skill

tooluniverse-polygenic-risk-score 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

294

周安装

12

GitHub Stars

971

下载量

95
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:tooluniverse-polygenic-risk-score(工具宇宙多基因风险评分)
来源仓库:https://github.com/wu-yc/labclaw
仓库路径:skills/tooluniverse-polygenic-risk-score
安装命令:
npx skills add https://github.com/wu-yc/labclaw --skill tooluniverse-polygenic-risk-score
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/wu-yc/labclaw --skill tooluniverse-polygenic-risk-score

简介

用于多基因风险评分相关数据检索,支持在流行病学和临床预测中获取遗传风险模型信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中执行疾病风险评估和人群分层任务。
  • 通过 npx skills add 命令从 GitHub 安装,需确认仓库权限及是否涉及网络访问或外部 API 调用。
  • 建议在使用前核实数据来源更新频率,避免依赖过期或未经验证的信息。
  • 注意该技能主要用于信息检索,不直接提供分析结果,需结合上下文进行解读和应用。

SKILL.md

Polygenic Risk Score (PRS) Builder

Build and interpret polygenic risk scores for complex diseases using genome-wide association study (GWAS) data.

Overview

Use Cases:

  • "Calculate my genetic risk for type 2 diabetes"
  • "Build a polygenic risk score for coronary artery disease"
  • "What's my genetic predisposition to Alzheimer's disease?"
  • "Interpret my PRS percentile for breast cancer risk"

What This Skill Does:

  • Extracts genome-wide significant variants (p < 5e-8) from GWAS Catalog
  • Builds weighted PRS models using effect sizes (beta coefficients)
  • Calculates individual risk scores from genotype data
  • Interprets PRS as population percentiles and risk categories

What This Skill Does NOT Do:

  • Diagnose disease (PRS is probabilistic, not deterministic)
  • Replace clinical assessment or genetic counseling
  • Account for non-genetic factors (lifestyle, environment)
  • Provide treatment recommendations

Methodology

PRS Calculation Formula

A polygenic risk score is calculated as a weighted sum across genetic variants:

PRS = Σ (dosage_i × effect_size_i)

Where:

  • dosage_i: Number of effect alleles at SNP i (0, 1, or 2)
  • effect_size_i: Beta coefficient or log(odds ratio) from GWAS

Standardization

Raw PRS is standardized to z-scores for interpretation:

z-score = (PRS - population_mean) / population_std

This allows comparison to population distribution and percentile calculation.

Significance Thresholds

  • Genome-wide significance: p < 5×10⁻⁸ (default threshold)
  • This corrects for ~1 million independent tests across the genome
  • Relaxed thresholds (e.g., p < 1×10⁻⁵) can include more SNPs but may add noise

Effect Size Handling

  • Continuous traits (e.g., height, BMI): Beta coefficient (units of trait per allele)
  • Binary traits (e.g., disease): Odds ratio converted to log-odds (beta = ln(OR))
  • Missing effect sizes or non-significant SNPs are excluded

Data Sources

This skill uses ToolUniverse GWAS tools to query:

  1. GWAS Catalog (EMBL-EBI)

- Curated GWAS associations - 5000+ studies, millions of variants - Tools: gwas_get_associations_for_trait, gwas_get_snp_by_id

  1. Open Targets Genetics

- Integrated genetics platform - Fine-mapped credible sets - Tools: OpenTargets_search_gwas_studies_by_disease, OpenTargets_get_variant_info

Key Concepts

Polygenic Risk Scores (PRS)

Polygenic risk scores aggregate the effects of many genetic variants to estimate an individual's genetic predisposition to a trait or disease. Unlike Mendelian diseases caused by single mutations, complex diseases involve hundreds to thousands of variants, each with small effects.

Key Properties:

  • Continuous distribution: PRS forms a bell curve in populations
  • Relative risk: Compares individual to population average
  • Probabilistic: High PRS doesn't guarantee disease, low PRS doesn't guarantee protection
  • Ancestry-specific: PRS accuracy depends on matching GWAS and target ancestry

GWAS (Genome-Wide Association Studies)

GWAS compare allele frequencies between cases and controls (or correlate with trait values) across millions of SNPs to identify disease-associated variants.

Study Design:

  • Discovery cohort: Initial identification of associations
  • Replication cohort: Validation in independent samples
  • Sample size: Larger studies detect smaller effects (power ∝ √N)
  • Multiple testing correction: Bonferroni-type correction for ~1M tests

Effect Sizes and Odds Ratios

  • Beta (β): Change in trait per copy of effect allele

- Example: β = 0.5 kg/m² means each allele increases BMI by 0.5 units

  • Odds Ratio (OR): Multiplicative change in disease odds

- OR = 1.5 means 50% increased odds per allele - Convert to beta: β = ln(OR)

Linkage Disequilibrium (LD) and Clumping

Nearby variants are often inherited together (LD). To avoid double-counting:

  • LD clumping: Select independent variants (r² < 0.1 within 1 Mb windows)
  • Fine-mapping: Statistical methods to identify causal variants
  • This skill uses raw associations; production PRS should include LD pruning

Population Stratification

GWAS and PRS are most accurate when ancestries match:

  • Population structure: Different ancestries have different allele frequencies
  • Transferability: European-trained PRS perform worse in non-European populations
  • Solution: Train PRS on diverse cohorts or use ancestry-matched references

Applications

Clinical Risk Assessment

PRS can stratify individuals for:

  • Screening programs: Target high-risk individuals (e.g., mammography, colonoscopy)
  • Prevention strategies: Lifestyle interventions for high genetic risk
  • Drug response: Pharmacogenomics based on metabolism genes

Example: Khera et al. (2018) showed PRS identifies 3× more individuals at >3-fold coronary artery disease risk than monogenic mutations.

Research Applications

  • Gene discovery: PRS-based phenome-wide association studies (PheWAS)
  • Genetic correlation: Compare PRS across traits
  • Causal inference: Mendelian randomization using PRS as instruments
  • Simulation studies: Model polygenic architecture

Personal Genomics

Consumer genetic testing (23andMe, Ancestry DNA) provides raw genotypes. Users can:

  • Calculate PRS for traits not reported
  • Compare to published PRS models
  • Understand genetic contribution vs. lifestyle factors

Caution: Personal PRS should not replace medical advice. Results may cause anxiety if not properly contextualized.

Limitations and Considerations

Scientific Limitations

  1. Heritability Gap: PRS explains a fraction of genetic heritability

- Type 2 diabetes: ~50% heritable, PRS explains ~10-20% - Rare variants, epistasis, and gene-environment interactions not captured

  1. Ancestry Bias: Most GWAS are European ancestry

- PRS accuracy drops in non-European populations - Need for diverse cohort recruitment

  1. Winner's Curse: Discovery effect sizes often overestimated

- Replication studies show smaller effects - Meta-analyses provide better estimates

  1. Missing Heritability: Unexplained genetic contribution from:

- Rare variants not captured by SNP arrays - Structural variants (CNVs, inversions) - Epigenetic factors

Clinical Limitations

  1. Not Diagnostic: PRS is probabilistic, not deterministic

- High PRS doesn't mean you will get disease - Low PRS doesn't mean you won't get disease

  1. Environmental Factors: Many complex diseases are 50%+ environmental

- Smoking, diet, exercise, stress, pollution - PRS doesn't account for these

  1. Pleiotropy: Same variants affect multiple traits

- Genetic correlation between diseases - Risk for one may protect against another

  1. Actionability: Not all high-risk predictions have interventions

- Alzheimer's PRS has limited actionability currently - Ethical considerations for testing

Ethical Considerations

  1. Privacy: Genetic data is identifiable and permanent

- Can't be changed like passwords - Familial implications (relatives share genetics)

  1. Discrimination: Potential for genetic discrimination

- GINA protects against health/employment discrimination (US) - Life insurance and long-term care not protected

  1. Psychological Impact: Knowledge of high risk can cause anxiety

- Need for genetic counseling - Risk communication training

  1. Equity: Ancestry bias means unequal benefits

- Europeans benefit most from current PRS - Exacerbates health disparities

References

Key Publications

  1. Lambert et al. (2021): "The Polygenic Score Catalog as an open database for reproducibility and systematic evaluation"

- PGS Catalog: https://www.pgscatalog.org/ - Repository of published PRS models

  1. Khera et al. (2018): "Genome-wide polygenic scores for common diseases identify individuals with risk equivalent to monogenic mutations"

- Nature Genetics, 50:1219–1224 - Demonstrated clinical utility of PRS

  1. Torkamani et al. (2018): "The personal and clinical utility of polygenic risk scores"

- Nature Reviews Genetics, 19:581–590 - Comprehensive review of PRS applications

  1. Martin et al. (2019): "Clinical use of current polygenic risk scores may exacerbate health disparities"

- Nature Genetics, 51:584–591 - Addresses ancestry bias and equity concerns

  1. Choi et al. (2020): "Tutorial: a guide to performing polygenic risk score analyses"

- Nature Protocols, 15:2759–2772 - Practical guide to PRS calculation and evaluation

Resources

Workflow

1. Trait Selection

Identify the disease or trait of interest:

  • Use standard terminology (e.g., "type 2 diabetes" not "T2D")
  • Check GWAS Catalog for availability
  • Verify sufficient GWAS studies exist (n > 10,000 samples ideal)

2. Association Collection

Query GWAS databases for genome-wide significant associations:

prs = build_polygenic_risk_score(
    trait="coronary artery disease",
    p_threshold=5e-8,  # Genome-wide significance
    max_snps=1000
)

Considerations:

  • P-value threshold: 5e-8 is conservative, 1e-5 includes more variants
  • LD clumping: Production systems should prune correlated SNPs
  • Study quality: Prefer large meta-analyses over small studies

3. Effect Size Extraction

Extract beta coefficients or odds ratios:

  • Beta for continuous traits (direct use)
  • OR for binary traits (convert to log-odds)
  • Handle missing values (exclude or impute from meta-analysis)

4. SNP Filtering

Quality control filters:

  • MAF filter: Exclude rare variants (MAF < 0.01) for robustness
  • Genotype QC: Remove SNPs with high missingness (> 10%)
  • Hardy-Weinberg: Exclude SNPs violating HWE (p < 1e-6)
  • Ambiguous SNPs: Remove A/T and G/C SNPs (strand ambiguity)

5. Score Calculation

Calculate weighted sum of genotype dosages:

result = calculate_personal_prs(
    prs_weights=prs,
    genotypes=my_genotypes,
    population_mean=0.0,
    population_std=1.0
)

Genotype Sources:

  • 23andMe raw data export
  • Ancestry DNA raw data
  • Whole genome sequencing (VCF files)
  • SNP array data (Illumina, Affymetrix)

6. Risk Interpretation

Convert to percentiles and risk categories:

result = interpret_prs_percentile(result)
print(f"Percentile: {result.percentile:.1f}%")
print(f"Risk: {result.risk_category}")

Risk Categories:

  • Low risk: < 20th percentile (genetic protection)
  • Average risk: 20-80th percentile (typical genetic predisposition)
  • Elevated risk: 80-95th percentile (moderately increased risk)
  • High risk: > 95th percentile (substantially increased risk)

Clinical Interpretation:

  • Percentiles assume normal distribution
  • Relative risk vs. average (not absolute risk)
  • Combine with family history, clinical risk factors
  • PRS is NOT diagnostic - many high-risk individuals never develop disease

Best Practices

PRS Construction

  1. Use validated PRS from PGS Catalog when available

- Published models have been externally validated - Include LD clumping and ancestry-specific weights

  1. Match ancestries between GWAS and target population

- European GWAS for European individuals - Use multi-ancestry GWAS when available

  1. Include as many SNPs as practical

- More SNPs = better prediction (up to a point) - Balance between coverage and genotyping cost

  1. Consider trait architecture

- Highly polygenic traits (height, education): benefit from relaxed thresholds - Oligogenic traits (IBD, T1D): few large-effect variants, strict thresholds

Clinical Use

  1. Combine with clinical risk scores

- Add PRS to Framingham Risk Score, QRISK, etc. - Integrated models improve prediction

  1. Stratify screening and prevention

- Intensify surveillance for high PRS (e.g., earlier mammography) - Lifestyle interventions for modifiable risk

  1. Provide genetic counseling

- Explain probabilistic nature of PRS - Discuss limitations and uncertainty - Address psychological impact

  1. Consider actionability

- Is there an intervention for high risk? - Benefits vs. harms of knowing genetic risk

Research Use

  1. Report methods transparently

- Document SNP selection criteria - Report LD clumping parameters - Specify ancestry of GWAS and target

  1. Validate in held-out cohorts

- Split data: training vs. testing - Report out-of-sample prediction accuracy (R², AUC)

  1. Compare to existing PRS

- Benchmark against PGS Catalog models - Report incremental improvement

  1. Test across ancestries

- Evaluate transferability to non-European populations - Report performance stratified by ancestry

Disclaimer

This skill is for educational and research purposes only.

  • Not for clinical diagnosis or treatment decisions
  • Not validated for clinical use - use PGS Catalog models for clinical-grade PRS
  • Requires genetic counseling - interpretation requires expertise
  • Does not account for family history, environment, or lifestyle factors
  • Ancestry-specific - accuracy depends on matching GWAS ancestry

For clinical genetic testing, consult:

  • Genetic counselors (certified by ABGC/ABMGG)
  • Medical geneticists
  • Healthcare providers with genomics training

PRS is a rapidly evolving field. Guidelines and best practices will continue to change as research progresses.

Regulatory Status:

  • FDA does not currently regulate PRS (as of 2024)
  • Some countries restrict direct-to-consumer genetic risk reporting
  • Check local regulations before clinical implementation

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

32.63%
按下载量换算31

Claude

30.49%
按下载量换算29

Cursor

18.31%
按下载量换算17

Gemini CLI

9.02%
按下载量换算9

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills