gwas-database

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

557|98|Updated Nov 7, 2025
One-click install
npx skills add https://github.com/jimmc414/Kosmos --skill gwas-database-jimmc414
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gwas-database
Source: https://github.com/jimmc414/Kosmos/tree/main/kosmos-claude-scientific-skills/scientific-skills/gwas-database
Command: npx skills add https://github.com/jimmc414/Kosmos --skill gwas-database-jimmc414

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides access to the NHGRI-EBI GWAS Catalog, enabling users to query and retrieve information about genetic variants and their associations with diseases and traits, facilitating genetic epidemiology research.

Core Features & Use Cases

  • SNP-Trait Association Lookup: Find SNPs associated with specific diseases or traits.
  • Variant Information Retrieval: Get details for a given rs ID, including associated traits and p-values.
  • Gene-Based Searches: Discover variants located in or near specific genes.
  • Use Case: A researcher wants to identify all known genetic variants associated with Type 2 Diabetes and retrieve their p-values and effect sizes to build a polygenic risk score.

Quick Start

Use the gwas-database skill to find all SNP-trait associations for the trait 'type 2 diabetes'.

Frequently Asked Questions about gwas-database

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

FAQPage Schema
How do I find SNPs associated with a specific disease or trait in the GWAS Catalog?▼

To find SNP-trait associations, query the GWAS Catalog by specifying the disease or trait name. The skill retrieves matching genetic variants along with their p-values, effect sizes, and study metadata for genetic epidemiology research.

Can I search for genetic variants by gene name or chromosomal region?▼

Yes, you can search for genetic variants by gene name or chromosomal region. The skill queries the NHGRI-EBI GWAS Catalog REST API to locate variants in or near specific genes and retrieves their associated traits and summary statistics.

What is the best way to retrieve p-values and effect sizes for a specific rs ID?▼

The best way to retrieve p-values and effect sizes for a specific rs ID is to query the GWAS Catalog using the variant ID. This returns detailed variant information including associated traits and statistical significance data.

How do I get study metadata and summary statistics for polygenic risk score development?▼

To develop polygenic risk scores, query the GWAS Catalog for your target trait to retrieve SNP-trait associations, study metadata, and summary statistics. This data provides the variant effect sizes needed for risk score calculation.

Does the gwas-database skill require any external dependencies or setup?▼

No external dependencies are required. The skill operates independently by querying the NHGRI-EBI GWAS Catalog REST API directly, though it can integrate with external genomic databases for more comprehensive analysis when needed.

Can I use this skill to search GWAS data by chromosomal location instead of trait name?▼

Yes, the skill supports searching by chromosomal region in addition to variant ID, disease or trait name, and gene. This allows targeted retrieval of SNP-trait associations within specific genomic intervals.