Token导航 LogoToken导航

Agent Skill · 研究检索

tooluniverse-gwas-trait-to-gene(工具宇宙 GWA 基因特征)

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

tooluniverse-gwas-trait-to-gene 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证信息还不明确,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 23,446。

总安装 4,272周安装 178GitHub Stars 1,324下载 1,424核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:tooluniverse-gwas-trait-to-gene(工具宇宙 GWA 基因特征)
来源仓库:https://github.com/mims-harvard/tooluniverse
仓库路径:skills/tooluniverse-gwas-trait-to-gene
安装命令:
npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-gwas-trait-to-gene
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-gwas-trait-to-gene

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

tooluniverse-gwas-trait-to-gene 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。它支持基于关键词、任务场景或来源线索进行信息匹配与过滤,适用于 GWA 基因特征关联类研究检索。

通过 npx skills add 命令从指定 GitHub 仓库安装,需结合原始 README 了解具体调用方式。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写操作。可配合宿主环境中的其他工具链使用,提升信息获取效率与准确性。

来源仓库内路径:skills/tooluniverse-gwas-trait-to-gene

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

tooluniverse-gwas-trait-to-gene 怎么安装?

在终端执行 npx skills add https://github.com/mims-harvard/tooluniverse --skill tooluniverse-gwas-trai…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

tooluniverse-gwas-trait-to-gene 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

tooluniverse-gwas-trait-to-gene 需要什么权限?

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

tooluniverse-gwas-trait-to-gene 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

tooluniverse-gwas-trait-to-gene 用的人多吗?

公开数据是累计安装 4,272 次,近一周安装 178 次,下载 1,424 次,GitHub 1,324 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

tooluniverse-gwas-trait-to-gene 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 来源仓库有 1,324 星,维护活跃度相对可查。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
tooluniverse-gwas-trait-to-gene

工具宇宙 GWA 基因特征 · 本页

4,2721,324需要联网未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

GWAS Trait-to-Gene Discovery

Nearest gene is often wrong. Use L2G (locus-to-gene) scores from Open Targets which integrate eQTL, chromatin interaction, and distance data. L2G > 0.5 is a strong prediction; positional mapping alone should not be used to claim a causal gene. A single GWAS study with p < 5e-8 is suggestive — replication across independent cohorts is required for high confidence. GWAS hits are associations in the studied population; effect sizes and even the implicated gene can differ across ancestries due to differing LD patterns. Treat gene lists from GWAS as ranked candidates for validation, not confirmed causal genes.

LOOK UP DON'T GUESS: never assume trait-to-gene mappings or L2G scores — always call gwas_search_associations and OpenTargets_get_study_credible_sets to retrieve current data; associations are updated as new GWAS are published.

Discover genes associated with diseases and traits using genome-wide association studies (GWAS)

Overview

This skill enables systematic discovery of genes linked to diseases/traits by analyzing GWAS data from two major resources:

  • GWAS Catalog (EBI/NHGRI): Curated catalog of published GWAS with >500,000 associations
  • Open Targets Genetics: Fine-mapped GWAS signals with locus-to-gene (L2G) predictions

Use Cases

Clinical Research

  • "What genes are associated with type 2 diabetes?"
  • "Find genetic risk factors for coronary artery disease"
  • "Which genes contribute to Alzheimer's disease susceptibility?"

Drug Target Discovery

  • Identify genes with strong genetic evidence for disease causation
  • Prioritize targets based on L2G scores and replication across studies
  • Find genes with genome-wide significant associations (p < 5e-8)

Functional Genomics

  • Map disease-associated variants to candidate genes
  • Analyze genetic architecture of complex traits
  • Understand polygenic disease mechanisms

Workflow

1. Trait Search → Search GWAS Catalog by disease/trait name
       ↓
2. SNP Aggregation → Collect genome-wide significant SNPs (p < 5e-8)
       ↓
3. Gene Mapping → Extract mapped genes from associations
       ↓
4. Evidence Ranking → Score by p-value, replication, fine-mapping
       ↓
5. Annotation (Optional) → Add L2G predictions from Open Targets

Key Concepts

Genome-wide Significance

  • Standard threshold: p < 5×10⁻⁸
  • Accounts for multiple testing burden across ~1M common variants
  • Higher confidence: p < 5×10⁻¹⁰ or replicated across studies

