--- id: scvi-tools version: "1.5.0.post1" license: BSD 3-Clause License Copyright (c) 2026, Yosef Lab, Weizmann Institute of Science All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted… (full text in the JSON record) license_treatment: permissive maintenance: active --- # scvi-tools — Deep probabilistic analysis of single-cell omics data. License: permissive · Maintenance: active · Downloads: 98.6K/mo ## What it is and what it does scvi-tools is a Python library for probabilistic modeling and analysis of single-cell omics data. It provides a collection of pre-built models that handle common analysis tasks—dimensionality reduction, data integration across batches, automated cell-type annotation, doublet detection, and spatial deconvolution—all with a unified API that integrates with the Scanpy ecosystem and AnnData data structures. The package is built on PyTorch and PyTorch Lightning, enabling GPU acceleration for large-scale analyses. Beyond pre-built models, scvi-tools also serves as a framework for developing and deploying novel probabilistic models. It provides building blocks powered by PyTorch Lightning and Pyro, allowing researchers to prototype custom models and integrate them into the same high-level API. The package is part of the scverse ecosystem and is actively maintained by the Yosef Lab at the Weizmann Institute of Science. Use it for: - Reduce dimensionality of high-dimensional single-cell RNA-seq data for visualization and downstream analysis. - Integrate multiple single-cell datasets from different batches, technologies, or studies into a unified representation. - Automatically assign cell types to individual cells based on learned probabilistic representations. - Identify and remove doublets (cell multiplets) from droplet-based single-cell experiments. - Deconvolve spatial transcriptomics data to infer cell-type composition and localization. - Develop and validate new probabilistic models for single-cell analysis using the framework's building blocks. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. scvi-tools provides probabilistic models for analyzing single-cell omics data, including dimensionality reduction, data integration, automated annotation, doublet detection, and spatial deconvolution, built on PyTorch and AnnData. Yes. scvi-tools is actively maintained, has low install friction, carries a permissive license, and is widely used in single-cell genomics research. Install it if you work with single-cell omics data and need probabilistic modeling, integration, or annotation. Ensure PyTorch is installed first and compatible with your hardware. ## Install pip install scvi-tools uv add scvi-tools poetry add scvi-tools ## Installing scvi-tools Before you install: Low install friction with a pure-wheel distribution. Active maintenance with a recent release (36 days ago) and ongoing repository activity. Requires modern Python (3.12+) and a compatible PyTorch installation, particularly for GPU support. License in practice: BSD 3-Clause permissive license allows commercial and private use with minimal restrictions, requiring only copyright and license retention in source distributions. Quickstart: pip install scvi-tools import scvi import anndata # Load single-cell data into AnnData object adata = anndata.read_h5ad('data.h5ad') # Initialize and train a model (e.g., scVI for dimensionality reduction) scvi.model.SCVI.setup_anndata(adata) model = scvi.model.SCVI(adata) model.train() Requires PyTorch installation compatible with your hardware (CPU or GPU); consult PyTorch documentation for GPU-specific setup. Verify before relying: - Whether GPU acceleration is automatic or requires explicit configuration beyond standard PyTorch setup. - Performance characteristics and scalability limits for typical single-cell dataset sizes. - Availability and quality of pre-trained models or transfer learning capabilities. ## Package facts - License: BSD 3-Clause License Copyright (c) 2026, Yosef Lab, Weizmann Institute of Science All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted… (full text in the JSON record) (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 98.6K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags single-cell omics analysis, probabilistic single-cell modeling, scRNA-seq dimensionality reduction, single-cell data integration, spatial transcriptomics deconvolution, automated cell annotation, single-cell variational inference, multi-omics integration, single-cell-genomics, probabilistic-modeling, bioinformatics [View on SkillFed](https://skillfed.io/packages/scvi-tools) · [View on PyPI](https://pypi.org/project/scvi-tools/)