freedomintelligence/openclaw-medical-skills/gnomad-database
Claude Code and agent skill by freedomintelligence/openclaw-medical-skills
- community
Checking that the SKILL.md file is still in the repository.
Query gnomAD (Genome Aggregation Database) for population allele frequencies, variant constraint scores (pLI, LOEUF), and loss-of-function intolerance. Essential for variant pathogenicity interpretation, rare disease genetics, and identifying loss-of-function intolerant genes.
Install
npx vskill@latest install freedomintelligence/openclaw-medical-skills/gnomad-databaseSKILL.md
The same SKILL.md was published earlier as freedomintelligence/openclaw-medical-skills/gnomad-database.
gnomAD Database
Overview
The Genome Aggregation Database (gnomAD) is the largest publicly available collection of human genetic variation, aggregated from large-scale sequencing projects. gnomAD v4 contains exome sequences from 730,947 individuals and genome sequences from 76,215 individuals across diverse ancestries. It provides population allele frequencies, variant consequence annotations, and gene-level constraint metrics that are essential for interpreting the clinical significance of genetic variants.
Key resources:
- gnomAD browser: https://gnomad.broadinstitute.org/
- GraphQL API: https://gnomad.broadinstitute.org/api
- Data downloads: https://gnomad.broadinstitute.org/downloads
- Documentation: https://gnomad.broadinstitute.org/help
When to Use This Skill
Use gnomAD when:
- Variant frequency lookup: Checking if a variant is rare, common, or absent in the general population
- Pathogenicity assessment: Rare variants (MAF < 1%) are candidates for disease causation; gnomAD helps filter benign common variants
- Loss-of-function intolerance: Using pLI and LOEUF scores to assess whether a gene tolerates protein-truncating variants
- Population-stratified frequencies: Comparing allele frequencies across ancestries (African/African American, Admixed American, Ashkenazi Jewish, East Asian, Finnish, Middle Eastern, Non-Finnish European, South Asian)
- ClinVar/ACMG variant classification: gnomAD frequency data feeds into BA1/BS1 evidence codes for variant classification
- Constraint analysis: Identifying genes depleted of missense or loss-of-function variation (z-scores, pLI, LOEUF)
Core Capabilities
1. gnomAD GraphQL API
gnomAD uses a GraphQL API accessible at https://gnomad.broadinstitute.org/api. Most queries fetch variants by gene or specific genomic position.
Datasets available:
gnomad_r4— gnomAD v4 exomes (recommended default, GRCh38)gnomad_r4_genomes— gnomAD v4 genomes (GRCh38)gnomad_r3— gnomAD v3 genomes (GRCh38)gnomad_r2_1— gnomAD v2 exomes (GRCh37)
Reference genomes:
GRCh38— default for v3/v4GRCh37— for v2
2. Querying Variants by Gene
3. Querying a Specific Variant
4. Gene Constraint Scores
gnomAD constraint scores assess how tolerant a gene is to variation relative to expectation:
Constraint score interpretation:
| Score | Range | Meaning | |
|---|---|---|---|
pLI | 0–1 | Probability of LoF intolerance; >0.9 = highly intolerant | |
LOEUF | 0–∞ | LoF observed/expected upper bound; <0.35 = constrained | |
oe_lof | 0–∞ | Observed/expected ratio for LoF variants | |
mis_z | −∞ to ∞ | Missense constraint z-score; >3.09 = constrained | |
syn_z | −∞ to ∞ | Synonymous z-score (control; should be near 0) |
5. Population Frequency Analysis
6. Structural Variants (gnomAD-SV)
gnomAD also contains a structural variant dataset:
Query Workflows
Workflow 1: Variant Pathogenicity Assessment
- Check population frequency — Is the variant rare enough to be pathogenic?
- Use gnomAD AF < 1% for recessive, < 0.1% for dominant conditions
- Check ancestry-specific frequencies (a variant rare overall may be common in one population)
- Assess functional impact — LoF variants have highest prior probability
- Check
loffield:HC= high-confidence LoF,LC= low-confidence - Check
lof_flagsfor issues like "NAGNAG_SITE", "PHYLOCSF_WEAK"
- Apply ACMG criteria:
- BA1: AF > 5% → Benign Stand-Alone
- BS1: AF > disease prevalence threshold → Benign Supporting
- PM2: Absent or very rare in gnomAD → Pathogenic Moderate
Workflow 2: Gene Prioritization in Rare Disease
- Query constraint scores for candidate genes
- Filter for pLI > 0.9 (haploinsufficient) or LOEUF < 0.35
- Cross-reference with observed LoF variants in the gene
- Integrate with ClinVar and disease databases
Workflow 3: Population Genetics Research
- Identify variant of interest from GWAS or clinical data
- Query per-population frequencies
- Compare frequency differences across ancestries
- Test for enrichment in specific founder populations
Best Practices
- Use gnomAD v4 (gnomad_r4) for the most current data; use v2 (gnomad_r2_1) only for GRCh37 compatibility
- Handle null responses: Variants not observed in gnomAD are not necessarily pathogenic — absence is informative
- Distinguish exome vs. genome data: Genome data has more uniform coverage; exome data is larger but may have coverage gaps
- Rate limit GraphQL queries: Add delays between requests; batch queries when possible
- Homozygous counts (
ac_hom) are relevant for recessive disease analysis - LOEUF is preferred over pLI for gene constraint (less sensitive to sample size)
Data Access
- Browser: https://gnomad.broadinstitute.org/ — interactive variant and gene browsing
- GraphQL API: https://gnomad.broadinstitute.org/api — programmatic access
- Downloads: https://gnomad.broadinstitute.org/downloads — VCF, Hail tables, constraint tables
- Google Cloud: gs://gcp-public-data--gnomad/
Additional Resources
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/gnomad-database/SKILL.md
Popularity
- Repository stars
- 2,777
- Repository forks
- 386
- 7-day trend score
- 40
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/freedomintelligence/openclaw-medical-skills/gnomad-database)