Skip to main content

CyteArc

Tests Coverage Documentation PyPI

Analyze single-cell data where it is stored, on local disk or in cloud storage, without loading the count matrix into memory. CyteArc covers RNA, ATAC, protein, and matched multi-omic data, along with the CRISPR screens, lineage tracing, immune repertoires, and DNA variants measured in the same cells.

  • Atlas scale on CPUs. Counts are stored by cell and by gene and streamed within a memory budget you set, so whole atlases are analyzed without GPUs or subsampling. On a single CPU node reading from cloud storage, CyteArc analyzed all 95.6 million cells of Tahoe-100M, from cell filtering through UMAP, clustering, and marker genes.
  • Remote data and cohorts in place. Mount a published store and analyze it where it is, with your results saved to a store you control, or combine studies into a composite dataset without copying their counts.
  • Results that are reused, branched, and traced. Each result is saved with the inputs and settings that produced it, so matching results are reused, a changed setting reruns only the stages after it, and a finished analysis serves as a reference for mapping new cells.

Start with the quick start, browse the documentation, or read the methods and validation.

Capabilities

Analysis What you can do
Data access Mount local or remote stores; combine cells across studies into composite datasets without copying their counts
Cell calling and QC EmptyDrops cell calling, ambient RNA correction, doublet detection within samples, cell-cycle scoring, and HTO demultiplexing
Cell populations RNA, ATAC, and protein pipelines; batch-aware feature selection, PCA/LSI, UMAP, densMAP, LocalMAP, t-SNE, Leiden/Paris clustering, and marker tests
Integration Harmony2 batch correction, WNN/SNN integration of modalities measured in the same cells, and integration diagnostics
Reference mapping Symphony-style mapping onto a finished analysis, which becomes a reference without reading its counts; label transfer and diagnostics for projected cells
Donor comparisons and pseudobulk Sample-level and paired comparisons across donors, with pseudobulk export for downstream differential expression
Trajectories and fate mapping Population Balance Analysis pseudotime, fate probabilities directed by pseudotime or potency scores, lineage-specific gene dynamics, and fate-weighted curves
Lineage tracing and immune repertoires Clones from lineage barcodes, lineage recorder alleles and phylogenies, and mitochondrial or targeted DNA variants; clonal expansion, diversity, fate coupling, and fate bias; TCR and BCR clonotypes, gene usage, and AIRR export
Gene activity and regulation AUCell/WAGGR gene-set scores, SCENIC-style regulons, chromVAR motif activity, region-to-gene links, and gene programs
CRISPR screens Guide calling, perturbation labels, target knockdown and E-distances, Mixscape's knocked-out cells and escapers, calibrated association tests at low and high MOI, and perturbation clusters
Import and export Cell Ranger, Matrix Market, CSV, AnnData, Seurat, and Mission Bio Tapestri import, of counts or normalized values; export counts and selected analysis results to AnnData

Install

pip install "cytearc[extra]"

See installation for environment setup and platform requirements.

Run a pipeline

import cytearc

ds = cytearc.DataStore("cells.zarr")
run = ds.pipeline.rna(label="rna")
ds.plots.embedding(run=run, color_by="clusters")

Recipes for RNA, ATAC, protein, multimodal, and CRISPR screen data cover quality control through marker discovery. See the analysis pipeline API reference for every stage and its settings.

Mount a remote dataset

Read datasets from Amazon S3, Google Cloud Storage, Hugging Face, or Cloudflare R2, and save your analysis locally.

ds = cytearc.mount_datastore(
    "hf://buckets/Nygen/cytebase-2610/datasets/mcglade_2021_scrna_data_human_fallopian_tube_30f5e171/data.zarr",
    at="fallopian_tube.zarr",
    storage_options={"token": False},
)
run = ds.pipeline.rna(label="rna")

Find datasets in the companion CyteBase catalog, which publishes primary-count datasets from CZ CELLxGENE Discover as CyteArc stores. See remote access for connection options.

Analyze several studies as one composite dataset

A composite dataset combines cells from existing stores without copying their count matrices, saving the time and space of a physical merge. It works like a regular datastore.

from cytearc.composite import create_composite

sources = {
    "study_a": cytearc.DataStore("study_a.zarr", zarr_mode="r"),
    "study_b": cytearc.DataStore("study_b.zarr", zarr_mode="r"),
}

joint = create_composite(sources, at="joint.zarr", features="intersection")
joint_run = joint.pipeline.rna(label="joint_rna")

See the joint-analysis tutorial for details.

Reuse, branch, and trace results

A rerun that changes one setting reuses every saved stage before it, and ds.artifacts.lineage traces any result back to the counts it came from, with no separate workflow system.

# Saved stages through UMAP are reused; only clustering and the stages that use it run again.
run_r2 = ds.pipeline.rerun(run, label="rna_r2", leiden={"partitions": [2.0]})
ds.artifacts.lineage(run_r2["markers"])

See provenance and result reuse for details.


CyteArc is open source under the BSD 3-Clause License, maintained by Nygen. Third-party notices.

Metadata

Release files for cytearc 1.4.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 cytearc 1.4.0
File Size Uploaded Provenance Actions
cytearc-1.4.0.tar.gz 3.0 MB With provenance Details for cytearc-1.4.0.tar.gz

Built distribution (wheel)

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

Total release size: 5.9 MB

Release files / cytearc-1.4.0.tar.gz

Download URL cytearc-1.4.0.tar.gz
Size 3.0 MB
Tags Source
SHA-256 checksum
How to use checksums
e799708054eae24765110b238cebf1173f5f97b405a238cf7427696042f4a1ad
BLAKE2b-256 checksum
How to use checksums
71178e3e6612c4886278a6b5dfec7efdce1136ad7adea4c4f5bc2e7a9657db12
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 16, 2026.

Transparency log

Release files / cytearc-1.4.0-py3-none-any.whl

Download URL cytearc-1.4.0-py3-none-any.whl
Size 2.9 MB
Tags Python 3
SHA-256 checksum
How to use checksums
495350d8245e751e31b761e4eac5fbae016c05b877017bee70b605b97f97dd80
BLAKE2b-256 checksum
How to use checksums
8a163a8e107d03248af3ea1d67442bc2cd44b5fb43f05530ef97133c4aa49f43
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 16, 2026.

Transparency log

Security for cytearc 1.4.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.

Full provenance

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

Select from 2 files

Attestation for cytearc-1.4.0.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 16, 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