scvi-tools

Run scvi-tools deep generative models on single-cell RNA sequencing data.

1|Updated Jan 26, 2026
One-click install
npx skills add https://github.com/Victory-Hugo/S2-Agent-Skill --skill scvi-tools-victory-hugo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scvi-tools
Source: https://github.com/Victory-Hugo/S2-Agent-Skill/tree/main/skills/genomics/scvi-tools
Command: npx skills add https://github.com/Victory-Hugo/S2-Agent-Skill --skill scvi-tools-victory-hugo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides probabilistic deep generative models for single-cell RNA sequencing data to infer latent cellular states, correct batch effects, and enable cross-modality integration.

Core Features & Use Cases

  • Leverages scVI, SCANVI, TOTALVI, and MultiVI to learn batch-corrected latent representations and normalized expressions.
  • Supports multimodal and cross-dataset analyses (RNA, protein, ATAC) with uncertainty-aware differential expression and downstream interpretation.
  • Integrates with Scanpy/AnnData workflows to enable clustering, visualization, imputation, transfer learning, and reproducible pipelines.

Quick Start

Install scvi-tools, prepare an AnnData object containing raw counts, choose a model (e.g., SCVI or TOTALVI), train to obtain latent representations and normalized data, then perform downstream tasks such as clustering, DE, or imputation.

Frequently Asked Questions about scvi-tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I correct batch effects in scRNA-seq data for cross-dataset integration?

To correct batch effects in scRNA-seq data, you train a probabilistic model like scVI on raw counts within an AnnData object to learn batch-corrected latent representations. This effectively removes technical variation for seamless cross-dataset integration.

Can I perform multimodal single-cell analysis combining RNA and ATAC data?

Yes, multimodal single-cell analysis combining RNA and ATAC data is supported through models like MultiVI and TOTALVI. These probabilistic models integrate protein and ATAC modalities with RNA to provide a unified latent representation for comprehensive cellular analysis.

How does probabilistic modeling improve differential expression in single-cell data?

Probabilistic modeling improves differential expression by quantifying uncertainty in gene expression estimates across latent cellular states. This uncertainty-aware approach ensures that downstream interpretations of single-cell data are statistically robust and reproducible.

Do I need PyTorch and Scanpy installed to use probabilistic single-cell models?

Yes, you need a Python environment with PyTorch and scvi-tools installed to run the generative models. The workflow also requires Scanpy and AnnData to prepare raw count matrices and perform downstream clustering and visualization tasks.

What is the best way to learn latent cellular states from raw scRNA-seq counts?

The best way to learn latent cellular states from raw scRNA-seq counts is applying a deep generative model like scVI. It processes raw counts directly to infer latent representations, normalize expressions, and handle batch effects without requiring manual data normalization.