Skip to content

Resolve and look up dbSNP variants across rsIDs, VCF coordinates, and HGVS strings for variant summaries.

CCM score
71 of 100
skills.sh installs
2.4K
GitHub stars
3.6K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers rsID lookup, coordinate and HGVS resolution, and regional variant search in NCBI's dbSNP database
  • Includes the scripts/dbsnp_cli.py wrapper with get-variant, resolve-variant, resolve-rsid, resolve-hgvs, and search-region subcommands
  • Enforces use of the wrapper with --output required and warns that --full payloads can exceed 1 MB
  • Designed for workflows that need variant type, gene, clinical significance, and GRCh38 coordinates rather than ClinVar or gnomAD detail

Install

$ npx -y skills add google-deepmind/science-skills --skill dbsnp-database -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

dbSNP Database Integration

Prerequisites

  1. uv: Read the uv skill and follow its Setup instructions to ensure uv is installed and on PATH.
  2. User Notification: If .licenses/dbsnp_database_LICENSE.txt does not already exist in the workspace root directory then (1) prominently notify the user to check the terms at https://www.ncbi.nlm.nih.gov/snp/, then (2) create the file recording the notification text and timestamp.
  3. .env file: Make sure the .env file exists in your home directory. Create one if it does not exist.
  4. NCBI_API_KEY (optional): Raises the NCBI rate limit from 3 to 10 requests/second. The skill works without it, but a key is recommended if the user plans many queries or encounters a 429 error. You can register for a key for free at https://www.ncbi.nlm.nih.gov/account/settings/. You MUST use the safe credentials protocol in the credentials skill to check for and request this key if this skill looks relevant to the user's request.

Core Rules

Details

Repository
github.com/google-deepmind/science-skills
Categories
Research & Academic, Data Science & Analytics, Databases
First seen
Jul 14, 2026

Questions

What does the dbsnp-database skill do?

It looks up, maps and searches short genetic variants such as SNPs and indels in NCBI's dbSNP database. For an rsID it returns the variant type, gene associations, clinical significance, allele frequencies and GRCh38 genomic coordinates.

How do I convert genomic coordinates to an rsID with this skill?

Use the resolve-variant command with the chromosome, position, reference allele and alternate allele, such as 8 19962213 C T. The skill writes the matching rsIDs to a JSON file, and chromosomes X and Y must be passed as 23 and 24.

How do I install the dbsnp-database skill?

Run npx -y skills add google-deepmind/science-skills --skill dbsnp-database -y in your project. Once installed, the agent can query dbSNP for variant records, coordinates and HGVS-to-rsID resolution.

Does the dbsnp-database skill need an API key?

No, the skill works without one. An optional NCBI_API_KEY raises the NCBI rate limit from 3 to 10 requests per second, and the agent will prompt for it if you plan many queries.

More from google-deepmind/science-skills

All 36

Similar to Dbsnp Database

More Research & Academic