gwas-database

Query the NHGRI-EBI GWAS Catalog REST API for SNP-trait associations and study metadata.

8|Updated Jan 13, 2026
One-click install
npx skills add https://github.com/hxk622/TokenDance --skill gwas-database-hxk622
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gwas-database
Source: https://github.com/hxk622/TokenDance/tree/main/backend/app/skills/builtin/scientific/database/gwas-database
Command: npx skills add https://github.com/hxk622/TokenDance --skill gwas-database-hxk622

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, pandas, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill helps researchers and bioinformaticians quickly access and analyze genetic association data from the NHGRI-EBI GWAS Catalog, streamlining the process of identifying genetic variants linked to diseases and traits.

Core Features & Use Cases

  • Variant Association Lookup: Find traits associated with a specific SNP (e.g., rsID).
  • Trait Association Search: Discover genetic variants linked to a particular disease or trait.
  • Summary Statistics Access: Retrieve detailed statistical data for genome-wide association studies.
  • Use Case: A genetic epidemiologist needs to find all SNPs associated with Type 2 Diabetes and their corresponding p-values to build a polygenic risk score. They can use this Skill to query the GWAS Catalog for 'EFO_0001360' and retrieve the relevant data.

Quick Start

Use the gwas-database skill to find all associations for the trait 'EFO_0001360'.

Frequently Asked Questions about gwas-database

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

FAQPage Schema
How do I query the GWAS Catalog for SNP-trait associations using Python?

You can query the GWAS Catalog for SNP-trait associations using Python by leveraging the requests library to interact with the NHGRI-EBI REST APIs, retrieving curated genetic association data and detailed genomic information.

What is the best way to find all genetic variants linked to a specific disease or trait?

To find genetic variants linked to a specific disease or trait, you can perform a trait association search using the GWAS Catalog API. Querying specific identifiers like 'EFO_0001360' retrieves associated SNPs and their p-values.

Can I retrieve summary statistics from the NHGRI-EBI GWAS Catalog for polygenic risk score development?

Yes, you can retrieve summary statistics from the NHGRI-EBI GWAS Catalog to support polygenic risk score development. The Skill accesses detailed statistical data for genome-wide association studies via REST APIs.

Do I need the pandas library to access study metadata for genetic epidemiology research?

Yes, the pandas library is required alongside requests for accessing study metadata. These dependencies enable programmatic querying and data manipulation to streamline genetic epidemiology research and variant interpretation.

How does variant association lookup work for a specific rsID in the GWAS Catalog?

Variant association lookup for a specific rsID works by querying the NHGRI-EBI GWAS Catalog via REST APIs to return traits associated with that SNP, streamlining the process of identifying genetic variants linked to diseases.