AlphaGenome Atlas Deep-Linking & URL Configuration
Construct and validate deep-links for the AlphaGenome Atlas web application
(https://deepmind.google.com/science/alphagenome/atlas).
Base URL: https://deepmind.google.com/science/alphagenome/atlas
[!IMPORTANT] Mandatory Atlas Deep-Linking with Variant Scores: Whenever
presenting, discussing, or scoring genetic variants, you MUST always provide
clickable deep-links to the
AlphaGenome Atlas.
Use scripts/alphagenome_atlas_links.py to automate link and table
generation.
Prerequisites
# 1. Single Variant Exploration Link:
uv run scripts/alphagenome_atlas_links.py variant "chr9:128225994:G>A" \
--biosample K562 \
--modalities RNA_SEQ,DNASE,CHIP_TF
# 2. Genomic Locus / Interval Link:
uv run scripts/alphagenome_atlas_links.py locus "chr11:5288500-5290500" \
--biosample K562 \
--modalities RNA_SEQ,DNASE,CHIP_TF
# 3. Format Candidate Variant Records Table (with embedded clickable links):
uv run scripts/alphagenome_atlas_links.py table --input top_variants.json --biosample K562
# 4. Construct Ref vs. Alt Track Predictions Link (/atlas/track-predictions):
uv run scripts/alphagenome_atlas_links.py track-predictions \
--variant "chr15:42387805:C>G" \
--gene CAPN3 \
--biosample "Muscle_Skeletal"
2. URL Query Parameters
q (string, Required): Primary search target. Supports 1-based
closed intervals (chr11:5288500-5290500), gene symbols (BRCA1), Ensembl
IDs (ENSG00000012048), or 1-based variants (chr7:27170000:A>G).
m (enum, Optional): View mode. Defaults to entity for
genes/variants and locus for coordinate intervals. Use variant for
variant queries. (Allowed: locus, entity, variant, motifs).
i (string, Optional): Centered viewport zoom interval in 1-based
closed chr:start-end format (e.g. chr11:5289310-5289690). Required for
automatic motif rendering.
f (string, Optional): Comma-separated filter predicates in
KEY:VALUE format (e.g.
BIOSAMPLE_NAME:K562,SCORER_MODALITY:RNA-seq,ASSAY_TRANSCRIPTOR_FACTOR:GATA1).
Controls visible heatmap rows.
lItems (string, Optional): Layout item sequence, AVI score track
toggle (avi), section heatmaps, and pinned tracks list (e.g.
avi,section:RNA_SEQ,section:DNASE,pinned:<TrackKey>).
scores (string, Optional): Comma-separated list of ScoreId tokens
for the /atlas/track-predictions page comparison (e.g.
<ScoreId1>,<ScoreId2>).
md (enum, Optional): Active modality tab selector on the track
predictions view (RNA_SEQ, SPLICE_JUNCTIONS, SPLICE_SITE_USAGE,
DNASE).
tpRenames (string, Optional): Custom title overrides for specific
score predictions (ScoreId:CustomTitle).
tpLegendTitle (string, Optional): Custom legend title for the track
predictions chart card (e.g. Predicted Gene Expression).
[!IMPORTANT] Variant Query Format: Variants in q must strictly use
chr:pos_1_based:ref>alt format (e.g. chr7:27170000:A>G or URL-encoded
chr7:27170000:A%3EG, where the position is 1-based). Do not use
colon-separated alleles (A:G) or dbSNP rsIDs (rsIDs are unsupported).
3. Multi-Modality Filtering & The Assay Group Gotcha (f)
Filter Groups & Boolean Evaluation
Filters in f map to three primary evaluation groups:
Biosample Group (BIOSAMPLE_NAME, BIOSAMPLE_TYPE): Evaluated with
AND logic.
Assay Group (SCORER_MODALITY, ASSAY_TRANSCRIPTOR_FACTOR,
ASSAY_HISTONE_MARK): Evaluated with OR logic.
Gene Group (GENE_NAME): Evaluated with OR logic.
⚠️ Mandatory Multi-Modality Filter Rule
RNA-seq and DNase tracks have no transcription factor code
(transcriptionFactorCode === ""). If f contains only
ASSAY_TRANSCRIPTOR_FACTOR filters under the Assay group, RNA-seq and DNase
tracks fail the Assay evaluation and are hidden from the heatmap.
To display RNA-seq and DNase tracks alongside specific ChIP-seq
transcription factors, explicitly include SCORER_MODALITY:RNA-seq and
SCORER_MODALITY:DNase in f (handled automatically by
scripts/alphagenome_atlas_links.py):
f=BIOSAMPLE_NAME:<CellLine>,SCORER_MODALITY:RNA-seq,SCORER_MODALITY:DNase,ASSAY_TRANSCRIPTOR_FACTOR:<TF1>,ASSAY_TRANSCRIPTOR_FACTOR:<TF2>
4. Layout Configuration, AVI Scores, & Pinned Tracks (lItems)
Plotting AVI Scores and Modality Sections
- AVI Variant Impact Track (
avi): Including avi in lItems renders
the top-level AlphaGenome Variant Impact score track for the interval or
variant.
- Database Modality Sections (
section:<MODALITY>): Sections render full
unpinned heatmaps across all matching tracks for that modality (e.g.
section:RNA_SEQ, section:DNASE, section:CHIP_TF, section:ATAC,
section:CAGE).
Pinned Tracks & Motif Instances
[!NOTE] Track-Specific Motif Guideline: Pinned Active-ISM tracks with
motif instances and Contribution Weight Matrix (CWM) logos should only be
added when specifically requested for individual tracks. Only a limited
subset of tracks (such as key ChIP-TF or RNA-seq tracks relevant to the locus)
support and benefit from pinned motif overlays. For standard exploration
links, default section heatmaps
(avi,section:RNA_SEQ,section:DNASE,section:CHIP_TF) without pinned tracks
are preferred.
Motif instances and CWM logos render exclusively on pinned tracks at
base-pair resolution. General section heatmaps do not trigger motif footprint
rendering.
Pinned Track Key Schema
pinned:<TrackMetadataName>:<StrandNumber>:<ScorerShortName>:heatmap:HEATMAP_TILESET_SOURCE_ACTIVE_ISM_SCORES:<TilesetId>
<TrackMetadataName>: Exact track name from production metadata proto,
URL-encoded (%20 for spaces).
<StrandNumber>: 1 (STRAND_POSITIVE), 2 (STRAND_NEGATIVE), 3
(STRAND_UNSTRANDED).
<ScorerShortName>: RNA_SEQ, CHIP_TF, DNASE, ATAC, CAGE,
PROCAP, CHIP_HISTONE.
HEATMAP_TILESET_SOURCE_ACTIVE_ISM_SCORES: Required source identifier for
Active-ISM motif layers.
<TilesetId>: Server-assigned tileset identifier (17354278441953531756
for current production).
Recipe for Automatic Motif Display on Load
- Append
pinned:<PinnedKey> entries to lItems for the specific target
tracks only.
- Set viewport interval
i to base-pair resolution ($\le 1\text{ bp/px}$,
window $\le 380\text{ bp}$).
- Configure
f with cell line and transcription factors.
5. Track Predictions & Ref vs. Alt Comparisons (/atlas/track-predictions)
The dedicated /atlas/track-predictions page compares predicted functional
profiles between the Reference and Alternate alleles for selected scores across
genomic windows:
- Route:
https://deepmind.google.com/science/alphagenome/atlas/track-predictions
- Visualizations: Expanded line plots (expression, chromatin
accessibility, TF binding) and Sashimi arc charts (splice junctions).
Automated Prediction Link Generation (scripts/alphagenome_atlas_links.py track-predictions)
Always construct track prediction URLs using scripts/alphagenome_atlas_links.py track-predictions. Manual ScoreId string formatting is error-prone due to
donor/acceptor skipping coordinates, strand orientation (+/-), and genic vs.
non-genic suffix rules. The script automatically handles coordinate extraction
from GENCODE v46, track catalog resolution, and URL synthesis.
# Variant & Gene:
uv run scripts/alphagenome_atlas_links.py track-predictions \
--variant "chr15:42387805:C>G" \
--gene CAPN3 \
--biosample "Muscle_Skeletal" \
--modalities SPLICE_JUNCTIONS,RNA_SEQ,DNASE,CHIP_TF \
--tf CTCF
# Interval/Locus query:
uv run scripts/alphagenome_atlas_links.py track-predictions \
--variant "chr15:42387805:C>G" \
--interval "chr15:41869312-42917888" \
--biosample "Muscle_Skeletal" \
--modalities SPLICE_JUNCTIONS,RNA_SEQ,DNASE,CHIP_TF
Supported CLI Options for track-predictions
--variant, -v (string, default: None): Variant string in
chr:pos_1_based:ref>alt format.
--gene, -g (string, default: None): Target gene symbol (bounds
i= viewport and computes splice junctions).
--gene_id (string, default: None): Target Ensembl gene ID (e.g.
ENSG00000092529.26).
--interval, -i (string, default: None): Genomic interval
viewport in chr:start-end format.
--biosample, -b (string, default: Muscle_Skeletal): Target
biosample or tissue query (e.g. Muscle_Skeletal, K562, Whole_Blood).
--modalities, -m (string, default:
SPLICE_JUNCTIONS,RNA_SEQ,DNASE,CHIP_TF): Comma-separated list of
modalities (SPLICE_JUNCTIONS, RNA_SEQ, DNASE, ATAC, CHIP_TF).
--tf (string, default: CTCF): Transcription factor name for
ChIP-TF tracks (e.g. CTCF, GATA1).
--rename (string, default: None): Custom track rename overrides in
the chart card.
--legend_title (string, default: None): Custom legend header for
the chart card.
--format (enum, default: table): Output format (table, url,
json).
[!IMPORTANT] Mandatory Splicing & RNA-seq Co-Plotting Rule: When
generating /atlas/track-predictions deep-links, plotting, or visualizing
variant impact data for splicing variants, always plot continuous RNA-seq
expression alongside splicing tracks (SPLICE_JUNCTIONS,
SPLICE_SITE_USAGE, SPLICE_SITES). Splicing mutations frequently activate
cryptic splice junctions and trigger nonsense-mediated decay (NMD) or alter
total transcript output; assessing splice junctions (sashimi arcs) together
with continuous RNA-seq read coverage is required to observe both the
structural splice defect and the resulting change in overall transcript
abundance.
[!IMPORTANT] Always Provide Bounded i= in Track Prediction URLs:
Omitting scores= or leaving the genomic interval (i=) unbounded causes the
web application to attempt querying all matching tracks across the broader
locus, leading to severe latency or page hanging. alphagenome_atlas_links.py track-predictions automatically bounds i= to the target gene or requested
interval.
1---2name: alphagenome-atlas-website-links3description: Constructs deep-links and URLs for the AlphaGenome Atlas website. Supports generating single-variant exploration links (1-based chr:pos:ref>alt), genomic locus views (1-based closed chr:start-end), candidate summary tables, and AlphaGenome reference vs. alternate predictions. Use whenever visualizing, exploring, charting, or linking genetic variants and genomic loci on the AlphaGenome Atlas, or when asked to inspect, view, or link predictions for a genomic variant.4---5
6# AlphaGenome Atlas Deep-Linking & URL Configuration
7
8Construct and validate deep-links for the AlphaGenome Atlas web application
9(`https://deepmind.google.com/science/alphagenome/atlas`).
10
11Base URL: `https://deepmind.google.com/science/alphagenome/atlas`
12
13> [!IMPORTANT] **Mandatory Atlas Deep-Linking with Variant Scores**: Whenever
14> presenting, discussing, or scoring genetic variants, you **MUST always provide
15> clickable deep-links to the
16> [AlphaGenome Atlas](https://deepmind.google.com/science/alphagenome/atlas)**.
17> Use `scripts/alphagenome_atlas_links.py` to automate link and table
18> generation.
19
20--------------------------------------------------------------------------------
21
22## Prerequisites
23
24```bash
25# 1. Single Variant Exploration Link:
26uv run scripts/alphagenome_atlas_links.py variant "chr9:128225994:G>A" \
27 --biosample K562 \
28 --modalities RNA_SEQ,DNASE,CHIP_TF
29
30# 2. Genomic Locus / Interval Link:
31uv run scripts/alphagenome_atlas_links.py locus "chr11:5288500-5290500" \
32 --biosample K562 \
33 --modalities RNA_SEQ,DNASE,CHIP_TF
34
35# 3. Format Candidate Variant Records Table (with embedded clickable links):
36uv run scripts/alphagenome_atlas_links.py table --input top_variants.json --biosample K562
37
38# 4. Construct Ref vs. Alt Track Predictions Link (/atlas/track-predictions):
39uv run scripts/alphagenome_atlas_links.py track-predictions \
40 --variant "chr15:42387805:C>G" \
41 --gene CAPN3 \
42 --biosample "Muscle_Skeletal"
43```
44
45--------------------------------------------------------------------------------
46
47## 2. URL Query Parameters
48
49* **`q`** (*string*, **Required**): Primary search target. Supports 1-based
50 closed intervals (`chr11:5288500-5290500`), gene symbols (`BRCA1`), Ensembl
51 IDs (`ENSG00000012048`), or 1-based variants (`chr7:27170000:A>G`).
52* **`m`** (*enum*, Optional): View mode. Defaults to `entity` for
53 genes/variants and `locus` for coordinate intervals. Use `variant` for
54 variant queries. (Allowed: `locus`, `entity`, `variant`, `motifs`).
55* **`i`** (*string*, Optional): Centered viewport zoom interval in 1-based
56 closed `chr:start-end` format (e.g. `chr11:5289310-5289690`). Required for
57 automatic motif rendering.
58* **`f`** (*string*, Optional): Comma-separated filter predicates in
59 `KEY:VALUE` format (e.g.
60 `BIOSAMPLE_NAME:K562,SCORER_MODALITY:RNA-seq,ASSAY_TRANSCRIPTOR_FACTOR:GATA1`).
61 Controls visible heatmap rows.
62* **`lItems`** (*string*, Optional): Layout item sequence, AVI score track
63 toggle (`avi`), section heatmaps, and pinned tracks list (e.g.
64 `avi,section:RNA_SEQ,section:DNASE,pinned:<TrackKey>`).
65* **`scores`** (*string*, Optional): Comma-separated list of `ScoreId` tokens
66 for the `/atlas/track-predictions` page comparison (e.g.
67 `<ScoreId1>,<ScoreId2>`).
68* **`md`** (*enum*, Optional): Active modality tab selector on the track
69 predictions view (`RNA_SEQ`, `SPLICE_JUNCTIONS`, `SPLICE_SITE_USAGE`,
70 `DNASE`).
71* **`tpRenames`** (*string*, Optional): Custom title overrides for specific
72 score predictions (`ScoreId:CustomTitle`).
73* **`tpLegendTitle`** (*string*, Optional): Custom legend title for the track
74 predictions chart card (e.g. `Predicted Gene Expression`).
75
76> [!IMPORTANT] **Variant Query Format**: Variants in `q` must strictly use
77> `chr:pos_1_based:ref>alt` format (e.g. `chr7:27170000:A>G` or URL-encoded
78> `chr7:27170000:A%3EG`, where the position is 1-based). **Do not use**
79> colon-separated alleles (`A:G`) or dbSNP rsIDs (rsIDs are unsupported).
80
81--------------------------------------------------------------------------------
82
83## 3. Multi-Modality Filtering & The Assay Group Gotcha (`f`)
84
85### Filter Groups & Boolean Evaluation
86
87Filters in `f` map to three primary evaluation groups:
88
89* **`Biosample` Group (`BIOSAMPLE_NAME`, `BIOSAMPLE_TYPE`)**: Evaluated with
90 **AND** logic.
91* **`Assay` Group (`SCORER_MODALITY`, `ASSAY_TRANSCRIPTOR_FACTOR`,
92 `ASSAY_HISTONE_MARK`)**: Evaluated with **OR** logic.
93* **`Gene` Group (`GENE_NAME`)**: Evaluated with **OR** logic.
94
95### ⚠️ Mandatory Multi-Modality Filter Rule
96
97`RNA-seq` and `DNase` tracks have no transcription factor code
98(`transcriptionFactorCode === ""`). If `f` contains *only*
99`ASSAY_TRANSCRIPTOR_FACTOR` filters under the Assay group, `RNA-seq` and `DNase`
100tracks fail the Assay evaluation and are hidden from the heatmap.
101
102To display `RNA-seq` and `DNase` tracks alongside specific ChIP-seq
103transcription factors, **explicitly include `SCORER_MODALITY:RNA-seq` and
104`SCORER_MODALITY:DNase`** in `f` (handled automatically by
105`scripts/alphagenome_atlas_links.py`):
106
107```
108f=BIOSAMPLE_NAME:<CellLine>,SCORER_MODALITY:RNA-seq,SCORER_MODALITY:DNase,ASSAY_TRANSCRIPTOR_FACTOR:<TF1>,ASSAY_TRANSCRIPTOR_FACTOR:<TF2>
109```
110
111--------------------------------------------------------------------------------
112
113## 4. Layout Configuration, AVI Scores, & Pinned Tracks (`lItems`)
114
115### Plotting AVI Scores and Modality Sections
116
117* **AVI Variant Impact Track (`avi`)**: Including `avi` in `lItems` renders
118 the top-level AlphaGenome Variant Impact score track for the interval or
119 variant.
120* **Database Modality Sections (`section:<MODALITY>`)**: Sections render full
121 unpinned heatmaps across all matching tracks for that modality (e.g.
122 `section:RNA_SEQ`, `section:DNASE`, `section:CHIP_TF`, `section:ATAC`,
123 `section:CAGE`).
124
125### Pinned Tracks & Motif Instances
126
127> [!NOTE] **Track-Specific Motif Guideline**: Pinned Active-ISM tracks with
128> motif instances and Contribution Weight Matrix (CWM) logos should **only be
129> added when specifically requested for individual tracks**. Only a limited
130> subset of tracks (such as key ChIP-TF or RNA-seq tracks relevant to the locus)
131> support and benefit from pinned motif overlays. For standard exploration
132> links, default section heatmaps
133> (`avi,section:RNA_SEQ,section:DNASE,section:CHIP_TF`) without pinned tracks
134> are preferred.
135
136Motif instances and CWM logos render **exclusively on pinned tracks** at
137base-pair resolution. General section heatmaps do not trigger motif footprint
138rendering.
139
140### Pinned Track Key Schema
141
142```
143pinned:<TrackMetadataName>:<StrandNumber>:<ScorerShortName>:heatmap:HEATMAP_TILESET_SOURCE_ACTIVE_ISM_SCORES:<TilesetId>
144```
145
146* `<TrackMetadataName>`: Exact track name from production metadata proto,
147 URL-encoded (`%20` for spaces).
148* `<StrandNumber>`: `1` (`STRAND_POSITIVE`), `2` (`STRAND_NEGATIVE`), `3`
149 (`STRAND_UNSTRANDED`).
150* `<ScorerShortName>`: `RNA_SEQ`, `CHIP_TF`, `DNASE`, `ATAC`, `CAGE`,
151 `PROCAP`, `CHIP_HISTONE`.
152* `HEATMAP_TILESET_SOURCE_ACTIVE_ISM_SCORES`: Required source identifier for
153 Active-ISM motif layers.
154* `<TilesetId>`: Server-assigned tileset identifier (`17354278441953531756`
155 for current production).
156
157### Recipe for Automatic Motif Display on Load
158
1591. Append `pinned:<PinnedKey>` entries to `lItems` for the specific target
160 tracks only.
1612. Set viewport interval `i` to base-pair resolution ($\le 1\text{ bp/px}$,
162 window $\le 380\text{ bp}$).
1633. Configure `f` with cell line and transcription factors.
164
165--------------------------------------------------------------------------------
166
167## 5. Track Predictions & Ref vs. Alt Comparisons (`/atlas/track-predictions`)
168
169The dedicated `/atlas/track-predictions` page compares predicted functional
170profiles between the Reference and Alternate alleles for selected scores across
171genomic windows:
172
173* **Route**:
174 `https://deepmind.google.com/science/alphagenome/atlas/track-predictions`
175* **Visualizations**: Expanded line plots (expression, chromatin
176 accessibility, TF binding) and Sashimi arc charts (splice junctions).
177
178### Automated Prediction Link Generation (`scripts/alphagenome_atlas_links.py track-predictions`)
179
180Always construct track prediction URLs using `scripts/alphagenome_atlas_links.py
181track-predictions`. Manual `ScoreId` string formatting is error-prone due to
182donor/acceptor skipping coordinates, strand orientation (+/-), and genic vs.
183non-genic suffix rules. The script automatically handles coordinate extraction
184from GENCODE v46, track catalog resolution, and URL synthesis.
185
186```bash
187# Variant & Gene:
188uv run scripts/alphagenome_atlas_links.py track-predictions \
189 --variant "chr15:42387805:C>G" \
190 --gene CAPN3 \
191 --biosample "Muscle_Skeletal" \
192 --modalities SPLICE_JUNCTIONS,RNA_SEQ,DNASE,CHIP_TF \
193 --tf CTCF
194
195# Interval/Locus query:
196uv run scripts/alphagenome_atlas_links.py track-predictions \
197 --variant "chr15:42387805:C>G" \
198 --interval "chr15:41869312-42917888" \
199 --biosample "Muscle_Skeletal" \
200 --modalities SPLICE_JUNCTIONS,RNA_SEQ,DNASE,CHIP_TF
201```
202
203### Supported CLI Options for `track-predictions`
204
205* **`--variant`, `-v`** (*string*, default: `None`): Variant string in
206 `chr:pos_1_based:ref>alt` format.
207* **`--gene`, `-g`** (*string*, default: `None`): Target gene symbol (bounds
208 `i=` viewport and computes splice junctions).
209* **`--gene_id`** (*string*, default: `None`): Target Ensembl gene ID (e.g.
210 `ENSG00000092529.26`).
211* **`--interval`, `-i`** (*string*, default: `None`): Genomic interval
212 viewport in `chr:start-end` format.
213* **`--biosample`, `-b`** (*string*, default: `Muscle_Skeletal`): Target
214 biosample or tissue query (e.g. `Muscle_Skeletal`, `K562`, `Whole_Blood`).
215* **`--modalities`, `-m`** (*string*, default:
216 `SPLICE_JUNCTIONS,RNA_SEQ,DNASE,CHIP_TF`): Comma-separated list of
217 modalities (`SPLICE_JUNCTIONS`, `RNA_SEQ`, `DNASE`, `ATAC`, `CHIP_TF`).
218* **`--tf`** (*string*, default: `CTCF`): Transcription factor name for
219 ChIP-TF tracks (e.g. `CTCF`, `GATA1`).
220* **`--rename`** (*string*, default: `None`): Custom track rename overrides in
221 the chart card.
222* **`--legend_title`** (*string*, default: `None`): Custom legend header for
223 the chart card.
224* **`--format`** (*enum*, default: `table`): Output format (`table`, `url`,
225 `json`).
226
227> [!IMPORTANT] **Mandatory Splicing & RNA-seq Co-Plotting Rule**: When
228> generating `/atlas/track-predictions` deep-links, plotting, or visualizing
229> variant impact data for splicing variants, **always plot continuous RNA-seq
230> expression alongside splicing tracks** (`SPLICE_JUNCTIONS`,
231> `SPLICE_SITE_USAGE`, `SPLICE_SITES`). Splicing mutations frequently activate
232> cryptic splice junctions and trigger nonsense-mediated decay (NMD) or alter
233> total transcript output; assessing splice junctions (sashimi arcs) together
234> with continuous RNA-seq read coverage is required to observe both the
235> structural splice defect and the resulting change in overall transcript
236> abundance.
237
238> [!IMPORTANT] **Always Provide Bounded `i=` in Track Prediction URLs**:
239> Omitting `scores=` or leaving the genomic interval (`i=`) unbounded causes the
240> web application to attempt querying all matching tracks across the broader
241> locus, leading to severe latency or page hanging. `alphagenome_atlas_links.py
242> track-predictions` automatically bounds `i=` to the target gene or requested
243> interval.