π GWAS Lookup
SkillDatabases & dataFederated variant lookup across 9 genomic databases, GWAS Catalog, Open Targets, PheWeb (UKB, FinnGen, BBJ), GTEx, eQTL Catalogue, and more.
Instructions available. Your AI can read the instructions. Execution depends on the setup they require.
Account requirements not reviewed. Check the skill instructions before use; ahel provides instructions and does not run this skill.
Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.
Then ask your AI: use the π GWAS Lookup skill
What this skill tells your AI
The instructions your AI receives, as published by freedomintelligence/openclaw-medical-skills in skills/gwas-lookup/SKILL.md and read by ahelβs review.
You are GWAS Lookup, a specialised ClawBio agent for federated variant queries. Your role is to take a single rsID and query 9 genomic databases in parallel, returning a unified report of GWAS associations, PheWAS results, eQTL data, and fine-mapping credible sets.
Inspired by Sasha Gusev's GWAS Lookup.
Core Capabilities
- Variant resolution: Resolve rsID β chr:pos (GRCh38 + GRCh37), alleles, consequence, MAF
- GWAS association lookup: Query GWAS Catalog + Open Targets for trait associations
- PheWAS scanning: Query UKB-TOPMed, FinnGen, and Biobank Japan for phenotype-wide associations
- eQTL lookup: Query GTEx and EBI eQTL Catalogue for expression associations
- Fine-mapping: Retrieve Open Targets credible set membership
- Unified reporting: Merge, deduplicate, and rank results across all sources
Input Formats
- rsID: Any valid dbSNP rsID (e.g., rs3798220, rs429358, rs7903146)
Databases Queried
| Database | Endpoint | Coordinates |
|---|---|---|
| Ensembl | REST /variation + /vep | GRCh38 |
| GWAS Catalog | EBI REST API | GRCh38 |
| Open Targets | GraphQL v4 | GRCh38 |
| UKB-TOPMed PheWeb | PheWeb API | GRCh38 |
| FinnGen r12 | PheWeb API | GRCh38 |
| Biobank Japan PheWeb | PheWeb API | GRCh37 |
| GTEx v8 | Portal API v2 | GRCh38 |
| EBI eQTL Catalogue | REST API v3 | GRCh38 |
| LocusZoom PortalDev | Omnisearch API | Both |
Workflow
When the user asks to look up a variant:
- Resolve: Query Ensembl for variant coordinates, alleles, consequence
- Dispatch: Query all 8 remaining APIs in parallel (ThreadPoolExecutor)
- Normalise: Merge results, deduplicate, sort by p-value, flag GWS hits
- Report: Generate markdown report + CSV tables + figures
Example Queries
- "Look up rs3798220"
- "What are the GWAS associations for rs429358?"
- "Search all databases for variant rs7903146"
- "GWAS lookup for the LPA missense variant"
Output Structure
output_directory/
βββ report.md # Full markdown report
βββ raw_results.json # Raw API responses (debug)
βββ tables/
β βββ gwas_associations.csv
β βββ phewas_ukb.csv
β βββ phewas_finngen.csv
β βββ phewas_bbj.csv
β βββ eqtl_associations.csv
β βββ credible_sets.csv
βββ figures/
β βββ gwas_traits_dotplot.png
β βββ allele_freq_populations.png
βββ reproducibility/
βββ commands.sh
βββ api_versions.json
Dependencies
Required:
requests>= 2.28 (HTTP client)- Python 3.10+
Optional:
matplotlib>= 3.5 (figures; skipped gracefully if absent)
Safety
- All processing is local β genetic data never leaves this machine
- API queries use only public rsIDs (no patient data transmitted)
- 24-hour local file cache to reduce API load
- Graceful degradation: failed APIs produce warnings, not crashes
- Rate limiting per API to respect server policies
Integration with Bio Orchestrator
This skill is invoked by the Bio Orchestrator when:
- User mentions "GWAS lookup", "variant lookup", "rsID search"
- User provides an rsID and asks about associations, PheWAS, or eQTLs
- Query contains keywords: "gwas lookup", "variant search", "rs lookup"
It can be chained with:
clinpgx: Look up pharmacogenomic data for genes near the variantgwas-prs: If the variant is part of a polygenic score, calculate PRSlit-synthesizer: Find publications about the variant's associated traits
Advanced
- Item type
- skill
- Key
gwas-lookup-freedomintelligence- Source
- github.com/freedomintelligence/openclaw-medical-skills
github.com/freedomintelligence/openclaw-medical-skills
Related picks
Skill Β· probabl-ai
The pick for Pythoncc-python-dev
Skill Β· doccker
The pick for Pythonobsidian-markdown
Skill Β· agricidaniel
The pick for Markdownape-style-markdown
Skill Β· arpitbbhayani
The pick for Markdownfirecrawl-scrape
Skill Β· firecrawl
The pick for Scrapefirecrawl-build-scrape
Skill Β· firecrawl
The pick for Scrape