tooluniverse-gwas-study-explorer
БесплатноЗапускает вложенные скриптыНе проверенCompare GWAS studies, perform meta-analyses across cohorts, and assess signal replication. Uses GWAS Catalog metadata, study-level statistics, and…
от mims-harvard★ 1 813 звёзд на GitHubОб этом скилле
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
- Study Comparison: Compare all GWAS studies for a trait, assessing sample sizes, ancestries, and platforms
- Meta-Analysis: Aggregate effect sizes across studies and calculate heterogeneity statistics
- Replication Assessment: Identify replicated vs novel findings across discovery and replication cohorts
- Quality Evaluation: Assess statistical power, ancestry diversity, and data availability
COMPUTE, DON'T DESCRIBE
When analysis requires computation (statistics, data processing, scoring, enrichment), write and run Python code via Bash. Don't describe what you would do — execute it and report actual results. Use ToolUniverse tools to retrieve data, then Python (pandas, scipy, statsmodels, matplotlib) to analyze it.
Domain Reasoning: Comparing Studies for the Same Trait
When comparing GWAS studies for the same trait, ask: do they replicate? The same lead SNPs appearing in independent studies is strong evidence of a true association. Different lead SNPs at the same locus may reflect LD differences between populations — they may tag the same causal variant. Different loci entirely may reflect different study designs, phenotype definitions, or population ancestry. Before concluding that a finding failed to replicate, check whether the SNP was even genotyped or imputed in the replication cohort.
LOOK UP DON'T GUESS: effect sizes, p-values, allele frequencies, and LD structure for specific loci. Do not assume a SNP present in one study is present in another — use gwas_get_associations_for_snp to retrieve cross-study data. Do not infer LD blocks from genomic proximity; use credible sets from Open Targets for fine-mapping results.
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
Honesty rule (important): A real inverse-variance meta-analysis needs each study's beta + 95% CI.
python_implementation.pyparses these from the GWAS Catalogbeta/or_value+rangefields and only then pools effect sizes and computes Cochran's-Q I². When the matched associations don't report usable effect sizes (common), it returnsmethod="descriptive",combined_beta=None,heterogeneity_i2=None, andcombined_p_value= the smallest reported p (not a pooled p) — do NOT present a descriptive result as a formal meta-analysis or invent an I².
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
Установить tooluniverse-gwas-study-explorer в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл tooluniverse-gwas-study-explorer?
Compare GWAS studies, perform meta-analyses across cohorts, and assess signal replication. Uses GWAS Catalog metadata, study-level statistics, and cross-cohort comparison. Use for evaluating GWAS reproducibility for a trait, meta-analysis sample size and effect-size aggregation, and detecting study heterogeneity (population, design, ancestry).
Как установить скилл tooluniverse-gwas-study-explorer?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tooluniverse-gwas-study-explorer запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic