Skip to content
Skillpedia
Machine learning51k · #3422

alphagenome

What it does

AlphaGenome is a tool that predicts the impact of small changes in human and mouse DNA. It analyzes these changes and indicates how likely they are to affect important functions, such as gene expression.

When to use it

  • ✓To check the impact of a known genetic mutation.
  • ✓To understand how a DNA variation might affect health.
  • ✓To research effects of genetic variants in scientific studies.

Skill link

https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/alphagenome/SKILL.md

Copy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.

How to use

The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.

Ready-to-paste message

Use this skill to help me: https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/alphagenome/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
Want your AI to find skills like this on its own?Install the free Skillpedia MCP: one line, and it searches 15,000+ skills before each task.Install in 1 minute →

Example of what to ask your AI

“What is the impact of the variant chr22:36201698:A>C?”

5 new skills a week. 1 minute to read.

alphagenome: full guide

Many DNA changes outside genes can alter how a gene is switched on, spliced or packaged, but the effect is hard to see from the sequence alone. This skill helps your agent look up or compute what AlphaGenome predicts for a single-letter change. It returns a ranking score (AVI) and shows which kind of mechanism drives it, such as splicing or chromatin accessibility.

It is meant for researchers who have a list of variants, for example a credible set from a genetics study or a VCF file, and need to decide which ones to look at first. It can also give a first mechanism hypothesis for one variant. It is research software. The outputs are not for diagnosis or medical decisions, and you need a free non-commercial API key.

Use cases

Prioritise a credible set

A fine-mapping study leaves you with 40 non-coding variants near one locus. You give the agent the file and ask for AVI ranking. It returns a table with Phred scores, the top driving feature for each variant and a portal link, so you know which three to follow up first.

Check what a variant does in your tissue

You suspect a variant changes expression in colon. The agent finds the colon ontology term, then pulls RNA-seq, DNase and splice-usage scores for that tissue only. You get raw and quantile scores per track and gene, not just a genome-wide maximum that may come from an unrelated cell type.

Scan a small regulatory region

You are studying a promoter of about 1 kb and want to know which positions are most sensitive. The agent queries the whole window from the precomputed Atlas and lists the top 25 variants by AVI. Larger windows are refused unless you raise a limit.

Step by step

  1. 1Install the package with `uv pip install alphagenome` (Python 3.10 or later) and place the skill in your skills folder, for example ~/.claude/skills/alphagenome/.
  2. 2Get a free non-commercial API key from deepmind.google.com/science/alphagenome and set it as the environment variable ALPHAGENOME_API_KEY. Do not paste it into files you commit.
  3. 3Run `python atlas_query.py scorers` from the scripts folder. If it prints a list, your key and network access work.
  4. 4Give the agent variants as chr:pos:ref>alt on GRCh38, for example chr22:36201698:A>C, or a VCF file, and ask for AVI scores. Convert rsIDs to coordinates first.
  5. 5Read the top driving feature before the number, then ask for track scores in your tissue. Ask the agent for portal links to attach to each variant in your report.

Example

What to ask

“Rank the variants in candidates.vcf by AlphaGenome impact. Keep only Phred 20 or higher, show what drives each score, and add a link to each variant on the Atlas website.”

What you get

A table with one row per variant: raw AVI, genome-wide quantile, Phred, top feature (for example MAX_ABS_DNASE or MERGED_SPLICING), its value, and an Atlas link. Variants below Phred 20 are dropped. Lookup failures appear in an error column instead of stopping the run.

Tips

  • ✓Rank variants, do not apply one cut-off. The skill notes that regulatory variants often have lower AVI than splice or protein-truncating ones, so a strict threshold can miss the variants you care about.
  • ✓Check your genome build. The Atlas is GRCh38 only, and a wrong build or swapped REF and ALT gives a plausible but wrong answer. Convert GRCh37 coordinates first.
  • ✓The Atlas covers single-letter changes only. For indels, mouse or custom backgrounds, ask for the model route (score_variants.py). Mouse results have no quantiles, so use raw scores.
  • ✓Report raw score and quantile together. A high quantile with a tiny raw change can mean a quiet region, so look at the REF and ALT tracks before claiming an effect.

Alternatives

  • cli-anything-unimol-tools

    Pick this if you want to train and run property prediction models on molecules rather than look up the effect of DNA variants.

  • agent-data-ml-model

    Pick this if you need to build, train and evaluate your own machine learning model from your data instead of using a pretrained genomics model.

  • pytorch-patterns

    Pick this if you are writing your own PyTorch models and want good practice for training and reproducibility, not variant effect lookups.

Questions and answers

Do I need a key, and does it cost anything?

Yes, you need an AlphaGenome API key in the ALPHAGENOME_API_KEY environment variable. It is free for non-commercial use. The skill also needs network access to Google's service, so it will not work offline.

What does the AVI Phred score mean?

Phred is a rescaled genome-wide rank of the variant. Phred 20 means the top 1 percent of all single-letter changes, and Phred 30 means the top 0.1 percent. It ranks variants but does not say which are harmful.

Can I paste an rsID or use GRCh37 positions?

No. The API and portal do not accept rsIDs, and the human data is GRCh38 only. Convert rsIDs and older coordinates to GRCh38 positions first, because a wrong build can return a plausible but wrong record.

How it works

AlphaGenome uses an AI model trained on extensive genetic data. It analyzes the DNA sequence and predicts the effects of specific changes across various biological assay types.

Technical content (original SKILL.md)

