[Integrations](https://spiral.ai/integrations) › [Zapier](https://spiral.ai/integrations/zapier) › [gnomAD gene constraint](https://spiral.ai/integrations/zapier/gnomad-gene-constraint)

# How to Use gnomAD gene constraint in Zapier

Returns gnomAD constraint metrics, including LOEUF, pLI, observed and expected variant counts, and missense Z-scores. Use it to compare genes’ tolerance to variation and prioritize research candidates.

|  |  |
| --- | --- |
| Model | gnomAD gene constraint |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with gnomAD gene constraint in Zapier

- Each month, fetch gnomAD gene constraint and extract SCN1A, SCN2A, and SCN8A. Compare with the previous results and report only changed scores or calculation flags.
- Check gnomAD gene constraint monthly for BRCA1, BRCA2, and PALB2. Report changes in observed and expected counts, keeping transcript results separate.
- Every month, use gnomAD gene constraint to extract CHD7 and CHD8. Tell me whether LOEUF changed, rankings changed, or both.
- Fetch gnomAD gene constraint monthly and extract PCSK9, LDLR, and APOB. Send a comparison when their loss-of-function ratios or uncertainty intervals change.
- Each month, use gnomAD gene constraint to extract TTN, DMD, and MECP2. Report added or removed calculation flags alongside any changed scores.

## How to set up gnomAD gene constraint in Zapier

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send Zapier this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Add an MCP Client connection**: In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

3. **Run a Spiral tool in a Zap**: Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: `discover` finds the right model for a task, `estimate_cost` prices it and `run` runs it. For example, `run` with:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run gnomAD gene constraint in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds gnomAD gene constraint, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run gnomAD gene constraint**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "gnomad-broadinstitute-org/genes/constraint",
    "input": {
      "gene": "<gene>"
    }
  }'
