Web interface for Google DeepMind's AlphaGenome genomic prediction model
Project description
A web interface for Google DeepMind's AlphaGenome genomic prediction model.
Quick Start · Features · Deployment · License
What is this?
AlphaGenome Viewer gives you a point-and-click interface to query AlphaGenome predictions — no notebook or SDK boilerplate required. Enter a genomic region or variant, pick your output types and tissues, and get back publication-ready plots and scores in seconds.
Features
Interval Predictions — Visualize gene expression, chromatin accessibility, histone marks, and more across any genomic region.
Variant Effect Comparison — Overlay REF vs ALT predictions side-by-side to see exactly how a variant changes the signal.
Variant Scoring — Score variants with AlphaGenome's recommended scorers and get quantile rankings across the genome.
Supported output types
| Category | Types |
|---|---|
| Expression | RNA-seq, CAGE, PRO-cap |
| Accessibility | ATAC-seq, DNase-seq |
| Chromatin | ChIP-seq (histones), ChIP-seq (TFs), Contact maps |
| Splicing | Splice sites, Splice site usage, Splice junctions |
Quick Start
Option A: pip install (simplest)
pip install alphagenome-viewer
alphagenome-viewer
Open http://localhost:8000 and enter your API key when prompted. The command accepts --port, --host, --workers, and --plots-dir flags.
Option B: From source
Prerequisites
- Python 3.10+
- Node.js 18+
- AlphaGenome API key
Install & Run
# Clone the repo
git clone https://github.com/Abrar-Abir/alphagenome-viewer.git
cd alphagenome-viewer
# Install dependencies
cd backend && pip install -r requirements.txt && cd ..
cd frontend && npm install && cd ..
# Start both services
./start.sh
You should see output like this:
Starting AlphaGenome Viewer...
Starting backend on http://localhost:8000...
Backend started (PID 20094, logging to backend/app.log)
Starting frontend on http://localhost:5173...
Frontend started (PID 20134, logging to frontend/app.log)
Both services running. Press Ctrl+C to stop.
Backend: http://localhost:8000 (logs: backend/app.log)
Frontend: http://localhost:5173 (logs: frontend/app.log)
Open http://localhost:5173 and enter your API key when prompted. That's it.
Press Ctrl+C to stop both services:
^C
Shutting down...
[2]+ Terminated npm run dev > app.log 2>&1
Shutdown complete.
You can also run the services separately — see backend/README.md and frontend/README.md for details.
Deployment
Docker
docker compose up
Open http://localhost:8000. Generated plots persist across restarts via a Docker volume. Your API key is stored in your browser's localStorage.
To build and run manually:
docker build -t alphagenome-viewer .
docker run -p 8000:8000 -v agplots:/app/data/plots alphagenome-viewer
Apptainer / Singularity
For shared servers or HPC environments, build a single container — no Node.js needed at runtime:
apptainer build alphagenome-viewer.sif alphagenome-viewer.def
mkdir -p ./data/plots
apptainer run \
--bind ./data/plots:/opt/alphagenome-viewer/data/plots \
alphagenome-viewer.sif
Open http://localhost:8000. Change the port with APPTAINERENV_AGVIEWER_PORT=9000.
See apptainer run-help alphagenome-viewer.sif for the full list of environment variables and bind mount paths.
Tech Stack
- Frontend: React, Vite, Tailwind CSS, shadcn/ui
- Backend: FastAPI, Matplotlib
- API: AlphaGenome SDK
Contributing
Contributions are welcome! Please open an issue first to discuss what you'd like to change.
License
This project uses open-source dependencies under their own licenses. See THIRD-PARTY-NOTICES for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file alphagenome_viewer-1.0.1.tar.gz.
File metadata
- Download URL: alphagenome_viewer-1.0.1.tar.gz
- Upload date:
- Size: 1.1 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e00c149ac97af0c8707645f53d2c4958cc038f2acceead7af8e9628b3847567e
|
|
| MD5 |
87a561427cc5474dfbc1a70310d5c196
|
|
| BLAKE2b-256 |
6a0706360b136cc8b8f2c218f01b22382fdac9cfdb769fab8abed475ead4d26b
|
Provenance
The following attestation bundles were made for alphagenome_viewer-1.0.1.tar.gz:
Publisher:
publish.yml on Abrar-Abir/alphagenome-viewer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
alphagenome_viewer-1.0.1.tar.gz -
Subject digest:
e00c149ac97af0c8707645f53d2c4958cc038f2acceead7af8e9628b3847567e - Sigstore transparency entry: 952660256
- Sigstore integration time:
-
Permalink:
Abrar-Abir/alphagenome-viewer@bbf2aa4213ac527c07830edf1e52c2c61643848e -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/Abrar-Abir
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@bbf2aa4213ac527c07830edf1e52c2c61643848e -
Trigger Event:
release
-
Statement type:
File details
Details for the file alphagenome_viewer-1.0.1-py3-none-any.whl.
File metadata
- Download URL: alphagenome_viewer-1.0.1-py3-none-any.whl
- Upload date:
- Size: 1.1 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34293b87a358be10bdadf1e9adf2c29e02ee6b53233c541e04fa07c4cc5ac9b8
|
|
| MD5 |
b702539a8be0518993327d76b5932c44
|
|
| BLAKE2b-256 |
5159a859a5ab88c4d905d656ad4cd081f9517dd718305f49950b3ebf19fdfdcf
|
Provenance
The following attestation bundles were made for alphagenome_viewer-1.0.1-py3-none-any.whl:
Publisher:
publish.yml on Abrar-Abir/alphagenome-viewer
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
alphagenome_viewer-1.0.1-py3-none-any.whl -
Subject digest:
34293b87a358be10bdadf1e9adf2c29e02ee6b53233c541e04fa07c4cc5ac9b8 - Sigstore transparency entry: 952660261
- Sigstore integration time:
-
Permalink:
Abrar-Abir/alphagenome-viewer@bbf2aa4213ac527c07830edf1e52c2c61643848e -
Branch / Tag:
refs/tags/v1.0.1 - Owner: https://github.com/Abrar-Abir
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@bbf2aa4213ac527c07830edf1e52c2c61643848e -
Trigger Event:
release
-
Statement type: