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 GNU General Public License v3.0 or later - see the LICENSE file for details. Third-party code included in sclab is listed in THIRD_PARTY_NOTICES.md.

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.3

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.3
File Size Uploaded Provenance Actions
sclab-0.4.3.tar.gz 153.2 kB With provenance Details for sclab-0.4.3.tar.gz

Built distribution (wheel)

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

Total release size: 347.8 kB

Release files / sclab-0.4.3.tar.gz

Download URL sclab-0.4.3.tar.gz
Size 153.2 kB
Tags Source
SHA-256 checksum
How to use checksums
8ad1f47c0095f26ac68a2dbc104fea44142e46da1082778b1db4d0c49dfa6ffe
BLAKE2b-256 checksum
How to use checksums
6aee89c26d80a8a74d08df5536f44f5969c4d711664b614c6040c69f0136270f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 11, 2026.

Transparency log

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

Download URL sclab-0.4.3-py3-none-any.whl
Size 194.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
27d35396c153db4c5605a14d22b4ae964679dc1d1706572edbaf9ef127538fbe
BLAKE2b-256 checksum
How to use checksums
611d5f1e6d01f035507c127a2baea7cb3fb6b7c1611dfec759dbe9ec2ef91daa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 11, 2026.

Transparency log

Security for sclab 0.4.3

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.3.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 Nov 11, 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