Skip to main content

SCLab

SCLab is an interactive single-cell analysis toolkit that provides a seamless interface for analyzing and visualizing single-cell RNA sequencing data. Built on top of popular tools like scanpy and AnnData, SCLab offers an event-driven architecture for real-time updates and interactive visualizations.

Features

  • Interactive Data Analysis: Built-in dashboard with real-time updates
  • Quality Control: Comprehensive QC metrics and filtering capabilities
  • Preprocessing: Normalization, log transformation, and scaling with progress tracking
  • Dimensionality Reduction: PCA with batch effect correction support
  • Visualization: Interactive plots and tables using plotly and itables
  • Event System: Robust event-driven architecture for real-time updates

Installation

pip install sclab

Quick Start

Open a Jupyter Notebook and run the following:

from IPython.display import display
from sclab import SCLabDashboard
import scanpy as sc

# Load your data
adata = sc.read_10x_h5("your_data.h5")

# Create dashboard
dashboard = SCLabDashboard(adata, name="My Analysis")

# Display dashboard
display(dashboard)

# The dashboard provides easy access to components:
# dashboard.ds  # Dataset (wrapper for AnnData)
# dashboard.pl  # Plotter
# dashboard.pr  # Processor

# the active AnnData object is found within the dataset object:
# dashboard.ds.adata

# by default, the dashboard will update the loaded AnnData object in-place

Components

SCLabDashboard

The main interface that integrates all components with a tabbed layout:

  • Main graph for visualizations
  • Results panel
  • Observations table
  • Genes table
  • Event logs

Dataset

Handles data management with:

  • AnnData integration
  • Interactive tables
  • Row selection and filtering
  • Metadata handling

Processor

Handles data processing steps. It is configurable with custom steps implementing the ProcessorStepBase interface. This package provides multiple examples of steps:

  • QC
  • Preprocessing
  • PCA
  • Nearest Neighbors
  • UMAP
  • Clustering

Plotter

Provides interactive visualizations with:

  • Real-time updates
  • Customizable plots
  • Batch effect visualization
  • Export capabilities

Requirements

  • Python ≥ 3.12
  • anndata ≥ 0.11.3
  • scanpy ≥ 1.10.4
  • Other dependencies listed in pyproject.toml

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

License

This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.

Citation

If you use SCLab in your research, please cite:

@software{sclab2025,
  author = {Arriojas, Argenis},
  title = {SCLab: Interactive Single-Cell Analysis Toolkit},
  year = {2025},
  publisher = {GitHub},
  url = {https://github.com/umbibio/sclab}
}

Metadata

Release files for sclab 0.4.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sclab 0.4.2
File Size Uploaded Provenance Actions
sclab-0.4.2.tar.gz 139.3 kB With provenance Details for sclab-0.4.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sclab 0.4.2
File Interpreter ABI Platform Actions
sclab-0.4.2-py3-none-any.whl Python 3 none any Details for sclab-0.4.2-py3-none-any.whl

Total release size: 319.5 kB

Release files / sclab-0.4.2.tar.gz

Download URL sclab-0.4.2.tar.gz
Size 139.3 kB
Tags Source
SHA-256 checksum
How to use checksums
019480811bbb7df098edd6109f8ab26e01b806f1a4cba2a9585cb1c2e94885e1
BLAKE2b-256 checksum
How to use checksums
e38d3f1027ba24c8bec3998a87efb6bff035e7023aa5f1dd79a3cfbfe00a21c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Release files / sclab-0.4.2-py3-none-any.whl

Download URL sclab-0.4.2-py3-none-any.whl
Size 180.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c56ab02a47331005c13863882e4d5380f6bb7692014ee8aa0ae011776cb2fcb7
BLAKE2b-256 checksum
How to use checksums
e49fb34b9d68b7df075b812de8df84aff28269b95f769f4d0c1f4699c51747be
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

Security for sclab 0.4.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for sclab-0.4.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jul 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page