💫 Graph-based foundation model for spatial transcriptomics data
Novae is a deep learning model for spatial domain assignments of spatial transcriptomics data (at both single-cell or spot resolution). It works across multiple gene panels, tissues, and technologies. Novae offers several additional features, including: (i) native batch-effect correction, (ii) analysis of spatially variable genes and pathways, and (iii) architecture analysis of tissue slides.
Documentation
Check Novae's documentation to get started. It contains installation explanations, API details, and tutorials.
Overview
(a) Novae was trained on a large dataset, and is shared on Hugging Face Hub. (b) Illustration of the main tasks and properties of Novae. (c) Illustration of the method behind Novae (self-supervision on graphs, adapted from SwAV).
Installation
novae can be installed from PyPI on all OS, for any Python version >=3.11.
pip install novae
Usage
Here is a minimal usage example. For more details, refer to the documentation.
import novae
# compute cell neighbors
novae.spatial_neighbors(adata)
# load a pre-trained model
model = novae.Novae.from_pretrained("prism-oncology/novae-human-0")
# compute spatial domains
model.compute_representations(adata, zero_shot=True)
model.assign_domains(adata)
Cite us
Our article is published in Nature Methods. You can cite Novae as below:
Blampey, Q., Benkirane, H., Bercovici, N. et al. Novae: a graph-based foundation model for spatial transcriptomics data.
Nat Methods (2025). https://doi.org/10.1038/s41592-025-02899-6
Release files for novae 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| novae-1.1.2.tar.gz | 59.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| novae-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 137.5 kB
Release files / novae-1.1.2.tar.gz
| Download URL | novae-1.1.2.tar.gz |
|---|---|
| Size | 59.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
44ffaec5008742081b27d3dc33fecebe94b7c2354cb2289ddecd771cbb001456
|
|
BLAKE2b-256 checksum How to use checksums |
c4f055cc5de5912dbca83e5c8583d50b61a39a9a306c1aa0e39db7304b7df6c4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.20
|
Release files / novae-1.1.2-py3-none-any.whl
| Download URL | novae-1.1.2-py3-none-any.whl |
|---|---|
| Size | 77.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
41b73674803bf813776cc07e3417dc3d63d138870242958f7d859ff7c7160ac4
|
|
BLAKE2b-256 checksum How to use checksums |
bff5f76384b1e21e5bab95a1384eb642c6945a6857479386d9ab894870fe1cd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.20
|