Agent skill

Gwas Study Explorer

by lamm-mit in lamm-mit/scienceclaw

ToolUniverse workflow — Gwas Study Explorer. An agent skill from lamm-mit/scienceclaw.

Apache-2.0Auto-check passedDatabases

Install Gwas Study Explorer

skills CLI
$ npx skills add lamm-mit/scienceclaw --skill gwas-study-explorer -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install lamm-mit/scienceclaw gwas-study-explorer --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/lamm-mit/scienceclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/gwas-study-explorer .claude/skills/gwas-study-explorer && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
gwas-study-explorer
GitHub stars
244
Token cost
~3k tokens
SKILL.md length
1,322 words
Files
3 (incl. scripts)
Skills in repo
85
Repo updated
First seen
Licence
Apache-2.0

At a glance

ToolUniverse workflow — Gwas Study Explorer. An agent skill from lamm-mit/scienceclaw.

  • Works in 4 steps: Comprehensive Trait Analysis → Locus-Specific Meta-Analysis → Replication Analysis → …
  • Databases work in your project
  • SKILL.md covers Overview, Use Cases, Statistical Methods and Study Quality Assessment, plus 7 more sections
  • Runs Python scripts from its folder

What it does

Gwas Study Explorer is an agent skill from lamm-mit/scienceclaw. ToolUniverse workflow — Gwas Study Explorer

Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files, including scripts (for example `scripts/run.py`).

It sits in Databases. The licence is Apache-2.0.

When your agent uses it

  • Databases work in your project

Example prompts

  • “/gwas-study-explorer”

Requirements

  • Python 3

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Comprehensive Trait Analysis
  2. Locus-Specific Meta-Analysis
  3. Replication Analysis
  4. Multi-Ancestry Comparison

What it can do on your machine

Read from SKILL.md and the folder at commit ab9aba1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Gwas Study Explorer loads about 3k tokens when it runs. Until then it costs about 16 tokens; SKILL.md has 1,322 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~16
When it runs · the whole SKILL.md, loaded when a task matches
~3k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from lamm-mit/scienceclaw at commit ab9aba1, republished under its Apache-2.0 licence (© lamm-mit). 1,322 words, ~2,970 tokens.

Download SKILL.mdSave it as .claude/skills/gwas-study-explorer/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
gwas-study-explorer
description
ToolUniverse workflow — Gwas Study Explorer
source
https://github.com/mims-harvard/ToolUniverse/tree/main/skills/tooluniverse-gwas-study-explorer

name: tooluniverse-gwas-study-explorer description: Compare GWAS studies, perform meta-analyses, and assess replication across cohorts. Integrates NHGRI-EBI GWAS Catalog and Open Targets Genetics to compare study designs, effect sizes, ancestry diversity, and heterogeneity statistics. Use when comparing GWAS studies for a trait, performing meta-analysis of genetic loci, assessing replication across cohorts, or exploring the genetic architecture of complex diseases.

GWAS Study Deep Dive & Meta-Analysis

Compare GWAS studies, perform meta-analyses, and assess replication across cohorts


Overview

The GWAS Study Deep Dive & Meta-Analysis skill enables comprehensive comparison of genome-wide association studies (GWAS) for the same trait, meta-analysis of genetic loci across studies, and systematic assessment of replication and study quality. It integrates data from the NHGRI-EBI GWAS Catalog and Open Targets Genetics to provide a complete picture of the genetic architecture of complex traits.

Key Capabilities
  1. Study Comparison: Compare all GWAS studies for a trait, assessing sample sizes, ancestries, and platforms
  2. Meta-Analysis: Aggregate effect sizes across studies and calculate heterogeneity statistics
  3. Replication Assessment: Identify replicated vs novel findings across discovery and replication cohorts
  4. Quality Evaluation: Assess statistical power, ancestry diversity, and data availability

Use Cases

1. Comprehensive Trait Analysis

Scenario: "I want to understand all available GWAS data for type 2 diabetes"

Workflow:

  • Search for all T2D studies in GWAS Catalog
  • Filter by sample size and ancestry
  • Extract top associations from each study
  • Identify consistently replicated loci
  • Assess ancestry-specific effects

