tooluniverse-gwas-trait-to-gene

Discover causal genes for diseases from GWAS data using Open Targets L2G scoring.

1.7k|254|Updated Mar 3, 2025
One-click install
npx skills add https://github.com/mims-harvard/ToolUniverse --skill tooluniverse-gwas-trait-to-gene
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tooluniverse-gwas-trait-to-gene
Source: https://github.com/mims-harvard/ToolUniverse/tree/main/plugins/tooluniverse/skills/tooluniverse-gwas-trait-to-gene
Command: npx skills add https://github.com/mims-harvard/ToolUniverse --skill tooluniverse-gwas-trait-to-gene

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires tooluniverse, requests, pandas.

What problem does it solve?

Positional 'nearest gene' mapping from GWAS hits is often wrong, and manually aggregating associations across studies is slow and error-prone. This Skill maps traits to candidate causal genes using multi-evidence locus-to-gene (L2G) scores that integrate eQTL, chromatin interaction, and distance data.

Core Features & Use Cases

  • Trait-to-Gene Discovery: Search GWAS Catalog and Open Targets Genetics for genome-wide significant associations (p < 5e-8) for any disease or trait.
  • Evidence-Based Ranking: Rank genes by p-value, replication across independent studies, and L2G fine-mapping scores with High/Medium/Low confidence levels.
  • Drug Target Hypothesis Generation: Prioritize targets with strong genetic evidence, e.g., discovering TCF7L2, KCNJ11, and PPARG as high-confidence genes for type 2 diabetes.

Quick Start

Ask the AI to find genes associated with type 2 diabetes using GWAS data with L2G fine-mapping scores and a significance threshold of 5e-8.

Frequently Asked Questions about tooluniverse-gwas-trait-to-gene

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I find genes associated with a disease from GWAS data?

Search GWAS Catalog associations for the trait using gwas_search_associations, filter by genome-wide significance (p < 5e-8), then aggregate mapped genes across studies. Enrich results with Open Targets L2G scores for fine-mapped causal gene predictions.

What is an L2G score in GWAS gene mapping?

L2G (locus-to-gene) is an Open Targets score from 0 to 1 that integrates eQTL, chromatin interaction, and distance evidence to predict causal genes. A score above 0.5 is considered a strong prediction, outperforming nearest-gene positional mapping.

Why is gwas_get_associations_for_trait not working?

This tool returns errors for most queries and is documented as broken. Use gwas_search_associations with the trait as the query parameter instead, which returns data in a {data, metadata} response format.

Does GWAS association prove a gene causes disease?

No. GWAS identifies correlated variants, not confirmed causal genes, and linkage disequilibrium means the lead SNP may tag a nearby gene. Treat results as ranked candidates requiring replication across cohorts and orthogonal validation such as eQTL or knockout data.

What are the limitations of GWAS trait-to-gene mapping?

Most GWAS use European populations, so effect sizes and implicated genes can differ across ancestries. Fine-mapping covers only a subset of studies, intergenic variants are hard to map, and small older studies may produce false negatives.