jpskill.com
🛠️ 開発・MCP コミュニティ 🔴 エンジニア向け 👤 エンジニア・AI開発者

🛠️ Gwas検索

gwas-lookup

複数のゲノムデータベースから、疾患関連遺伝子変異の情報を横断的に検索し、統合的に参照するSkill。

⏱ ボイラープレート実装 半日 → 30分

📺 まず動画で見る(YouTube)

▶ 【衝撃】最強のAIエージェント「Claude Code」の最新機能・使い方・プログラミングをAIで効率化する超実践術を解説! ↗

※ jpskill.com 編集部が参考用に選んだ動画です。動画の内容と Skill の挙動は厳密には一致しないことがあります。

📜 元の英語説明(参考)

Federated variant lookup across 9 genomic databases — GWAS Catalog, Open Targets, PheWeb (UKB, FinnGen, BBJ), GTEx, eQTL Catalogue, and more.

🇯🇵 日本人クリエイター向け解説

一言でいうと

複数のゲノムデータベースから、疾患関連遺伝子変異の情報を横断的に検索し、統合的に参照するSkill。

※ jpskill.com 編集部が日本のビジネス現場向けに補足した解説です。Skill本体の挙動とは独立した参考情報です。

⚠️ ダウンロード・利用は自己責任でお願いします。当サイトは内容・動作・安全性について責任を負いません。

🎯 このSkillでできること

下記の説明文を読むと、このSkillがあなたに何をしてくれるかが分かります。Claudeにこの分野の依頼をすると、自動で発動します。

📦 インストール方法 (3ステップ)

  1. 1. 上の「ダウンロード」ボタンを押して .skill ファイルを取得
  2. 2. ファイル名の拡張子を .skill から .zip に変えて展開(macは自動展開可)
  3. 3. 展開してできたフォルダを、ホームフォルダの .claude/skills/ に置く
    • · macOS / Linux: ~/.claude/skills/
    • · Windows: %USERPROFILE%\.claude\skills\

Claude Code を再起動すれば完了。「このSkillを使って…」と話しかけなくても、関連する依頼で自動的に呼び出されます。

詳しい使い方ガイドを見る →
最終更新
2026-05-17
取得日時
2026-05-17
同梱ファイル
1

💬 こう話しかけるだけ — サンプルプロンプト

  • Gwas Lookup を使って、最小構成のサンプルコードを示して
  • Gwas Lookup の主な使い方と注意点を教えて
  • Gwas Lookup を既存プロジェクトに組み込む方法を教えて

これをClaude Code に貼るだけで、このSkillが自動発動します。

📖 Claude が読む原文 SKILL.md(中身を展開)

この本文は AI(Claude)が読むための原文(英語または中国語)です。日本語訳は順次追加中。

🔍 GWAS Lookup

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

  1. Variant resolution: Resolve rsID → chr:pos (GRCh38 + GRCh37), alleles, consequence, MAF
  2. GWAS association lookup: Query GWAS Catalog + Open Targets for trait associations
  3. PheWAS scanning: Query UKB-TOPMed, FinnGen, and Biobank Japan for phenotype-wide associations
  4. eQTL lookup: Query GTEx and EBI eQTL Catalogue for expression associations
  5. Fine-mapping: Retrieve Open Targets credible set membership
  6. 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:

  1. Resolve: Query Ensembl for variant coordinates, alleles, consequence
  2. Dispatch: Query all 8 remaining APIs in parallel (ThreadPoolExecutor)
  3. Normalise: Merge results, deduplicate, sort by p-value, flag GWS hits
  4. 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 variant
  • gwas-prs: If the variant is part of a polygenic score, calculate PRS
  • lit-synthesizer: Find publications about the variant's associated traits