Outcome: Complete landscape of T2D genetics with replicated findings and population-specific signals

2. Locus-Specific Meta-Analysis

Scenario: "Is the TCF7L2 association with T2D consistent across all studies?"

Workflow:

  • Retrieve all TCF7L2 (rs7903146) associations for T2D
  • Calculate combined effect size and p-value
  • Assess heterogeneity (I² statistic)
  • Generate forest plot data
  • Interpret heterogeneity level

Outcome: Quantitative assessment of effect size consistency with heterogeneity interpretation

3. Replication Analysis

Scenario: "Which findings from the discovery cohort replicated in the independent sample?"

Workflow:

  • Get top hits from discovery study
  • Check for presence and significance in replication study
  • Assess direction consistency
  • Calculate replication rate
  • Identify novel vs failed replication

Outcome: Systematic replication report with success rates and failed findings

4. Multi-Ancestry Comparison

Scenario: "Are T2D loci consistent across European and East Asian populations?"

Workflow:

  • Filter studies by ancestry
  • Compare top associations between populations
  • Identify shared vs population-specific loci
  • Assess allele frequency differences
  • Evaluate transferability of genetic risk scores

Outcome: Ancestry-specific genetic architecture with transferability assessment


Statistical Methods

Meta-Analysis Approach

This skill implements standard GWAS meta-analysis methods:

Fixed-Effects Model:

  • Used when heterogeneity is low (I² < 25%)
  • Weights studies by inverse variance
  • Assumes true effect size is the same across studies

Random-Effects Model (recommended when I² > 50%):

  • Accounts for between-study variation
  • More conservative than fixed-effects
  • Better for diverse ancestries or methodologies

Heterogeneity Assessment:

The I² statistic measures the percentage of variance due to between-study heterogeneity:

I² = [(Q - df) / Q] × 100%

where Q = Cochran's Q statistic
      df = degrees of freedom (n_studies - 1)

Interpretation Guidelines:

  • I² < 25%: Low heterogeneity → fixed-effects appropriate
  • I² = 25-50%: Moderate heterogeneity → investigate sources
  • I² = 50-75%: Substantial heterogeneity → random-effects preferred
  • I² > 75%: Considerable heterogeneity → meta-analysis may not be appropriate
Sources of Heterogeneity

Common reasons for high I²:

  1. Ancestry differences: Different allele frequencies and LD structure
  2. Phenotype heterogeneity: Trait definition varies across studies
  3. Platform differences: Imputation quality and coverage
  4. Winner's curse: Discovery studies overestimate effect sizes
  5. Cohort characteristics: Age, sex, environmental factors

Recommendations:

  • Perform subgroup analysis by ancestry
  • Use meta-regression to investigate sources
  • Consider excluding outlier studies
  • Apply genomic control correction

Study Quality Assessment

Quality Metrics

The skill evaluates studies based on:

1. Sample Size:

  • Power to detect associations (80% power requires n > 10,000 for OR=1.2)
  • Precision of effect size estimates
  • Ability to detect modest effects

2. Ancestry Diversity:

  • Single-ancestry vs multi-ancestry
  • Population stratification control
  • Transferability of findings

3. Data Availability:

  • Summary statistics available for meta-analysis
  • Individual-level data vs summary-level
  • Imputation quality scores

4. Genotyping Quality:

  • Platform density and coverage
  • Imputation reference panel
  • Quality control measures

5. Statistical Rigor:

  • Genome-wide significance threshold (p < 5×10⁻⁸)
  • Multiple testing correction
  • Replication in independent cohort
Quality Tiers

Tier 1 (High Quality):

  • n ≥ 50,000
  • Summary statistics available
  • Multi-ancestry or large single-ancestry
  • Imputed to high-quality reference
  • Independent replication

Tier 2 (Moderate Quality):

  • n ≥ 10,000
  • Standard GWAS platform
  • Adequate power for common variants
  • Some data availability

Tier 3 (Limited):

  • n < 10,000
  • Limited power
  • May miss modest effects
  • Use with caution

