scvi-tools

Analyze single-cell data with probabilistic models to correct batch effects.

6|Updated Dec 30, 2025
One-click install
npx skills add https://github.com/pur3v4d3r/pur3-pkb-codebase --skill scvi-tools-pur3v4d3r
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scvi-tools
Source: https://github.com/pur3v4d3r/pur3-pkb-codebase/tree/main/.claude/skills/__scientific-skills/scvi-tools
Command: npx skills add https://github.com/pur3v4d3r/pur3-pkb-codebase --skill scvi-tools-pur3v4d3r

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Unstructured single-cell data often suffer from batch effects and technical noise, making it difficult to extract consistent biology across samples. scvi-tools delivers probabilistic generative models that denoise data, infer latent representations, and enable cross-modality integration across RNA, protein, chromatin, and spatial data.

Core Features & Use Cases

  • Probabilistic modeling for scRNA-seq, scATAC-seq, CITE-seq, and spatial data
  • Batch correction, differential expression, and multimodal integration
  • End-to-end workflows including latent space inference, imputation, and cross-modality mapping
  • Real-world use: deconvolve complex tissues by jointly modeling cells and modalities

Quick Start

Train an scVI-based model on an AnnData object to obtain latent representations and denoised expressions.

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 single-cell RNA-seq data?

Correct batch effects in scRNA-seq data by applying probabilistic models like scVI to AnnData objects containing raw counts, which denoise technical variations and infer consistent biological latent representations across samples.

Can I integrate scRNA-seq and scATAC-seq measurements for multimodal analysis?

Multimodal integration of scRNA-seq and scATAC-seq is supported through models like MultiVI and PeakVI, allowing you to jointly analyze RNA and chromatin accessibility within a single probabilistic framework to map cross-modality relationships.

What is the best way to perform differential expression on spatial transcriptomics data?

Differential expression on spatial transcriptomics data is handled by training probabilistic generative models on AnnData inputs, which denoise the spatial measurements and enable reliable identification of differentially expressed genes across spatial regions.

Does scvi-tools require GPU acceleration to train models on AnnData objects?

GPU acceleration is not strictly required but is leveraged through PyTorch to optimize training speeds for probabilistic models on AnnData objects, significantly improving performance when processing large-scale single-cell datasets.

When should I use scANVI instead of scVI for cell type annotation?

Use scANVI instead of scVI when you have partial cell type labels available, as scANVI extends the scVI framework to incorporate supervised annotation, enabling you to transfer labels to unannotated cells within your dataset.

How do I deconvolve complex tissues using CITE-seq data?

Deconvolve complex tissues using CITE-seq data by applying the TOTALVI model to jointly model RNA and protein measurements, yielding denoised expressions and latent representations that resolve mixed cell populations.