Spiral gives your agent every tool with one account. Browse the tools →

Cursor · Health

How to Use dbSNP population allele frequencies in Cursor

Returns ALFA allele counts by population for a public rsID, using aggregated dbGaP study data. Use it to compare how common an allele is across populations without retrieving the full SNP record.

Prompts to try with dbSNP population allele frequencies in Cursor

Copy an example into Cursor, or ask in your own words.

Use dbSNP population allele frequencies for rs4988235 and write a script that turns the returned population allele counts into a CSV.

dbSNP population allele frequenciesCursor
Try asking
  • Use dbSNP population allele frequencies for rs334 and rs1801133 to create a notebook comparing the returned populations and allele counts.

  • Use dbSNP population allele frequencies to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from dbSNP population allele frequencies and tell me what changed since last week.

  • Check dbSNP population allele frequencies and summarize what you find in three bullet points.

How to set up dbSNP population allele frequencies in Cursor

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to Cursor on the console's Agents & MCP page, or add this to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):

    {
      "mcpServers": {
        "spiral": { "url": "https://api.spiral.ai/mcp" }
      }
    }
  2. Sign in

    Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

Use the Spiral skill

  1. Send Cursor 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 the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run dbSNP population allele frequencies

    One request; the result comes back by polling or a webhook.

    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": "snp-ncbi-nlm-nih-gov/variants/frequency",
        "input": {
          "rsid": "<rsid>"
        }
      }'

Then paste one of the prompts above: Cursor finds dbSNP population allele frequencies on Spiral, shows the price and runs it.

dbSNP population allele frequencies providers and prices

Spiral runs dbSNP population allele frequencies through Alexandria. Open a card for today's price, with every fee included.

AlexandriaHealth
dbSNP (NCBI) · Frequency
snp-ncbi-nlm-nih-gov/variants/frequency

What can you do with dbSNP population allele frequencies in Cursor?

Build research tables that join public rsIDs to dbSNP alleles and frequency evidence. A coding agent can add those lookups to an annotation script and check its output against NCBI records.

Add frequency context to a research shortlist

Look up public rsIDs from a paper and add the available study or population frequencies to a comparison table.

Screen a public SNP panel by frequency

Apply a research frequency threshold to a supplied list of rsIDs, keeping each allele tied to its reported study or population.

Prepare a genetics teaching exercise

Use public rsIDs such as rs334 and rs4988235 to build exercises comparing alleles and their reported frequencies.

Check a frequency annotation pipeline

Compare a pipeline's frequency output with NCBI records for a fixed set of public rsIDs, checking allele identity and study or population labels.

Review changes between retrieved records

Refresh a public research panel periodically and report changes in its returned allele frequencies or counts.

Prepare a manuscript frequency table

Create an allele frequency table for specified rsIDs, separating results by study or population so readers can compare the evidence.

Compare population allele counts

Compare the same allele across the ALFA populations returned for an rsID, displaying counts alongside population labels.

Questions about dbSNP population allele frequencies in Cursor

Can Cursor use dbSNP population allele frequencies?

Yes. Add Spiral to Cursor as an MCP server, and Cursor can find and run dbSNP population allele frequencies like any built-in tool.

How much does dbSNP population allele frequencies cost in Cursor?

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

Do I need an Alexandria account to use dbSNP population allele frequencies in Cursor?

No. Spiral runs dbSNP population allele frequencies on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up dbSNP population allele frequencies in Cursor?

About two minutes: add the hosted server, then sign in.

Does Cursor wait while dbSNP population allele frequencies runs?

dbSNP population allele frequencies runs in the background. Cursor starts the run, checks on it and gives you the json when it's ready.

Does dbSNP cover species other than humans?

The current dbSNP resource covers human genetic changes, including single nucleotide changes, microsatellites, and small insertions and deletions. Its scope extends beyond single nucleotide SNPs.

How many populations does ALFA cover?

ALFA assigns sample ancestries to 12 population categories, including European, Hispanic, African, and Asian categories. These are study ancestry categories rather than country-by-country coverage.

How often does dbSNP publish updated records?

NCBI describes new and updated RefSNP records as becoming public with dbSNP builds about once per quarter. That is a publication cadence, not a promise that each rsID changes every quarter.

Does ALFA include every submitted genetic site?

ALFA excludes sites and subjects with call rates below 95%. Its frequency data therefore reflects quality-filtered input rather than every submitted observation.

Can I retrieve an individual's genotype from ALFA?

ALFA provides pooled population frequency data. Individual-level genotypes and associated data require authorized access through dbGaP.

Get started

Start using dbSNP population allele frequencies in Cursor

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Cursor:

Set up Cursor

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options