Best Practices

Before Meta-Analysis
  1. Check phenotype consistency: Ensure studies measure the same trait
  2. Verify ancestry overlap: High heterogeneity expected if ancestries differ
  3. Harmonize alleles: Align effect alleles across studies
  4. Quality control: Exclude low-quality studies or associations
Interpreting Results
  1. Genome-wide significance: p < 5×10⁻⁸ (Bonferroni for ~1M independent tests)
  2. Replication threshold: p < 0.05 in independent cohort
  3. Direction consistency: Effect should be same direction across studies
  4. Heterogeneity: I² > 50% suggests caution in interpretation
Common Pitfalls

❌ Don't:

  • Meta-analyze without checking heterogeneity
  • Ignore ancestry differences
  • Over-interpret nominal p-values
  • Assume replication failure means false positive

✅ Do:

  • Always report I² statistic
  • Perform sensitivity analyses
  • Consider ancestry-stratified analysis
  • Account for winner's curse in discovery studies

Show full SKILL.md (514 more words)Show less

Limitations & Caveats

Data Limitations
  1. Incomplete Overlap: Studies may analyze different SNPs
  2. Cohort Overlap: Some cohorts participate in multiple studies (inflates significance)
  3. Publication Bias: Significant findings more likely to be published
  4. Winner's Curse: Discovery studies overestimate effect sizes
  5. Imputation Quality: Varies across studies and populations
Statistical Limitations
  1. Heterogeneity: High I² may preclude meaningful meta-analysis
  2. Sample Size Differences: Large studies dominate fixed-effects models
  3. Allele Frequency Differences: Same variant has different effects across ancestries
  4. Linkage Disequilibrium: Fine-mapping needed to identify causal variants
  5. Gene-Environment Interactions: Not captured in standard meta-analysis
Interpretation Guidelines

When I² > 75%:

  • Meta-analysis results should be interpreted with extreme caution
  • Investigate sources of heterogeneity systematically
  • Consider ancestry-specific or subgroup analyses
  • Descriptive comparison may be more appropriate than meta-analysis

When Studies Conflict:

  • Check for methodological differences
  • Verify phenotype definitions match
  • Investigate population stratification
  • Consider conditional analysis

Scientific References

Key Publications
  1. GWAS Best Practices:

    • Visscher et al. (2017). "10 Years of GWAS Discovery" American Journal of Human Genetics 101(1): 5-22
    • PMID: 28686856
    • DOI: 10.1016/j.ajhg.2017.06.005
  2. Meta-Analysis Methods:

    • Evangelou & Ioannidis (2013). "Meta-analysis methods for genome-wide association studies and beyond" Nature Reviews Genetics 14: 379-389
    • PMID: 23657481
  3. Heterogeneity Interpretation:

    • Higgins et al. (2003). "Measuring inconsistency in meta-analyses" BMJ 327: 557-560
    • PMID: 12958120
  4. Multi-Ancestry GWAS:

    • Peterson et al. (2019). "Genome-wide Association Studies in Ancestrally Diverse Populations" Nature Reviews Genetics 20: 409-422
    • PMID: 30926972
  5. Replication Standards:

    • Chanock et al. (2007). "Replicating genotype-phenotype associations" Nature 447: 655-660
    • PMID: 17554299

Tools Used

GWAS Catalog API
  • gwas_search_studies: Find studies by trait
  • gwas_get_study_by_id: Get detailed study metadata
  • gwas_get_associations_for_study: Retrieve study associations
  • gwas_get_associations_for_snp: Get SNP associations across studies
  • gwas_search_associations: Search associations by trait
Open Targets Genetics GraphQL API
  • OpenTargets_search_gwas_studies_by_disease: Disease-based study search
  • OpenTargets_get_gwas_study: Detailed study information with LD populations
  • OpenTargets_get_variant_credible_sets: Fine-mapped loci for variant
  • OpenTargets_get_study_credible_sets: All credible sets for study
  • OpenTargets_get_variant_info: Variant annotation and allele frequencies

Glossary

Association: Statistical relationship between a genetic variant and a trait

