scvi-tools

Train scVI, scANVI, totalVI, PeakVI, and MultiVI models on single-cell data.

704|58|Updated Mar 20, 2026
One-click install
npx skills add https://github.com/openyak/desktop --skill scvi-tools-openyak
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: scvi-tools
Source: https://github.com/openyak/desktop/tree/main/backend/app/data/plugins/bio-research/skills/scvi-tools
Command: npx skills add https://github.com/openyak/desktop --skill scvi-tools-openyak

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires scvi-tools, scanpy, mudata, numpy, pandas, scipy, matplotlib, seaborn, and includes scripts (resource) and references (resource) components.

What problem does it solve?

scvi-tools enables end-to-end training and deployment of probabilistic models for single-cell genomics, enabling batch correction, data integration, and multi-omics analysis workflows.

Core Features & Use Cases

  • Supports scVI, scANVI, totalVI, PeakVI, and MultiVI models for robust single-cell analysis.
  • Provides environment setup references, modular CLI scripts, and reference workflows for data preparation, integration, and labeling.
  • Real-world use: integrate multiple scRNA-seq datasets across batches, map labels, and explore multi-modal data with a shared latent space.

Quick Start

Run scvi-tools on a prepared AnnData object to obtain a latent representation and downstream clusters.

Frequently Asked Questions about scvi-tools

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

FAQPage Schema
How do I integrate multiple scRNA-seq datasets across different batches?▼

Batch correction for scRNA-seq datasets is achieved by training probabilistic models like scVI to learn a shared latent space, effectively removing technical batch effects while preserving biological variance across your samples.

Can I use scvi-tools for multi-omics data integration?▼

Multi-omics data integration is fully supported using specialized models like totalVI, PeakVI, and MultiVI, allowing you to jointly analyze scRNA-seq, ATAC, and CITE-seq datasets within a unified latent representation.

What data format do I need to prepare for single-cell batch correction?▼

Single-cell batch correction requires preparing raw count data formatted as an AnnData or MuData object, performing highly variable gene selection, and configuring the setup_anndata call to register batch keys before model training.

Does scvi-tools support reference mapping for single-cell datasets?▼

Reference mapping is supported through the scANVI workflow, enabling you to map labels from a trained reference dataset onto new query single-cell datasets by leveraging the established shared latent space.

What is the difference between scVI and scANVI for single-cell analysis?▼

scVI performs unsupervised batch correction and data integration to generate a latent space, whereas scANVI extends this by incorporating semi-supervised cell type labeling using that same latent representation.

Why does my scvi-tools model require highly variable gene selection?▼

Highly variable gene selection is required before model training to reduce noise, lower computational overhead, and ensure the probabilistic model focuses on meaningful biological signals rather than technical background.