tooluniverse-pathway-disease-genetics
Connect GWAS variants to biological pathways for drug target discovery. Maps disease-associated SNPs to causal genes via eQTL colocalization (GTEx), links genes to enriched pathways (Reactome, KEGG, MetaCyc), and identifies druggable targets within disease-relevant pathways. Use when asked to translate GWAS findings into mechanistic insights, find pathways enriched for disease genes, discover drug targets from genetic evidence, or answer questions like "What pathways are disrupted in type 2 diabetes based on GWAS data?"
Best use case
tooluniverse-pathway-disease-genetics is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
Connect GWAS variants to biological pathways for drug target discovery. Maps disease-associated SNPs to causal genes via eQTL colocalization (GTEx), links genes to enriched pathways (Reactome, KEGG, MetaCyc), and identifies druggable targets within disease-relevant pathways. Use when asked to translate GWAS findings into mechanistic insights, find pathways enriched for disease genes, discover drug targets from genetic evidence, or answer questions like "What pathways are disrupted in type 2 diabetes based on GWAS data?"
Teams using tooluniverse-pathway-disease-genetics should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/tooluniverse-pathway-disease-genetics/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How tooluniverse-pathway-disease-genetics Compares
| Feature / Agent | tooluniverse-pathway-disease-genetics | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
Connect GWAS variants to biological pathways for drug target discovery. Maps disease-associated SNPs to causal genes via eQTL colocalization (GTEx), links genes to enriched pathways (Reactome, KEGG, MetaCyc), and identifies druggable targets within disease-relevant pathways. Use when asked to translate GWAS findings into mechanistic insights, find pathways enriched for disease genes, discover drug targets from genetic evidence, or answer questions like "What pathways are disrupted in type 2 diabetes based on GWAS data?"
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
Related Guides
SKILL.md Source
## 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.
# Pathway-Disease Genetics: GWAS to Drug Targets via Pathways
Connect genome-wide association study (GWAS) variants to biological pathways for mechanistic understanding and drug target discovery.
## When to Use
- "What pathways are disrupted in [disease] based on GWAS?"
- "Which GWAS genes for [trait] are in druggable pathways?"
- "Map [SNP/variant] to its causal gene and pathway"
- "Find drug targets from GWAS data for [disease]"
- "What is the eQTL evidence for [gene] in [tissue]?"
---
## Core Reasoning Principles
### Gene-to-Pathway Reasoning
A gene found in GWAS doesn't tell you which pathway is dysregulated. To connect gene -> pathway -> disease mechanism, ask: what biological process does this gene participate in? Use Reactome/KEGG to find pathways, then ask: which of these pathways is relevant to the disease phenotype?
For example, TCF7L2 is the strongest T2D GWAS gene. It participates in the Wnt signaling pathway. The question is then: how does disrupted Wnt signaling impair beta-cell function or insulin secretion? That reasoning step — from pathway membership to disease mechanism — requires combining pathway data with tissue expression (GTEx) and disease biology.
Non-coding GWAS variants (the majority) rarely affect the nearest gene. They act through regulatory elements that alter expression of genes sometimes hundreds of kilobases away. Always check eQTL evidence before assuming the nearest gene is causal.
### Pathway Convergence
Multiple disease genes mapping to the same pathway is stronger evidence than a single gene. If 5 GWAS hits for a disease all map to the NF-kB pathway, that is strong mechanistic evidence — the pathway is likely causal, not just coincidentally hit. If GWAS genes scatter across unrelated pathways, the mechanism is unclear, and you may need to look at upstream regulators or gene network hubs that connect the scattered genes.
When running enrichment (Reactome, KEGG, STRING), prioritize pathways that appear across multiple databases. A pathway enriched in all three is more reliable than one that appears in only one analysis.
### Druggability Reasoning
A pathway with existing drugs targeting its components is more actionable than a novel pathway. Before proposing a target as novel, check: are any pathway members already drug targets? Use DGIdb and OpenTargets to survey approved and clinical-stage drugs in the pathway.
Priorities: (1) approved drug for a different indication hitting a GWAS-supported target = strong repurposing opportunity; (2) drug in clinical trials hitting a GWAS-supported target = accelerated validation path; (3) druggable gene with no existing drugs + strong GWAS evidence = novel target opportunity.
"Undruggable" by current modalities does not mean permanently undruggable. Flag such genes but do not dismiss them — they may be actionable via gene therapy, RNA therapeutics, or downstream pathway intervention.
---
## Tool Selection Guide
### Phase 1: Disease Resolution and GWAS Collection
Resolve disease name to ontology ID first:
- `OpenTargets_multi_entity_search_by_query_string(queryString=<disease>)` — returns EFO/MONDO IDs
Collect GWAS signals:
- `gwas_search_associations(query=<disease>)` — broad search
- `gwas_get_variants_for_trait(trait=<trait>, p_value_threshold=5e-8)` — genome-wide significant hits
- `gwas_get_snps_for_gene(gene_symbol=<gene>)` — gene-centric search
**Gotcha:** `gwas_get_associations_for_trait` is broken — use `gwas_search_associations` instead. `gwas_get_snps_for_gene` uses `gene_symbol`, not `mapped_gene`.
### Phase 2: Variant Annotation and eQTL Evidence
Annotate variants:
- `EnsemblVEP_annotate_rsid(variant_id=<rsid>)` — functional consequence, nearest gene
- Response format is variable: list, `{data, metadata}`, or `{error}` — handle all three
Query eQTL evidence in tissue relevant to the disease (e.g., pancreas for T2D, brain for neurological):
- `GTEx_query_eqtl(gene_input=<gene>, tissue=<tissue>)` — never pass empty `gene_input`
- `GTEx_get_expression_summary(gene_input=<gene>)` — expression across all tissues
- `GTEx_get_median_gene_expression(gencode_id=[<versioned_id>], tissue_site_detail_id=[<tissue>])` — use versioned Ensembl IDs (e.g., `ENSG00000148737.11`) and `gtex_v8`
### Phase 3: Pathway Enrichment
Run enrichment across multiple databases and cross-validate results:
- `ReactomeAnalysis_pathway_enrichment(identifiers="P04637 P38398 ...")` — space-separated UniProt STRING, not an array
- `Reactome_map_uniprot_to_pathways(uniprot_id=<id>)` — per-gene pathway membership
- `Reactome_get_participants(pathway_id=<R-HSA-XXXXX>)` — all genes in a pathway
- `KEGG_get_gene_pathways(gene_id=<kegg_id>)` — KEGG pathways for one gene
- `kegg_search_pathway(query=<disease_or_process>)` — keyword search
- `STRING_functional_enrichment(protein_ids=[<genes>], species=9606)` — GO/KEGG/Reactome with FDR
- `PANTHER_enrichment(gene_list="GENE1,GENE2,...", organism=9606, annotation_dataset="GO:0008150")` — comma-separated STRING, not array
**MetaCyc note:** Currently unavailable (BioCyc requires authentication). Use KEGG or Reactome for metabolic pathways.
### Phase 4: Druggability and Drug Landscape
- `DGIdb_get_gene_druggability(genes=[<gene_list>])` — categories: clinically actionable, druggable, etc.
- `DGIdb_get_drug_gene_interactions(genes=[<gene_list>])` — use `genes` param (array), not `gene_name`
- `OpenTargets_get_associated_drugs_by_target_ensemblID(ensemblId=<id>)` — approved and clinical drugs
- `OpenTargets_target_disease_evidence(ensemblId=<id>, efoId=<disease_id>)` — genetic + other evidence score
---
## Three-Step Workflow
### Step 1: GWAS to Causal Gene
1. Resolve disease ID via `OpenTargets_multi_entity_search_by_query_string`
2. Pull GWAS hits with `gwas_get_variants_for_trait` (p < 5e-8)
3. Annotate each lead SNP with VEP — is it coding or non-coding?
4. For non-coding variants, check eQTL via GTEx in the disease-relevant tissue
5. Prioritize genes where: GWAS SNP is also a significant eQTL AND the tissue is biologically relevant to the disease
6. Cross-check with `OpenTargets_target_disease_evidence` for additional genetic evidence
Evidence tiers: **High** = GWAS p < 5e-8 + eQTL colocalization in relevant tissue + coding variant; **Medium** = GWAS p < 5e-8 + eQTL in any tissue; **Low** = GWAS p < 5e-8 + positional mapping only.
### Step 2: Gene Set to Pathway Enrichment
1. Collect prioritized gene list from Step 1
2. Run `ReactomeAnalysis_pathway_enrichment` and `STRING_functional_enrichment`
3. Map each gene to KEGG pathways via `KEGG_get_gene_pathways`
4. Identify pathways appearing across multiple databases (convergence = stronger evidence)
5. For metabolic diseases, add tissue-specific network context via `humanbase_ppi_analysis` (all 5 params required: `gene_list`, `tissue`, `max_node`, `interaction`, `string_mode`)
6. Rank pathways by enrichment FDR x number of GWAS genes x biological plausibility
### Step 3: Pathway to Drug Target
1. From enriched pathways, extract all member genes via `Reactome_get_participants` and `KEGG_get_pathway_genes`
2. Assess druggability via `DGIdb_get_gene_druggability`
3. Look up existing drugs via `OpenTargets_get_associated_drugs_by_target_ensemblID`
4. Cross-reference pathway genes with GWAS genes: overlap = top candidate
5. Classify each candidate: repurposing opportunity / novel target / undruggable (for now)
Final ranking: Genetic Evidence x Druggability x Pathway Centrality. Flag novel targets (strong genetic + no existing drugs) and repurposing opportunities (approved drug + genetic support in this disease).
---
## Key Parameter Gotchas
- `gwas_get_snps_for_gene`: use `gene_symbol`, not `mapped_gene`
- `OpenTargets_multi_entity_search_by_query_string`: use `queryString`, not `query`
- `GTEx_query_eqtl`: `gene_input` must never be empty
- `GTEx_get_median_gene_expression`: use versioned gencode IDs; use `gtex_v8`
- `ReactomeAnalysis_pathway_enrichment`: `identifiers` is space-separated STRING, not array
- `DGIdb_get_drug_gene_interactions`: use `genes` (array), not `gene_name`
- `PANTHER_enrichment`: `gene_list` is comma-separated STRING, not array
- `humanbase_ppi_analysis`: all 5 params required
- `EnsemblVEP_annotate_rsid`: use `variant_id`, not `rsid`
- `kegg_find_genes`: include `organism="hsa"` for human genes
---
## Limitations
- GTEx eQTL lookup is not formal statistical colocalization (coloc/ENLOC) — treat as suggestive evidence
- GWAS Catalog may not include recent publications; cross-check with Open Targets
- Reactome and KEGG define pathways differently; some biology is in one but not the other
- DGIdb druggability categories are heuristic — "undruggable" applies only to current modalities
- eQTLs are tissue-specific; querying the wrong tissue may miss causal effects
---
## Related Skills
- **tooluniverse-gwas-trait-to-gene**: Focused GWAS-to-gene mapping
- **tooluniverse-gene-enrichment**: Detailed enrichment analysis
- **tooluniverse-drug-target-validation**: Deep target validation
- **tooluniverse-network-pharmacology**: Network-level drug analysis
- **tooluniverse-variant-functional-annotation**: Detailed variant interpretationRelated Skills
tooluniverse
Router skill for ToolUniverse tasks. First checks if specialized tooluniverse skills (105+ skills covering disease/drug/target research, gene-disease associations, clinical decision support, genomics, epigenomics, proteomics, comparative genomics, chemical safety, toxicology, systems biology, and more) can solve the problem, then falls back to general strategies for using 2300+ scientific tools. Covers tool discovery, multi-hop queries, comprehensive research workflows, disambiguation, evidence grading, and report generation. Use when users need to research any scientific topic, find biological data, or explore drug/target/disease relationships. ALSO USE for any biology, medicine, chemistry, pharmacology, or life science question — even simple factoid questions like "how many X in protein Y", "what drug interacts with Z", "what gene causes disease W", or "translate this sequence". These questions benefit from database lookups (UniProt, PubMed, ChEMBL, ClinVar, GWAS Catalog, etc.) rather than answering from memory alone. When in doubt about a scientific fact, USE THIS SKILL to verify against real databases.
tooluniverse-variant-to-mechanism
End-to-end variant-to-mechanism analysis: given a genetic variant (rsID or coordinates), trace its functional impact from regulatory context (GWAS, eQTL, RegulomeDB, ENCODE) through target gene identification (GTEx, OpenTargets L2G) to downstream pathway and disease biology (STRING, Reactome, GO enrichment, disease associations). Produces an evidence-graded mechanistic narrative linking genotype to phenotype. Use when asked "how does this variant cause disease?", "what is the mechanism of rs7903146?", "trace variant to pathway", or "connect this GWAS hit to biology".
tooluniverse-variant-interpretation
Systematic clinical variant interpretation from raw variant calls to ACMG-classified recommendations with structural impact analysis. Aggregates evidence from ClinVar, gnomAD, CIViC, UniProt, and PDB across ACMG criteria. Produces pathogenicity scores (0-100), clinical recommendations, and treatment implications. Use when interpreting genetic variants, classifying variants of uncertain significance (VUS), performing ACMG variant classification, or translating variant calls to clinical actionability.
tooluniverse-variant-functional-annotation
Comprehensive functional annotation of protein variants — pathogenicity, population frequency, structural context, and clinical significance. Integrates ProtVar (map_variant, get_function, get_population) for protein-level mapping and structural context, ClinVar for clinical classifications, gnomAD for population frequency with ancestry data, CADD for deleteriousness scores, and ClinGen for gene-disease validity. Produces a structured variant annotation report with evidence grading. Use when asked about protein variant impact, missense variant pathogenicity, ProtVar annotation, variant functional context, or combining population and structural evidence for a variant.
tooluniverse-variant-analysis
Production-ready VCF processing, variant annotation, mutation analysis, and structural variant (SV/CNV) interpretation for bioinformatics questions. Parses VCF files (streaming, large files), classifies mutation types (missense, nonsense, synonymous, frameshift, splice, intronic, intergenic) and structural variants (deletions, duplications, inversions, translocations), applies VAF/depth/quality/consequence filters, annotates with ClinVar/dbSNP/gnomAD/CADD via ToolUniverse, interprets SV/CNV clinical significance using ClinGen dosage sensitivity scores, computes variant statistics, and generates reports. Solves questions like "What fraction of variants with VAF < 0.3 are missense?", "How many non-reference variants remain after filtering intronic/intergenic?", "What is the pathogenicity of this deletion affecting BRCA1?", or "Which dosage-sensitive genes overlap this CNV?". Use when processing VCF files, annotating variants, filtering by VAF/depth/consequence, classifying mutations, interpreting structural variants, assessing CNV pathogenicity, comparing cohorts, or answering variant analysis questions.
tooluniverse-vaccine-design
Design and evaluate vaccine candidates using computational immunology tools. Covers epitope prediction (MHC-I/II binding via IEDB), population coverage analysis, antigen selection, adjuvant matching, and immunogenicity assessment. Integrates IEDB for epitope prediction, UniProt for antigen sequences, PDB/AlphaFold for structural epitopes, BVBRC for pathogen proteomes, and literature for clinical precedent. Use when asked about vaccine design, epitope prediction, immunogenicity, MHC binding, T-cell epitopes, B-cell epitopes, or population coverage for vaccine candidates.
tooluniverse-toxicology
Assess chemical and drug toxicity via adverse outcome pathways, real-world adverse event signals, and toxicogenomic evidence. Integrates AOPWiki (AOPWiki_list_aops, AOPWiki_get_aop) for mechanism- level pathway tracing, FAERS for post-market adverse event quantification, OpenFDA for label mining, and CTD for chemical-gene-disease evidence. Produces structured toxicity reports with evidence grading (T1-T4). Use when asked about toxicity mechanisms, adverse outcome pathways, AOP mapping, FAERS signal detection, or chemical-disease relationships for drugs or environmental chemicals.
tooluniverse-target-research
Gather comprehensive biological target intelligence from 9 parallel research paths covering protein info, structure, interactions, pathways, expression, variants, drug interactions, and literature. Features collision-aware searches, evidence grading (T1-T4), explicit Open Targets coverage, and mandatory completeness auditing. Use when users ask about drug targets, proteins, genes, or need target validation, druggability assessment, or comprehensive target profiling.
tooluniverse-systems-biology
Comprehensive systems biology and pathway analysis using multiple pathway databases (Reactome, KEGG, WikiPathways, Pathway Commons, BioModels). Performs pathway enrichment, protein-pathway mapping, keyword searches, and systems-level analysis. Use when analyzing gene sets, exploring biological pathways, or investigating systems-level biology.
tooluniverse-structural-variant-analysis
Comprehensive structural variant (SV) analysis skill for clinical genomics. Classifies SVs (deletions, duplications, inversions, translocations), assesses pathogenicity using ACMG-adapted criteria, evaluates gene disruption and dosage sensitivity, and provides clinical interpretation with evidence grading. Use when analyzing CNVs, large deletions/duplications, chromosomal rearrangements, or any structural variants requiring clinical interpretation.
tooluniverse-structural-proteomics
Integrate structural biology data with proteomics for drug target validation. Retrieves protein structures from PDB (RCSB, PDBe), AlphaFold predictions, antibody structures (SAbDab), GPCR data (GPCRdb), binding pocket analysis (ProteinsPlus), and ligand interactions (BindingDB). Use when asked to find structures for a drug target, identify binding site ligands, cross-validate drug binding with structural data, assess structural druggability, or compare experimental vs predicted structures.
tooluniverse-stem-cell-organoid
Research stem cells, iPSCs, organoids, and cell differentiation using ToolUniverse tools. Covers pluripotency marker identification, differentiation pathway analysis, organoid model characterization, cell type annotation, and disease modeling. Integrates CellxGene/HCA for single-cell atlas data, CellMarker for cell type markers, GEO for stem cell datasets, and pathway tools for differentiation signaling. Use when asked about stem cells, iPSCs, organoids, cell reprogramming, pluripotency, differentiation protocols, or 3D culture models.