Credible Set: Set of variants likely to contain the causal variant (from fine-mapping)

Effect Size: Magnitude of genetic association (beta coefficient or odds ratio)

Fine-Mapping: Statistical method to identify causal variants within a locus

Genome-Wide Significance: p < 5×10⁻⁸, accounting for ~1M independent tests

Heterogeneity (I²): Percentage of variance due to between-study differences

L2G (Locus-to-Gene): Score predicting which gene is affected by a GWAS locus

LD (Linkage Disequilibrium): Non-random association of alleles at different loci

Meta-Analysis: Statistical combination of results from multiple studies

Replication: Independent confirmation of an association in a new cohort

Summary Statistics: Per-SNP statistics (p-value, beta, SE) from GWAS

Winner's Curse: Overestimation of effect size in discovery studies


Next Steps

After running this skill, consider:

  1. Fine-Mapping: Use credible sets from Open Targets to identify causal variants
  2. Functional Follow-Up: Investigate biological mechanisms of replicated loci
  3. Genetic Risk Scores: Calculate polygenic risk scores using validated loci
  4. Drug Target Identification: Use L2G scores to prioritize therapeutic targets
  5. Cross-Trait Analysis: Look for pleiotropy with related traits

Version History

  • v1.0 (2026-02-13): Initial release with study comparison, meta-analysis, and replication assessment

Created by: ToolUniverse GWAS Analysis Team Last Updated: 2026-02-13 License: Open source (MIT)

© lamm-mit, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in skills/gwas-study-explorer of lamm-mit/scienceclaw.

  • SKILL.md
  • scripts/__pycache__/run.cpython-313.pyc
  • scripts/run.py

Open the folder on GitHubat commit ab9aba1

Compare with similar skills

Gwas Study Explorer next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Gwas Study Explorer compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Gwas Study Explorer this skilllamm-mit/scienceclaw244—~3kAutomated safety check: PassApache-2.0
Evolving The Data ModelTriliumNext/Trilium38k—~2.1kAutomated safety check: PassAGPL-3.0
Hybrid Cloud Outboxesgetsentry/sentry45k—~4.8kAutomated safety check: PassCustom licence
Iptvnator Sqlite DB Worker4gray/iptvnator7.3k—~824Automated safety check: PassMIT
Replicate Video AdJingyi-Wu-Richael/replicate-video-ad1061 repos~1.6kAutomated safety check: PassNone
Content Create Hero Imageprisma/web1.1k—~6.9kAutomated safety check: PassNone

