gwas-database

Retrieve SNP-trait associations from the NHGRI-EBI GWAS Catalog via REST API.

52|6|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/ovachiever/droid-tings --skill gwas-database-ovachiever
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gwas-database
Source: https://github.com/ovachiever/droid-tings/tree/main/skills/gwas-database
Command: npx skills add https://github.com/ovachiever/droid-tings --skill gwas-database-ovachiever

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill enables researchers to explore GWAS Catalog SNP-trait associations, retrieve variant and trait data, and access studies and publications for genetic epidemiology work.

Core Features & Use Cases

  • Variant & Trait Searches: Look up SNP-trait associations and related studies.
  • Study Metadata: Retrieve publication data, cohort information, and ancestries.
  • Summary Statistics: Access GWAS summary data for large-scale analyses.

Quick Start

Retrieve associations for a trait like type 2 diabetes and print results.

Frequently Asked Questions about gwas-database

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

FAQPage Schema
How do I query SNP-trait associations from the GWAS Catalog?

Query SNP-trait associations by rs ID, disease, trait, gene, or chromosomal region. The Skill retrieves p-values, effect sizes, and study metadata from the NHGRI-EBI GWAS Catalog REST API, enabling rapid lookup for genetic epidemiology and polygenic risk score workflows.

What summary statistics can I retrieve from GWAS Catalog data?

GWAS summary statistics include p-values, effect sizes, study metadata, publication details, cohort information, and ancestries. The Skill aggregates these across SNP-trait associations, supporting large-scale genetic epidemiology analysis and downstream PRS calculations.

Can I batch retrieve multiple SNP-trait associations efficiently?

Yes. The Skill supports rate-limited, batched retrieval via HAL-formatted JSON responses and pagination. It processes REST API access patterns (GET endpoints, projection filters) to enable efficient aggregation of associations for multiple variants or traits.

What data formats does the GWAS Catalog API return?

The GWAS Catalog returns HAL-formatted JSON responses. The Skill processes these standardized JSON structures with pagination and projection filters, making results compatible with downstream analytics pipelines and genetic epidemiology tools.

Do I need prior knowledge of GWAS methods to use this Skill?

Basic familiarity with GWAS concepts (SNPs, traits, p-values) helps, but the Skill abstracts REST API complexity. It handles pagination, rate limiting, and response parsing, lowering the barrier for researchers integrating GWAS data into epidemiological workflows.

What are the limitations when querying large-scale trait data?

Rate limiting applies to GWAS Catalog API requests. For large-scale analyses across many variants or traits, batch queries strategically and implement pagination to avoid throttling. The Skill manages these constraints but queries may require staged retrieval.