Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Probabilistic deep generative models for single-cell omics: batch correction, annotation, CITE-seq, and differential expression on AnnData.
91% 95%+5 ptsof test cases passed
Passed 21 of 22 test cases with the skill, and 20 of 22 without it.
This test ran on v1. v2 is the current version and hasn’t been tested on gemini-3.6-flash yet.
3 of 3 safety checks passed
Not used yet
scvi-tools is a probabilistic modeling framework for single-cell genomics built on PyTorch. It implements variational autoencoders (VAEs) that learn low-dimensional latent representations of cells while explicitly modeling batch effects, count noise distributions, and multi-modal data. All models share a unified API: setup_anndata() to register data, instantiate the model, train(), then extract latent representations, normalized expression, or differential expression results. Models operate on raw count data in AnnData format and return statistically grounded outputs with uncertainty estimates.
scvi-tools>=1.1, scanpy, anndata.h5ad) with raw counts — not log-normalized. Store counts in adata.layers["counts"] if adata.X has been normalized.pip install scvi-tools scanpy
# GPU acceleration (recommended for >50k cells)
pip install "scvi-tools[cuda12]" # or scvi-tools[cuda11]
Settle these with the user before writing any analysis code.
decisions:
- id: D1
param: modelChoice
kind: required
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.