Graph-based foundation model for spatial transcriptomics data
Project description
💫 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
PyPI
novae can be installed via PyPI on all OS, for python>=3.10.
pip install novae
Editable mode
To install novae in editable mode (e.g., to contribute), clone the repository and choose among the options below.
pip install -e . # pip, minimal dependencies
pip install -e '.[dev]' # pip, all extras
poetry install # poetry, minimal dependencies
poetry install --all-extras # poetry, all extras
Usage
Here is a minimal usage example. For more details, refer to the documentation.
import novae
model = novae.Novae.from_pretrained("MICS-Lab/novae-human-0")
model.compute_representations(adata, zero_shot=True)
model.assign_domains(adata)
Cite us
You can cite our preprint as below:
@article{blampeyNovae2024,
title = {Novae: A Graph-Based Foundation Model for Spatial Transcriptomics Data},
author = {Blampey, Quentin and Benkirane, Hakim and Bercovici, Nadege and Andre, Fabrice and Cournede, Paul-Henry},
year = {2024},
pages = {2024.09.09.612009},
publisher = {bioRxiv},
doi = {10.1101/2024.09.09.612009},
}
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 novae-0.2.4.tar.gz.
File metadata
- Download URL: novae-0.2.4.tar.gz
- Upload date:
- Size: 46.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.10.11 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4aef7fb0c90b870869ce38bcac8e4b4f33f5a42fa582357c9b5fbe8d5fc15d46
|
|
| MD5 |
b9a08c265662bfb78b8ed3836f62f07e
|
|
| BLAKE2b-256 |
c2a432086bef6aa5b982aa954b3ff88dec46b581b87404248ed16de53c59159f
|
File details
Details for the file novae-0.2.4-py3-none-any.whl.
File metadata
- Download URL: novae-0.2.4-py3-none-any.whl
- Upload date:
- Size: 59.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.1 CPython/3.10.11 Linux/6.8.0-1021-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6ed762975dfc0d8357f5ced3f4d9348ea40cc07d15fea8cea981f51abe2b11cb
|
|
| MD5 |
0e8d0dc068a43fbdb4cabfc57c56e707
|
|
| BLAKE2b-256 |
01fa8553ebacb959096ffaaa67960109de4b9c32226e89f4661acec0f3509727
|