scvi-tools

Train probabilistic generative models on AnnData counts for batch-corrected embeddings.

4|Updated Mar 2, 2026
One-click install
npx skills add https://github.com/shushuzn/Rairos --skill scvi-tools-shushuzn
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scvi-tools
Source: https://github.com/shushuzn/Rairos/tree/main/skills/scvi-tools
Command: npx skills add https://github.com/shushuzn/Rairos --skill scvi-tools-shushuzn

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

scvi-tools solves the challenge of analyzing noisy, sparse single-cell data by providing probabilistic deep generative models that perform batch correction, integration, and statistically principled downstream inference.

Core Features & Use Cases

  • Probabilistic batch correction & embeddings for clustering and visualization that remain robust across technical variation.
  • Model-based differential expression and uncertainty-aware testing for RNA, protein (totalVI), and accessibility (PeakVI) with Bayesian outputs.
  • Multimodal and spatial integration for tasks like RNA+protein joint modeling (totalVI), RNA+ATAC multimodal integration (MultiVI), and spatial deconvolution (DestVI) using reference-guided approaches.

Quick Start

Use the scvi-tools skill to train a generative model on your AnnData counts and extract a batch-corrected latent embedding for downstream UMAP and clustering.

Frequently Asked Questions about scvi-tools

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

FAQPage Schema
How do I perform batch correction on single-cell RNA-seq data?

Batch correction for single-cell RNA-seq data is performed by training a probabilistic generative model on raw count matrices in AnnData format. This process produces batch-corrected latent embeddings that remain robust across technical variation for downstream clustering and visualization.

Can I integrate multimodal single-cell data like RNA and ATAC together?

Multimodal single-cell integration of RNA and ATAC data is supported through models like MultiVI for joint analysis and totalVI for RNA and protein data. These models require AnnData inputs with raw count-like matrices to generate unified latent representations and normalized outputs.

How does probabilistic modeling improve differential expression testing?

Probabilistic modeling improves differential expression testing by applying Bayesian inference to compute posterior distributions. This uncertainty-aware approach produces statistically principled differential expression and accessibility results rather than relying on deterministic point estimates.

Do I need a GPU to train single-cell models for spatial transcriptomics deconvolution?

A GPU is not strictly required to train single-cell models for spatial transcriptomics deconvolution, as training runs on PyTorch backends with optional GPU acceleration. Models like DestVI and Stereoscope can process AnnData inputs on standard compute environments.

What is the best way to model single-cell ATAC-seq accessibility?

The best way to model single-cell ATAC-seq accessibility is using specialized probabilistic models like PeakVI, PoissonVI, or scBasset. These models take raw count-like AnnData matrices to produce denoised accessibility estimates and Bayesian differential accessibility results.