name: tooluniverse-gwas-snp-interpretation
description: Interpret genetic variants (SNPs) from GWAS studies by aggregating evidence from multiple databases (GWAS Catalog, Open Targets Genetics, ClinVar). Retrieves variant annotations, GWAS trait associations, fine-mapping evidence, locus-to-gene predictions, and clinical significance. Use when asked to interpret a SNP by rsID, find disease associations for a variant, assess clinical significance, or answer questions like "What diseases is rs429358 associated with?" or "Interpret rs7903146".
GWAS SNP Interpretation Skill
Overview
Interpret genetic variants (SNPs) from GWAS studies by aggregating evidence from multiple sources to provide comprehensive clinical and biological context.
Use Cases:
- "Interpret rs7903146" (TCF7L2 diabetes variant)
- "What diseases is rs429358 associated with?" (APOE Alzheimer's variant)
- "Clinical significance of rs1801133" (MTHFR variant)
- "Is rs12913832 in any fine-mapped loci?" (Eye color variant)
What It Does
The skill provides a comprehensive interpretation of SNPs by:
- SNP Annotation: Retrieves basic variant information including genomic coordinates, alleles, functional consequence, and mapped genes
- Association Discovery: Finds all GWAS trait/disease associations with statistical significance
- Fine-Mapping Evidence: Identifies credible sets the variant belongs to (fine-mapped causal loci)
- Gene Mapping: Uses Locus-to-Gene (L2G) predictions to identify likely causal genes
- Clinical Summary: Aggregates evidence into actionable clinical significance
Workflow
User Input: rs7903146
↓
[1] SNP Lookup
→ Get location, consequence, MAF
→ gwas_get_snp_by_id
↓
[2] Association Search
→ Find all trait/disease associations
→ gwas_get_associations_for_snp
↓
[3] Fine-Mapping (Optional)
→ Get credible set membership
→ OpenTargets_get_variant_credible_sets
↓
[4] Gene Predictions
→ Extract L2G scores for causal genes
→ (embedded in credible sets)
↓
[5] Clinical Summary
→ Aggregate evidence
→ Identify key traits and genes
↓
Output: Comprehensive Interpretation Report
Data Sources
GWAS Catalog (EMBL-EBI)
- SNP annotations: Functional consequences, mapped genes, population frequencies
- Associations: P-values, effect sizes, study metadata
- Coverage: 350,000+ publications, 670,000+ associations
Open Targets Genetics
- Fine-mapping: Statistical credible sets from SuSiE, FINEMAP methods
- L2G predictions: Machine learning-based gene prioritization
- Colocalization: QTL evidence for causal genes
- Coverage: UK Biobank, FinnGen, and other large cohorts
Input Parameters
Required
rs_id (str): dbSNP rs identifier
- Format: "rs" + number (e.g., "rs7903146")
- Must be valid rsID in GWAS Catalog
Optional
include_credible_sets (bool, default=True): Query fine-mapping data
- True: Complete interpretation (slower, ~10-30s)
- False: Fast associations only (~2-5s)
p_threshold (float, default=5e-8): Genome-wide significance threshold
max_associations (int, default=100): Maximum associations to retrieve
Output Format
Returns SNPInterpretationReport containing:
1. SNP Basic Info
{
'rs_id': 'rs7903146',
'chromosome': '10',
'position': 112998590,
'ref_allele': 'C',
'alt_allele': 'T',
'consequence': 'intron_variant',
'mapped_genes': ['TCF7L2'],
'maf': 0.293
}
2. Trait Associations
[
{
'trait': 'Type 2 diabetes',
'p_value': 1.2e-128,
'beta': '0.28 unit increase',
'study_id': 'GCST010555',
'pubmed_id': '33536258',
'effect_allele': 'T'
},
...
]
3. Credible Sets (Fine-Mapping)
[
{
'study_id': 'GCST90476118',
'trait': 'Renal failure',
'finemapping_method': 'SuSiE-inf',
'p_value': 3.5e-42,
'predicted_genes': [
{'gene': 'TCF7L2', 'score': 0.863}
],
'region': '10:112950000-113050000'
},
...
]
4. Clinical Significance
Genome-wide significant associations with 100 traits/diseases:
- Type 2 diabetes
- Diabetic retinopathy
- HbA1c levels
...
Identified in 20 fine-mapped loci.
Predicted causal genes: TCF7L2
Example Usage
See QUICK_START.md for platform-specific examples.
Tools Used
GWAS Catalog Tools
gwas_get_snp_by_id: Get SNP annotation
gwas_get_associations_for_snp: Get all trait associations
Open Targets Tools
OpenTargets_get_variant_info: Get variant details with population frequencies
OpenTargets_get_variant_credible_sets: Get fine-mapping credible sets with L2G
Interpretation Guide
P-value Significance Levels
- p < 5e-8: Genome-wide significant (strong evidence)
- p < 5e-6: Suggestive (moderate evidence)
- p < 0.05: Nominal (weak evidence)
L2G Score Interpretation
- > 0.5: High confidence causal gene
- 0.1-0.5: Moderate confidence
- < 0.1: Low confidence
Clinical Actionability
- High: Multiple genome-wide significant associations + in credible sets + high L2G scores
- Moderate: Genome-wide significant associations but limited fine-mapping
- Low: Suggestive associations or limited replication
Limitations
- Variant ID Conversion: OpenTargets requires chr_pos_ref_alt format, which may need allele lookup
- Population Specificity: Associations may vary by ancestry
- Effect Sizes: Beta values are study-dependent (different phenotype scales)
- Causality: Associations don't prove causation; fine-mapping improves confidence
- Currency: Data reflects published GWAS; latest studies may not be included
Best Practices
- Use Full Interpretation: Enable
include_credible_sets=True for clinical decisions
- Check Multiple Variants: Look at other variants in the same locus
- Validate Populations: Consider ancestry-specific effect sizes
- Review Publications: Check original studies for context
- Integrate Evidence: Combine with functional data, eQTLs, pQTLs
Technical Notes
Performance
- Fast mode (no credible sets): 2-5 seconds
- Full mode (with credible sets): 10-30 seconds
- Bottleneck: OpenTargets GraphQL API rate limits
Error Handling
- Invalid rs_id: Returns error message
- No associations: Returns empty list with note
- API failures: Graceful degradation (returns partial results)
Related Skills
- Gene Function Analysis: Interpret predicted causal genes
- Disease Ontology Lookup: Understand trait classifications
- PubMed Literature Search: Find original GWAS publications
- Variant Effect Prediction: Functional consequence analysis
References
- GWAS Catalog: https://www.ebi.ac.uk/gwas/
- Open Targets Genetics: https://genetics.opentargets.org/
- GWAS Significance Thresholds: Fadista et al. 2016
- L2G Method: Mountjoy et al. 2021 (Nature Genetics)
Version
- Version: 1.0.0
- Last Updated: 2026-02-13
- ToolUniverse Version: >= 1.0.0
- Tools Required: gwas_get_snp_by_id, gwas_get_associations_for_snp, OpenTargets_get_variant_credible_sets
1---2name: gwas-snp-interpretation3description: ToolUniverse workflow — Gwas Snp Interpretation4---56---7name: tooluniverse-gwas-snp-interpretation8description: Interpret genetic variants (SNPs) from GWAS studies by aggregating evidence from multiple databases (GWAS Catalog, Open Targets Genetics, ClinVar). Retrieves variant annotations, GWAS trait associations, fine-mapping evidence, locus-to-gene predictions, and clinical significance. Use when asked to interpret a SNP by rsID, find disease associations for a variant, assess clinical significance, or answer questions like "What diseases is rs429358 associated with?" or "Interpret rs7903146".9---1011# GWAS SNP Interpretation Skill1213## Overview1415Interpret genetic variants (SNPs) from GWAS studies by aggregating evidence from multiple sources to provide comprehensive clinical and biological context.1617**Use Cases:**18- "Interpret rs7903146" (TCF7L2 diabetes variant)19- "What diseases is rs429358 associated with?" (APOE Alzheimer's variant)20- "Clinical significance of rs1801133" (MTHFR variant)21- "Is rs12913832 in any fine-mapped loci?" (Eye color variant)2223## What It Does2425The skill provides a comprehensive interpretation of SNPs by:26271. **SNP Annotation**: Retrieves basic variant information including genomic coordinates, alleles, functional consequence, and mapped genes282. **Association Discovery**: Finds all GWAS trait/disease associations with statistical significance293. **Fine-Mapping Evidence**: Identifies credible sets the variant belongs to (fine-mapped causal loci)304. **Gene Mapping**: Uses Locus-to-Gene (L2G) predictions to identify likely causal genes315. **Clinical Summary**: Aggregates evidence into actionable clinical significance3233## Workflow3435```36User Input: rs790314637 ↓38[1] SNP Lookup39 → Get location, consequence, MAF40 → gwas_get_snp_by_id41 ↓42[2] Association Search43 → Find all trait/disease associations44 → gwas_get_associations_for_snp45 ↓46[3] Fine-Mapping (Optional)47 → Get credible set membership48 → OpenTargets_get_variant_credible_sets49 ↓50[4] Gene Predictions51 → Extract L2G scores for causal genes52 → (embedded in credible sets)53 ↓54[5] Clinical Summary55 → Aggregate evidence56 → Identify key traits and genes57 ↓58Output: Comprehensive Interpretation Report59```6061## Data Sources6263### GWAS Catalog (EMBL-EBI)64- **SNP annotations**: Functional consequences, mapped genes, population frequencies65- **Associations**: P-values, effect sizes, study metadata66- **Coverage**: 350,000+ publications, 670,000+ associations6768### Open Targets Genetics69- **Fine-mapping**: Statistical credible sets from SuSiE, FINEMAP methods70- **L2G predictions**: Machine learning-based gene prioritization71- **Colocalization**: QTL evidence for causal genes72- **Coverage**: UK Biobank, FinnGen, and other large cohorts7374## Input Parameters7576### Required77- `rs_id` (str): dbSNP rs identifier78 - Format: "rs" + number (e.g., "rs7903146")79 - Must be valid rsID in GWAS Catalog8081### Optional82- `include_credible_sets` (bool, default=True): Query fine-mapping data83 - True: Complete interpretation (slower, ~10-30s)84 - False: Fast associations only (~2-5s)85- `p_threshold` (float, default=5e-8): Genome-wide significance threshold86- `max_associations` (int, default=100): Maximum associations to retrieve8788## Output Format8990Returns `SNPInterpretationReport` containing:9192### 1. SNP Basic Info93```python94{95 'rs_id': 'rs7903146',96 'chromosome': '10',97 'position': 112998590,98 'ref_allele': 'C',99 'alt_allele': 'T',100 'consequence': 'intron_variant',101 'mapped_genes': ['TCF7L2'],102 'maf': 0.293103}104```105106### 2. Trait Associations107```python108[109 {110 'trait': 'Type 2 diabetes',111 'p_value': 1.2e-128,112 'beta': '0.28 unit increase',113 'study_id': 'GCST010555',114 'pubmed_id': '33536258',115 'effect_allele': 'T'116 },117 ...118]119```120121### 3. Credible Sets (Fine-Mapping)122```python123[124 {125 'study_id': 'GCST90476118',126 'trait': 'Renal failure',127 'finemapping_method': 'SuSiE-inf',128 'p_value': 3.5e-42,129 'predicted_genes': [130 {'gene': 'TCF7L2', 'score': 0.863}131 ],132 'region': '10:112950000-113050000'133 },134 ...135]136```137138### 4. Clinical Significance139```140Genome-wide significant associations with 100 traits/diseases:141 - Type 2 diabetes142 - Diabetic retinopathy143 - HbA1c levels144 ...145146Identified in 20 fine-mapped loci.147Predicted causal genes: TCF7L2148```149150## Example Usage151152See `QUICK_START.md` for platform-specific examples.153154## Tools Used155156### GWAS Catalog Tools1571. `gwas_get_snp_by_id`: Get SNP annotation1582. `gwas_get_associations_for_snp`: Get all trait associations159160### Open Targets Tools1613. `OpenTargets_get_variant_info`: Get variant details with population frequencies1624. `OpenTargets_get_variant_credible_sets`: Get fine-mapping credible sets with L2G163164## Interpretation Guide165166### P-value Significance Levels167- **p < 5e-8**: Genome-wide significant (strong evidence)168- **p < 5e-6**: Suggestive (moderate evidence)169- **p < 0.05**: Nominal (weak evidence)170171### L2G Score Interpretation172- **> 0.5**: High confidence causal gene173- **0.1-0.5**: Moderate confidence174- **< 0.1**: Low confidence175176### Clinical Actionability1771. **High**: Multiple genome-wide significant associations + in credible sets + high L2G scores1782. **Moderate**: Genome-wide significant associations but limited fine-mapping1793. **Low**: Suggestive associations or limited replication180181## Limitations1821831. **Variant ID Conversion**: OpenTargets requires chr_pos_ref_alt format, which may need allele lookup1842. **Population Specificity**: Associations may vary by ancestry1853. **Effect Sizes**: Beta values are study-dependent (different phenotype scales)1864. **Causality**: Associations don't prove causation; fine-mapping improves confidence1875. **Currency**: Data reflects published GWAS; latest studies may not be included188189## Best Practices1901911. **Use Full Interpretation**: Enable `include_credible_sets=True` for clinical decisions1922. **Check Multiple Variants**: Look at other variants in the same locus1933. **Validate Populations**: Consider ancestry-specific effect sizes1944. **Review Publications**: Check original studies for context1955. **Integrate Evidence**: Combine with functional data, eQTLs, pQTLs196197## Technical Notes198199### Performance200- **Fast mode** (no credible sets): 2-5 seconds201- **Full mode** (with credible sets): 10-30 seconds202- **Bottleneck**: OpenTargets GraphQL API rate limits203204### Error Handling205- Invalid rs_id: Returns error message206- No associations: Returns empty list with note207- API failures: Graceful degradation (returns partial results)208209## Related Skills210211- **Gene Function Analysis**: Interpret predicted causal genes212- **Disease Ontology Lookup**: Understand trait classifications213- **PubMed Literature Search**: Find original GWAS publications214- **Variant Effect Prediction**: Functional consequence analysis215216## References2172181. GWAS Catalog: https://www.ebi.ac.uk/gwas/2192. Open Targets Genetics: https://genetics.opentargets.org/2203. GWAS Significance Thresholds: Fadista et al. 20162214. L2G Method: Mountjoy et al. 2021 (Nature Genetics)222223## Version224225- **Version**: 1.0.0226- **Last Updated**: 2026-02-13227- **ToolUniverse Version**: >= 1.0.0228- **Tools Required**: gwas_get_snp_by_id, gwas_get_associations_for_snp, OpenTargets_get_variant_credible_sets