NUTMEG is a Python framework for cell-type classification and regulatory program discovery from paired single-cell multiome data, built around graph-based attention.
It brings together data preparation, model training/evaluation, and interpretation into a unified workflow for extracting cell-type-specific regulatory signals.
- Data preparation and standardized exports for downstream graph construction and modeling
- Dataset-driven global GRN construction (TF→CRE and CRE→Gene priors)
- Per-cell graph dataset construction
- Model training and evaluation for cell-type classification
- Two-hop message passing over regulatory graphs (TF → CRE → Gene)
- Graph-based attention weights for edge/path importance
- Gene contributors per cell type
- Attention-derived cell-type-specific TF–CRE–Gene regulatory programs (eGRNs)
NUTMEG is demonstrated via two notebook tutorials:
-
Data preparation
- QC, filtering, and dataset exports
- Notebook:
tutorials/01_data_preparation.ipynb
-
End-to-end NUTMEG workflow
- Build the global GRN
- Construct the per-cell graph dataset
- Train + evaluate the model
- Interpret results
- Notebook:
tutorials/02_nutmeg.ipynb
Clone and install in editable mode:
git clone https://github.com/GeorgakilasLab/NUTMEG.git
cd src/nutmeg
pip install -e .