跳到正文
Skillpedia
机器学习51k · #3422

alphagenome

它能做什么

AlphaGenome 是一个预测人类和小鼠 DNA 中微小变化影响的工具。它会分析这些变化,并指出它们影响基因表达等重要功能的可能性有多大。

适用场景

  • ✓当你想检查一个已知基因突变的影响时。
  • ✓当你想了解某个 DNA 变异可能如何影响健康时。
  • ✓当你在科研中研究遗传变异的效应时。

技能链接

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

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/K-Dense-AI/scientific-agent-skills/blob/main/skills/alphagenome/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“变异 chr22:36201698:A>C 的影响是什么?”

每周 5 个新技能,1 分钟读完。

工作原理

AlphaGenome 使用基于大量遗传数据训练的 AI 模型。它会分析 DNA 序列,并预测特定变化在各类生物学检测类型中的效应。

技术内容(原始 SKILL.md)

作者在 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

…

常见问题

什么是 AlphaGenome Atlas?

它是一个预先计算好的预测数据集,涵盖人类 GRCh38 参考基因组中几乎所有可能的单核苷酸变化。它提供影响分数(AVI)以及驱动该影响的具体细节。

我能用它做医学诊断吗?

不能。AlphaGenome 仅用于研究和理论建模,其输出结果不得用于诊断程序或医疗决策。

它适用于人类和小鼠以外动物的基因组吗?

目前,AlphaGenome 只支持人类(GRCh38)和小鼠基因组。

详情

作者的原始描述

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

热度

GitHub 星标
51k
排名
#3422
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能