Gene Mapping Methods

  • Positional: Nearest gene to lead SNP
  • Fine-mapping: Statistical refinement to credible variants
  • Locus-to-Gene (L2G): Integrative score combining multiple evidence types

Evidence Confidence Levels

  • High: L2G score > 0.5 OR multiple studies with p < 5e-10
  • Medium: 2+ studies with p < 5e-8
  • Low: Single study or marginal significance

Required ToolUniverse Tools

GWAS Catalog (11 tools)

  • gwas_get_associations_for_trait - Get all associations for a trait (sorted by p-value). NOTE: This tool is BROKEN -- use gwas_search_associations(query=trait) as a working alternative
  • gwas_search_snps - Search SNPs by gene mapping
  • gwas_get_snp_by_id - Get SNP details (MAF, consequence, location)
  • gwas_get_study_by_id - Get study metadata
  • gwas_search_associations - Search associations with filters (RECOMMENDED for trait lookups)
  • gwas_search_studies - Search studies by trait/cohort
  • gwas_get_associations_for_snp - Get all associations for a SNP
  • gwas_get_variants_for_trait - Get variants for a trait. Supports p_value_threshold parameter for server-side filtering (see notes below)
  • gwas_get_studies_for_trait - Get studies for a trait
  • gwas_get_snps_for_gene - Get SNPs mapped to a gene. Parameter is gene_symbol (NOT mapped_gene)
  • gwas_get_associations_for_study - Get associations from a study

Open Targets Genetics (6 tools)

  • OpenTargets_search_gwas_studies_by_disease - Search studies by disease ontology
  • OpenTargets_get_study_credible_sets - Get fine-mapped loci for a study
  • OpenTargets_get_variant_credible_sets - Get credible sets for a variant
  • OpenTargets_get_variant_info - Get variant annotation (frequencies, consequences)
  • OpenTargets_get_gwas_study - Get study metadata
  • OpenTargets_get_credible_set_detail - Get detailed credible set information

Parameters

Required

  • trait - Disease/trait name (e.g., "type 2 diabetes", "coronary artery disease")

Optional

  • p_value_threshold - Significance threshold (default: 5e-8)
  • min_evidence_count - Minimum number of studies (default: 1)
  • max_results - Maximum genes to return (default: 100)
  • use_fine_mapping - Include L2G predictions (default: true)
  • disease_ontology_id - Disease ontology ID for Open Targets (e.g., "MONDO_0005148")

Output Schema

{
  "genes": [
    {
      "symbol": str,              # Gene symbol (e.g., "TCF7L2")
      "min_p_value": float,       # Most significant p-value
      "evidence_count": int,      # Number of independent studies
      "snps": [str],              # Associated SNP rs IDs
      "studies": [str],           # GWAS study accessions
      "l2g_score": float | null,  # Locus-to-gene score (0-1)
      "credible_sets": int,       # Number of credible sets
      "confidence_level": str     # "High", "Medium", or "Low"
    }
  ],
  "summary": {
    "trait": str,
    "total_associations": int,
    "significant_genes": int,
    "data_sources": ["GWAS Catalog", "Open Targets"]
  }
}

Example Results

Type 2 Diabetes

TCF7L2:  p=1.2e-98, 15 studies, L2G=0.82 → High confidence
KCNJ11:  p=3.4e-67, 12 studies, L2G=0.76 → High confidence
PPARG:   p=2.1e-45, 8 studies,  L2G=0.71 → High confidence
FTO:     p=5.6e-42, 10 studies, L2G=0.68 → High confidence
IRS1:    p=8.9e-38, 6 studies,  L2G=0.54 → High confidence

Alzheimer's Disease

APOE:    p=1.0e-450, 25 studies, L2G=0.95 → High confidence
BIN1:    p=2.3e-89,  18 studies, L2G=0.88 → High confidence
CLU:     p=4.5e-67,  16 studies, L2G=0.82 → High confidence
ABCA7:   p=6.7e-54,  14 studies, L2G=0.79 → High confidence
CR1:     p=8.9e-52,  13 studies, L2G=0.75 → High confidence

Best Practices

1. Use Disease Ontology IDs for Precision

# Instead of:
discover_gwas_genes("diabetes")  # Ambiguous

# Use:
discover_gwas_genes(
    "type 2 diabetes",
    disease_ontology_id="MONDO_0005148"  # Specific
)

2. Filter by Evidence Strength

