scvi-basic

Perform unsupervised integration and batch correction for scRNA-seq data using scVI.

1|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/tony-zhelonkin/SciAgent-toolkit --skill scvi-basic
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scvi-basic
Source: https://github.com/tony-zhelonkin/SciAgent-toolkit/tree/main/skills/scvi-basic
Command: npx skills add https://github.com/tony-zhelonkin/SciAgent-toolkit --skill scvi-basic

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Performs unsupervised integration and batch correction for scRNA-seq data using scVI to align datasets and remove batch effects while preserving biological variation.

Core Features & Use Cases

  • Unsupervised integration across batches to build a shared latent space for downstream analysis.
  • Preprocessing support for scANVI workflows and downstream differential expression analyses in scRNA-seq projects.
  • Flexible, GPU-accelerated training with scVI-tools and anndata integration.

Quick Start

Train an SCVI model on your raw-count AnnData to obtain a latent representation and batch-corrected expression.

Frequently Asked Questions about scvi-basic

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

FAQPage Schema
How do I perform batch correction and integrate scRNA-seq datasets?

You can perform unsupervised integration and batch correction for scRNA-seq data using scVI to align datasets and remove batch effects while preserving biological variation. It constructs a shared latent space for cross-batch analyses.

Can I use scVI for preprocessing before running scANVI workflows?

Yes, scVI is applicable for preprocessing support before scANVI workflows. It trains on raw-count AnnData to obtain a latent representation, which serves as the foundation for downstream scANVI and differential expression analyses.

Does scVI-based integration require GPU acceleration for training?

scVI supports flexible, GPU-accelerated training using scvi-tools, but GPU is not strictly required. It integrates with anndata and the scvi-framework to process raw counts and build latent representations efficiently.

What is the best way to remove batch effects in single-cell RNA-seq data?

Using deep learning frameworks like scVI is a highly effective way to remove batch effects in single-cell RNA-seq data. It applies unsupervised integration across batches to align datasets while preserving underlying biological variation.

Do I need raw counts to build a latent space with scVI?

Yes, you need raw counts in your AnnData object to build a latent space with scVI. The model requires raw count inputs to accurately train and generate batch-corrected expression and latent representations.

When should I not use unsupervised integration for scRNA-seq data?

You should avoid unsupervised integration with scVI if your scRNA-seq data lacks raw counts or does not suffer from significant batch effects. It is specifically designed for cross-batch alignment and requires raw count inputs.