From clawbio
Federated variant lookup across 9 genomic databases (GWAS Catalog, Open Targets, GTEx, PheWeb, eQTL Catalogue) returning unified reports, tables, and figures for any rsID.
How this skill is triggered — by the user, by Claude, or both
Slash command
/clawbio:gwas-lookupThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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.
data/demo_rs3798220.jsongwas_lookup.pygwas_lookup_api/__init__.pygwas_lookup_api/base_client.pygwas_lookup_api/ensembl.pygwas_lookup_api/eqtl_catalogue.pygwas_lookup_api/finngen.pygwas_lookup_api/gtex.pygwas_lookup_api/gwas_catalog.pygwas_lookup_api/open_targets.pygwas_lookup_api/pheweb_bbj.pygwas_lookup_api/pheweb_ukb.pygwas_lookup_api/portaldev.pygwas_lookup_core/__init__.pygwas_lookup_core/normalise.pygwas_lookup_core/report.pygwas_lookup_core/resolve.pytests/__init__.pytests/fixtures/ensembl_variation.jsontests/fixtures/eqtl_catalogue.jsonYou 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.
| 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 |
When the user asks to look up a variant:
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
Required:
requests >= 2.28 (HTTP client)Optional:
matplotlib >= 3.5 (figures; skipped gracefully if absent)This skill is invoked by the Bio Orchestrator when:
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 traitsnpx claudepluginhub clawbio/clawbio --plugin clawbioQueries the NHGRI-EBI GWAS Catalog REST API for SNP-trait associations by rs ID, disease/trait, or gene, returning p-values and summary statistics.
Queries NHGRI-EBI GWAS Catalog for SNP-trait associations by rs ID, disease/trait, or gene, retrieving p-values and summary statistics for genetic epidemiology and polygenic risk scores.
Queries the NHGRI-EBI GWAS Catalog REST API for SNP-trait associations from published GWAS. Helps build PRS candidates, analyze pleiotropy, and fetch summary stats for Manhattan plots.