# For drug targets, require strong evidence:
discover_gwas_genes(
    "coronary artery disease",
    p_value_threshold=5e-10,    # Stricter than GWAS threshold
    min_evidence_count=3,       # Multiple independent studies
    use_fine_mapping=True       # Include L2G predictions
)

3. Interpret Results Carefully

  • Association ≠ Causation: GWAS identifies correlated variants, not necessarily causal genes
  • Linkage Disequilibrium: Lead SNP may tag the true causal variant in a nearby gene
  • Fine-mapping: L2G scores provide better causal gene evidence than positional mapping
  • Functional Evidence: Validate with orthogonal data (eQTLs, knockout models, etc.)

Tool-Specific Notes (Updated)

gwas_get_variants_for_trait -- p-value Filtering

This tool now accepts an optional p_value_threshold parameter for server-side p-value filtering. When provided, the GWAS Catalog API filters variants to only return those below the specified threshold.

# Server-side filtering (preferred -- reduces data transfer)
result = tu.tools.gwas_get_variants_for_trait(
    trait="type 2 diabetes",
    p_value_threshold=5e-8
)

Client-side fallback: When the API returns unfiltered results (some trait queries ignore the threshold parameter), the tool also applies client-side p-value filtering. This means you may see fewer results than expected if the API returned pre-filtered data and the client filter applies again. Always check the actual p-values in the returned data.

gwas_get_associations_for_trait -- BROKEN

This tool returns errors for most queries. Use gwas_search_associations(query=<trait>) as a reliable alternative. The response format is {data: [{...}], metadata: {...}}.

gwas_get_snps_for_gene -- Parameter Rename

The parameter was renamed from mapped_gene to gene_symbol for clarity. Use:

result = tu.tools.gwas_get_snps_for_gene(gene_symbol="TCF7L2")

Programmatic Access (Beyond Tools)

When ToolUniverse tools return limited results or you need the full GWAS Catalog:

import requests, pandas as pd

# Download full GWAS Catalog (all associations, ~37MB TSV)
url = "https://www.ebi.ac.uk/gwas/api/search/downloads/alternative"
df = pd.read_csv(url, sep="\t")
# Filter locally by trait or gene
hits = df[df["DISEASE/TRAIT"].str.contains("type 2 diabetes", case=False, na=False)]
gene_hits = df[df["MAPPED_GENE"].str.contains("TCF7L2", na=False)]

# Per-study associations via REST
study_id = "GCST001234"
assocs = requests.get(f"https://www.ebi.ac.uk/gwas/rest/api/studies/{study_id}/associations").json()

# Summary statistics (when available)
# Check study page for fullPvalueSet=true, then download from linked FTP

See tooluniverse-data-wrangling skill for pagination, bulk download, and format parsing patterns.


Limitations

  1. Gene Mapping Uncertainty

- Positional mapping assigns SNPs to nearest gene (may be incorrect) - Fine-mapping available for only a subset of studies - Intergenic variants difficult to map

  1. Population Bias

- Most GWAS in European populations - Effect sizes may differ across ancestries - Rare variants often under-represented

  1. Sample Size Dependence

- Larger studies detect more associations - Older small studies may have false negatives - p-values alone don't indicate effect size

  1. Validation Bug

- Some ToolUniverse tools have oneOf validation issues - Use validate=False parameter if needed - This is automatically handled in the Python implementation

Related Skills

  • Variant-to-Disease Association: Look up specific SNPs (e.g., rs7903146 → T2D)
  • Gene-to-Disease Links: Find diseases associated with known genes
  • Drug Target Prioritization: Rank targets by genetic evidence
  • Population Genetics Analysis: Compare allele frequencies across populations

Data Sources

GWAS Catalog

Open Targets Genetics

Citation

If you use this skill in research, please cite:

Buniello A, et al. (2019) The NHGRI-EBI GWAS Catalog of published genome-wide
association studies. Nucleic Acids Research, 47(D1):D1005-D1012.

Mountjoy E, et al. (2021) An open approach to systematically prioritize causal
variants and genes at all published human GWAS trait-associated loci.
Nature Genetics, 53:1527-1533.

Support

For issues with:

  • Skill functionality: Open issue at tooluniverse/skills
  • GWAS data: Contact GWAS Catalog or Open Targets support
  • Tool errors: Check ToolUniverse tool status

平台分布

Codex

34.54%
按下载量换算492

Claude

28.78%
按下载量换算410

Cursor

20.9%
按下载量换算298

Gemini CLI

11.02%
按下载量换算157

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills