OpenViSTAI · Agents · Blockchain · Crypto
Menu
AI Models

Scgen

Scgen is a Python generative model implemented with the scvi-tools framework that predicts single-cell perturbation responses and removes batch effects from labeled single-cell data.

Independent OpenViST project profile, based on linked sources.

Scgen — Perturbation-response prediction in single-cell data
OpenViST project illustration. See the linked sources for product details.
Understand the project

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.
Before you choose

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.

Source-based practical guide

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

  1. Read the dataset with scanpy.read.

  2. Apply scanpy.pp.normalize_total to the AnnData object.

  3. Apply scanpy.pp.log1p to 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.
Evidence and transparency

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