Skip to main content

scAtlasPy logo

scAtlasPy

A scalable Python platform for atlas-scale single-cell omics analysis beyond in-memory limits.

scAtlasPy is a Python platform for analyzing cell atlases that are too large to fit in memory. It extends familiar single-cell analysis workflows to atlas-scale datasets, supporting preprocessing, dimensionality reduction, clustering, visualization, marker analysis, and machine learning within a unified on-disk environment.

At the center of scAtlasPy is a persistent .sasql atlas database. Expression matrices, metadata, embeddings, and analysis results remain on disk, while analysis functions retrieve only the cells, genes, or minibatches needed for the current operation.

Installation

Install the released package from PyPI:

pip install scatlaspy

Distilled UMAP and distilled Louvain clustering use PyTorch. Install torch in the same environment if you plan to run these tools:

pip install torch

For CUDA, MPS, or other accelerator-specific PyTorch builds, follow the installation command recommended for your hardware by the PyTorch project.

Quick Start

import scatlaspy as sap

atlas = sap.Atlas("pbmc.sasql")
atlas.load_h5ad("pbmc.h5ad", load_type="random")

sap.pp.calculate_qc_metrics(atlas)
sap.pp.filter_cells(atlas, min_genes=200)
sap.pp.filter_genes(atlas, min_cells=3)
sap.pp.normalize_and_log1p(atlas)
sap.pp.highly_variable_genes(atlas, n_top_genes=2000)

# Use mode="center_only" if PCA should preserve gene-level variance differences.
sap.pp.scale(atlas)

atlas.build_read_index(
    cell_condition="filter_cells",
    gene_condition="filter_genes",
    use_hvg=True,
    use_data="data_scale",
)

sap.tl.pca(atlas)
sap.tl.umap(atlas)
sap.tl.graph_clustering(atlas)
sap.pl.umap(atlas, color="scatlas_cluster")

atlas.close()

What scAtlasPy Enables

  • Full-resolution atlas workflows: run QC, filtering, normalization, HVG, PCA, clustering, UMAP, marker ranking, and visualization without loading the full matrix into memory.
  • High-throughput data retrieval: stream sparse or dense minibatches from disk-resident atlases for downstream algorithms and machine-learning models.
  • Persistent analysis state: store metadata, transformed expression values, embeddings, loadings, clusters, marker statistics, and plots inputs in one atlas database.
  • Interoperability: import from AnnData-compatible .h5ad files and export selected results back to the broader single-cell ecosystem.
  • Extensibility: build new atlas-scale methods on top of stable metadata, SQL, sparse retrieval, dense minibatch, and result-writing interfaces.

Documentation

Citation

If you use scAtlasPy in academic work, please cite the project repository for now. A formal citation will be added when a paper or archived release is available.

License

scAtlasPy is released under the BSD 3-Clause License.

Metadata

Release files for scatlaspy 1.0.0

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

Source distribution (sdist)

Source distribution for scatlaspy 1.0.0
File Size Uploaded Provenance Actions
scatlaspy-1.0.0.tar.gz 199.2 kB Without provenance Details for scatlaspy-1.0.0.tar.gz

Built distribution (wheel)

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

Total release size: 410.9 kB

Release files / scatlaspy-1.0.0.tar.gz

Download URL scatlaspy-1.0.0.tar.gz
Size 199.2 kB
Tags Source
SHA-256 checksum
How to use checksums
767619b2419c659aa7fc9af1033b04e3feac4792a4f580209f64481937810533
BLAKE2b-256 checksum
How to use checksums
598316c26aab1e50ee09bbe3a707af352273b075bf2a36475b89db0a854c9629
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Release files / scatlaspy-1.0.0-py3-none-any.whl

Download URL scatlaspy-1.0.0-py3-none-any.whl
Size 211.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b4ba64a34e053dd4c2b202980a8729b6320d2319adb863fe396b497e532e2fc1
BLAKE2b-256 checksum
How to use checksums
dd1d13b6776e23e435320096337709fe707847847f67ae6eb2bbc6141520ae00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.19

Security for scatlaspy 1.0.0

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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

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