Practical overview
When it fits
Use scGen when you have single-cell data with control and perturbed conditions and want to model responses across cell types, related datasets or species. Its batch-removal method is suited to labeled data with cell-type and batch labels.
Who it is for
- Researchers modeling perturbation responses in single-cell datasets.
- Teams comparing labeled single-cell data across batches.
- Analysts exploring response prediction across cell types, studies, datasets with similar genes, or species.
Documented uses
- Predict a perturbation effect for a cell type represented in only one condition of a training dataset.
- Transfer perturbation-response predictions to another dataset with similar genes.
- Predict responses across species using data from another species or multiple species.
- Remove batch effects when cell-type and batch labels are available.
Requirements & limits
The project is available as a public GitHub repository under the GPL-3.0 license. The README gives pip installation instructions.
- The perturbation setup assumes two conditions, such as control and perturbed.
- Batch-effect removal requires cell-type and batch labels.
- The project recommends normalized data; highly variable gene selection is optional.
- Cross-dataset prediction is described for datasets with similar genes.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Prepare recommended single-cell training data
Normalize an AnnData dataset with the Scanpy steps shown in the project README before training.
Before you start
- A single-cell dataset readable by Scanpy as AnnData.
- Python with Scanpy installed.
Steps
Read the dataset with
scanpy.read.Apply
scanpy.pp.normalize_totalto the AnnData object.Apply
scanpy.pp.log1pto the AnnData object.
Expected outcome
The dataset has undergone the normalization steps the README recommends for training.
Guide limitations
- The README does not provide a complete training or prediction procedure in these steps.
- Highly variable gene selection is recommended but optional; the number of genes depends on the application and computational resources.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 16 November 2026
- Original website title
- theislab/scgen · Official homepage title · retained in its source language