Original text by the author, straight from GitHub.

AlphaGenome and the AlphaGenome Atlas

AlphaGenome is DeepMind's sequence-to-function model: 1 Mb of DNA in, predictions at modality-specific resolutions for eleven assay types across thousands of human and mouse tracks out. The AlphaGenome Atlas (released 2026-09-08) is that model run once over every possible single-nucleotide change in GRCh38, about 9 billion variants, stored with a single ranking number, the AlphaGenome Variant Impact (AVI) score, its genome-wide percentile, and an 18-way attribution of what drives it. Both are reached through one pip install alphagenome and one API key.

Research and theoretical modelling only. API outputs must not be used to train other models, and are not for diagnostic procedures or medical decisions. Permissive-use downloads have separate terms; check the artifact licence.

When to use which

You have Use Why
hg38 SNVs (a VCF, a credible set, a region up to ~1 kb) Atlas via scripts/atlas_query.py precomputed, higher quota, includes AVI and attributions
indels, mouse variants, a non-reference background, a custom scorer or window model via scripts/score_variants.py or Python the Atlas is SNV-only and hg38-only
a hypothesis to explain (which motif, which tissue, REF vs ALT tracks) model predict_variant + plots, Atlas track scores, portal link mechanism, not just rank
GRCh37 coordinates, rsIDs, unnormalised indels genomic-coordinates first, then come back wrong build or swapped REF gives a plausible wrong answer
ClinVar assertions, gene-disease validity, ACMG framing folklore-variant-evidence, database-lookup AlphaGenome is one evidence line, never the verdict
promoter/enhancer/expression predictions without a DeepMind key genomic-intelligence different provider, keyless demo tier

Setup

uv pip install alphagenome                     # PyPI; tested on Python 3.12 and 3.13, alphagenome 0.9.0
export ALPHAGENOME_API_KEY="..."               # https://deepmind.google.com/science/alphagenome
cd skills/alphagenome/scripts
python atlas_query.py scorers                  # proves key + network in one call

Shell examples quote variant strings because > otherwise redirects output. Network examples below are illustrative and were checked against SDK 0.9.0 contracts, without authenticated prediction/Atlas calls during this review.

Never put the key on a command line or in a file you commit; the scripts only read it from the environment. Authentication failures may surface as ValueError or PermissionError, depending on the gRPC status returned by the service.

The coordinate contract

  • A variant is 1-based chr:pos:ref>alt (chr22:36201698:A>C). gnomAD (22-36201698-A-C), GTEx (chr22_36201698_A_C_b38), and Open Targets spellings are autodetected by the scripts. In the SDK, pass the matching variant_format=genome.VariantFormat.GNOMAD (or GTEX, OPEN_TARGETS, OPEN_TARGETS_BIGQUERY); from_str defaults to chr:pos:ref>alt.
  • An interval on the command line is 1-based closed chr:start-end; the SDK's genome.Interval is 0-based half-open. The scripts convert.
  • Human is GRCh38 only. The Atlas key is chr:pos:alt; REF is implied by the reference. Swapping REF/ALT can cause a miss; a wrong REF or build can misidentify a record. The scripts reject a returned variant that differs from the request, but cannot validate the build. Check REF against GRCh38 FASTA.
  • rsIDs are not accepted by the API or the portal. Resolve them to coordinates.
  • Use the chr prefix; MT becomes chrM.

Atlas workflow

1. Rank with AVI

python atlas_query.py avi --variant "chr22:36201698:A>C" "chr9:128225994:G>A"
python atlas_query.py avi --input candidates.vcf --min-phred 20 -o avi.tsv
python atlas_query.py avi --interval chr11:5225727-5226575 --top-k 25 -o hbb_window.tsv
python atlas_query.py avi --input credible_set.tsv --with-tracks -o avi_tracks.tsv

Output, one row per variant:

Column Meaning
avi_raw composite model output (the 18 attributions sum to it)
avi_cdf_quantile cumulative quantile against all genome-wide SNVs, as served
avi_tail_quantile, avi_phred, avi_top_percent tail = 1 - cdf, phred = -10 log10(tail); Phred 20 = top 1 %, 30 = top 0.1 %
top_feature, top_feature_value largest absolute SHAP attribution and its value

…

FAQ

What is the AlphaGenome Atlas?

It's a collection of pre-computed predictions for almost every possible single-nucleotide change in the human GRCh38 reference genome. It provides an impact score (AVI) and details about what drives that impact.

Can I use this for medical diagnosis?

No. AlphaGenome is for research and theoretical modeling only. Outputs must not be used for diagnostic procedures or medical decisions.

Does it work for genomes of animals other than humans and mice?

Currently, AlphaGenome only supports human (GRCh38) and mouse genomes.

Details

Original description by the author

Looks up precomputed AlphaGenome Atlas effects for any GRCh38 single-nucleotide variant (AVI score with Phred and 18 SHAP feature attributions, plus raw and quantile scores for RNA-seq, DNase, ATAC, ChIP-TF, ChIP-histone, CAGE, PRO-cap, splicing, polyadenylation and contact-map tracks), scores variants or scans windows on demand with the AlphaGenome model for human and mouse (variant scoring, in s

repo: K-Dense-AI/scientific-agent-skills

Popularity

GitHub stars
51k
Ranking position
#3422
License
MIT
Updated
10/15/2026

Is this skill useful?

0

Sign in to vote.

Comments

  • …

More skills from this repository

Similar skills