```

Then paste one of the prompts above: Zapier finds gnomAD gene constraint on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/zapier

## gnomAD gene constraint tools and prices

- [Population allele frequencies and gene constraint (Broad Institute) · Constraint](https://spiral.ai/tools/alexandria/gnomad-broadinstitute-org/genes/constraint) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| reference_genome | GRCh38, GRCh37 | — | GRCh38 for gnomAD v4.1.2 constraint (the default) or GRCh37 for v2.1.1. A pasted URL's dataset picks it when this is absent. |

## What can you do with gnomAD gene constraint in Zapier?

Keep a research gene panel's gnomAD constraint annotations current through scheduled comparisons. An always-on agent can flag changed scores, corrected rankings, and newly returned calculation warnings.

### Rank research candidate genes

Extract constraint rows for a candidate list and compare LOEUF values to identify genes with stronger depletion of loss-of-function variation.

### Compare missense and loss-of-function constraint

Put missense Z-scores beside LOEUF for genes such as SCN1A and CHD7 to compare constraint across mutation classes.

### Annotate a research gene panel

Add observed counts, expected counts, ratios, and constraint scores to a gene panel, preserving separate transcript rows.

### Review changes between releases

Compare saved constraint results with a later retrieval, separating changes in LOEUF from changes in transcript ranks and bins.

### Find constraint calculation exceptions

Identify genes with no_exp or outlier flags before including their scores in a research ranking.

### Build a genetics teaching exercise

Use public gene examples to explain observed versus expected variation, LOEUF, pLI, and missense Z-scores with actual constraint results.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Zapier guides](https://spiral.ai/integrations/zapier)

## gnomAD gene constraint in other agents

- [Amp](https://spiral.ai/integrations/amp/gnomad-gene-constraint)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/gnomad-gene-constraint)
- [Claude](https://spiral.ai/integrations/claude-desktop/gnomad-gene-constraint)
- [Claude Code](https://spiral.ai/integrations/claude-code/gnomad-gene-constraint)
- [Cline](https://spiral.ai/integrations/cline/gnomad-gene-constraint)
- [Codex](https://spiral.ai/integrations/codex/gnomad-gene-constraint)
- [Cursor](https://spiral.ai/integrations/cursor/gnomad-gene-constraint)
- [Devin](https://spiral.ai/integrations/devin/gnomad-gene-constraint)
- [dots](https://spiral.ai/integrations/dots/gnomad-gene-constraint)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/gnomad-gene-constraint)
- [Gemini](https://spiral.ai/integrations/gemini/gnomad-gene-constraint)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/gnomad-gene-constraint)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/gnomad-gene-constraint)
- [goose](https://spiral.ai/integrations/goose/gnomad-gene-constraint)
- [Grok](https://spiral.ai/integrations/grok/gnomad-gene-constraint)
- [Grok Build](https://spiral.ai/integrations/grok-build/gnomad-gene-constraint)
- [Hermes](https://spiral.ai/integrations/hermes/gnomad-gene-constraint)
- [Instinct](https://spiral.ai/integrations/instinct/gnomad-gene-constraint)
- [Manus](https://spiral.ai/integrations/manus/gnomad-gene-constraint)
- [Muse](https://spiral.ai/integrations/muse/gnomad-gene-constraint)
- [Muse Code](https://spiral.ai/integrations/muse-code/gnomad-gene-constraint)
- [n8n](https://spiral.ai/integrations/n8n/gnomad-gene-constraint)
- [Notion](https://spiral.ai/integrations/notion/gnomad-gene-constraint)
- [OpenClaw](https://spiral.ai/integrations/openclaw/gnomad-gene-constraint)
- [opencode](https://spiral.ai/integrations/opencode/gnomad-gene-constraint)
- [Perplexity](https://spiral.ai/integrations/perplexity/gnomad-gene-constraint)
- [Raycast](https://spiral.ai/integrations/raycast/gnomad-gene-constraint)
- [VS Code](https://spiral.ai/integrations/vscode/gnomad-gene-constraint)
- [Windsurf](https://spiral.ai/integrations/windsurf/gnomad-gene-constraint)

## More Zapier guides

- [gnomAD allele frequencies](https://spiral.ai/integrations/zapier/gnomad-allele-frequencies)
- [gnomAD gene variation search](https://spiral.ai/integrations/zapier/gnomad-gene-variation-search)
- [dbSNP population allele frequencies](https://spiral.ai/integrations/zapier/dbsnp-population-allele-frequencies)
- [851 Labs Background Remover](https://spiral.ai/integrations/zapier/851-labs-background-remover)
- [dbSNP SNP details](https://spiral.ai/integrations/zapier/dbsnp-snp-details)
- [Age Modify](https://spiral.ai/integrations/zapier/age-modify)

## Questions about gnomAD gene constraint in Zapier

**Can Zapier use gnomAD gene constraint?**

Yes. Add Spiral to Zapier as an MCP server, and Zapier can find and run gnomAD gene constraint like any built-in tool.

**How much does gnomAD gene constraint cost in Zapier?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Zapier plan is separate.

**Do I need an Alexandria account to use gnomAD gene constraint in Zapier?**

No. Spiral runs gnomAD gene constraint on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up gnomAD gene constraint in Zapier?**

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

**Does Zapier wait while gnomAD gene constraint runs?**

gnomAD gene constraint runs in the background. Zapier starts the run, checks on it and gives you the json when it's ready.

**Which variants contribute to gnomAD constraint counts?**

The counts use unique single nucleotide variants with alternate allele frequency below 0.1% that pass quality control. Predicted loss-of-function counts exclude frameshift insertions and deletions.

**Does gnomAD constraint cover the sex chromosomes?**

Yes. The v4.1.1 constraint update added chromosomes X and Y.

**What changed in the latest constraint correction?**

Version 4.1.2 corrected transcript ranks and bins from v4.1.1. LOEUF and the other constraint metric values stayed unchanged.

**Why can a gene have missing or flagged constraint results?**

gnomAD uses no_exp flags when expected variant counts are missing or zero. It also uses outlier flags for raw Z-scores outside the calculation's accepted range.

**Can I compare Z-scores directly across gnomAD releases?**

Z-scores depend on sample size. The v4.0 constraint calculations used 730,947 exomes versus 125,748 in v2.1.1, so an unchanged observed/expected ratio can still produce a different Z-score.