Similar skills

  • Evolving The Data Model

    TriliumNext/Trilium

    A skill your agent uses when adding a DB migration or a new column/field to a Becca entity in Trilium ("add a migration", "new column on notes/attributes", "ALTER TABLE", "add a field to…

    38k GitHub stars~2.1k tokensUpdated today
    DatabasesAuto-check passed
  • Hybrid Cloud Outboxes

    getsentry/sentry

    Official

    Guide for creating and maintaining outbox-based eventually consistent operations in Sentry.

    45k GitHub stars~4.8k tokensUpdated today
    DatabasesAuto-check passed
  • A skill your agent uses when changing Electron SQLite IPC, database-worker operations, request-scoped progress or cancellation, worker packaging, or runtime verification of non-EPG database work.

    7.3k GitHub stars~824 tokensUpdated yesterday
    DatabasesAuto-check passed
  • Replicate Video Ad

    Jingyi-Wu-Richael/replicate-video-ad

    Analyze a reference video frame by frame and turn its visual grammar, story beats, dialogue, product reveal, proof sequence, and conversion structure into a production-ready ecommerce story-ad…

    106 GitHub starsUsed in 1 repo~1.6k tokens
    DatabasesAuto-check passed
  • Official

    A skill your agent uses when the operator wants a hero or meta image for a Prisma blog post; asks to create or generate a blog hero, cover, social card, Open Graph, or YouTube image; mentions cover…

    1.1k GitHub stars~6.9k tokensUpdated today
    DatabasesAuto-check passed
  • AI Partner Chat

    eze-is/ai-partner-chat

    基于用户画像和向量化笔记提供个性化对话。当用户需要个性化交流、上下文感知的回应,或希望 AI 记住并引用其之前的想法和笔记时使用。

    213 GitHub starsUsed in 1 repo~3k tokens
    DatabasesAuto-check passed

More from lamm-mit/scienceclaw

All 85 skills in this repo
  • Fred Economic Data

    lamm-mit/scienceclaw

    Query FRED (Federal Reserve Economic Data) API for 800,000+ economic time series from 100+ sources.

    244 GitHub starsUsed in 4 repos~3k tokens
    Auto-check passed
  • Drug Research

    lamm-mit/scienceclaw

    Generates comprehensive drug research reports with compound disambiguation, evidence grading, and mandatory completeness sections.

    244 GitHub starsUsed in 3 repos~1.7k tokens
    Auto-check passed
  • Imaging Data Commons

    lamm-mit/scienceclaw

    Query and download public cancer imaging data from NCI Imaging Data Commons using idc-index.

    244 GitHub starsUsed in 5 repos~11k tokens
    Auto-check passed
  • Rowan

    lamm-mit/scienceclaw

    Cloud-based quantum chemistry platform with Python API. An agent skill from lamm-mit/scienceclaw.

    244 GitHub starsUsed in 4 repos~3.1k tokens
    Auto-check: warnings
  • Infographics

    lamm-mit/scienceclaw

    Create professional infographics using Nano Banana Pro AI with smart iterative refinement.

    244 GitHub starsUsed in 6 repos~4.4k tokens
    Auto-check: notes
  • Disease Research

    lamm-mit/scienceclaw

    Generate comprehensive disease research reports using 100+ ToolUniverse tools.

    244 GitHub stars~946 tokensUpdated 1 mo ago
    Auto-check passed

Categories

Questions about Gwas Study Explorer

What does Gwas Study Explorer do?

ToolUniverse workflow — Gwas Study Explorer. An agent skill from lamm-mit/scienceclaw. Gwas Study Explorer is an agent skill from lamm-mit/scienceclaw.

When should I use Gwas Study Explorer?

Gwas Study Explorer fits situations like: databases work in your project.

How do I install Gwas Study Explorer in Claude Code?

Run `npx skills add lamm-mit/scienceclaw --skill gwas-study-explorer -a claude-code`. Or copy the skill folder (skills/gwas-study-explorer in lamm-mit/scienceclaw) into .claude/skills/gwas-study-explorer in your project. Claude Code loads it when a task matches its description.

How do I install Gwas Study Explorer in Codex?

Run `npx skills add lamm-mit/scienceclaw --skill gwas-study-explorer -a codex`. Or copy the skill folder (skills/gwas-study-explorer in lamm-mit/scienceclaw) into .agents/skills/gwas-study-explorer in your project. Codex loads it when a task matches its description.

Can I use Gwas Study Explorer in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add lamm-mit/scienceclaw --skill gwas-study-explorer -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/gwas-study-explorer, .gemini/skills/gwas-study-explorer, .github/skills/gwas-study-explorer and .opencode/skills/gwas-study-explorer in your project.

What does Gwas Study Explorer need to run?

Going by SKILL.md and its folder, Gwas Study Explorer needs Python for the scripts in its folder. Our summary lists: Python 3.

Does Gwas Study Explorer access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Gwas Study Explorer safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Gwas Study Explorer use?

Gwas Study Explorer is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Gwas Study Explorer use?

About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Gwas Study Explorer?

Skills that share tags, products or a category with Gwas Study Explorer: Evolving The Data Model (TriliumNext/Trilium, 38k stars), Hybrid Cloud Outboxes (getsentry/sentry, 45k stars), Iptvnator Sqlite DB Worker (4gray/iptvnator, 7.3k stars) and Replicate Video Ad (Jingyi-Wu-Richael/replicate-video-ad, 106 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Gwas Study Explorer?

lamm-mit (a GitHub user) maintains it in lamm-mit/scienceclaw, which has 244 GitHub stars. The repository holds 85 skills in this directory. The repository was last updated on August 21, 2026.

Source: lamm-mit/scienceclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.