Skip to main content

AnnZarro

PyPI Python 3.9+ License: MIT Docs Tests

A read-only browser viewer for AnnData in zarr (or h5ad) built around the matrices other viewers leave out: cell x cell kernels and distances (obsp) and gene x gene similarities (varp), explored one focused cell or gene at a time and linked to the cell x gene layers.

Documentation: annzarro.readthedocs.io (tutorials, user guide, data preparation, deployment and reference). Developed by the Setty Lab.

Clicking a cell moves the diffusion-walk colouring; clicking a gene recolours its correlations and per-cell fold change

What it does

  • Colours any plot by the focused cell's row of an obsp matrix or the focused gene's row of a varp matrix.
  • Plots any obs, var, obsm, varm column or layers row/column against any other, spatial coordinates included.
  • Links cells and genes: one cell's values across genes, one gene's values across cells, in every layer.
  • Filters cell and gene tables with AND/OR conditions that mask the plots; saves layouts as panel sets and share links.
  • Reads only the chunks behind what is on screen, so cost follows the view, not the dataset size; locally or from S3, GCS and HTTP.
  • Never writes to your data and never runs code: a lab server can show datasets without giving write or compute access.

Cell x cell, gene x gene, cells x genes and table filters

Install

pip install annzarro              # or 'annzarro[remote]' for s3://, gs:// and https:// stores

Desktop apps for Windows, macOS and Linux (no Python needed, works offline) are on the releases page. From source: git clone https://github.com/settylab/annzarro.git && pip install -e ./annzarro. Details: installation, desktop app.

Quickstart

mkdir -p ~/annzarro-data
ln -s /path/to/your.zarr ~/annzarro-data/
annzarro start --data-dir ~/annzarro-data      # opens http://127.0.0.1:8000

Walkthrough with the demonstration data: quickstart.

Prepare your data

Any AnnData written with adata.write_zarr(...) opens as is. Which slot feeds which view, how to precompute obsp/varp matrices and how to chunk for speed: preparing data.

Deployment

  • Desktop app: one person, data on the same computer. Set up
  • Personal server: annzarro start on a laptop or an HPC node, reached over an SSH tunnel. Set up
  • Lab server: gunicorn behind HTTPS, read-only, with login and shared panel sets. Set up

Documentation

annzarro.readthedocs.io: tutorials on cell and gene similarity, the user guide, data preparation, deployment, and the CLI, configuration and HTTP API reference.

Citation

Otto D.J., Baasri S. and Setty M. AnnZarro. Protocol preprint in preparation.

% PLACEHOLDER: replace with the preprint entry once it has a DOI.
@unpublished{otto_annzarro,
  author = {Otto, Dominik J. and Baasri, Siddharth and Setty, Manu},
  title  = {AnnZarro},
  note   = {Preprint in preparation},
  year   = {2026}
}

Development

npm ci once (Node.js 22+), then python -m pytest runs the Python tests, every JS suite and ESLint. See running the tests.

Licence

MIT (LICENSE). The web interface bundles unmodified third-party libraries under their own permissive licences, listed in annzarro/THIRD_PARTY_LICENSES/.

Metadata

Release files for annzarro 0.2.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 annzarro 0.2.0
File Size Uploaded
annzarro-0.2.0.tar.gz 2.0 MB Details

Built distribution (wheel)

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

Total release size: 4.1 MB

Release files / annzarro-0.2.0.tar.gz

Download URL annzarro-0.2.0.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
7b4ca51271b23a98a0dd6dd68aa0f873855d240f1075fbed9366ac92b48a6c08
BLAKE2b-256 checksum
How to use checksums
f7ac41987bd58afb7e2c54449083d3c10a1232bbfd37d909e513c3308f1dc80d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 3, 2026.

Transparency log

Release files / annzarro-0.2.0-py3-none-any.whl

Download URL annzarro-0.2.0-py3-none-any.whl
Size 2.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a298ea5fabc47bb34040a2ce8e83d4190ae5467559a82e81a9843d35adede0bb
BLAKE2b-256 checksum
How to use checksums
15d7000f42e47202bd4d06a4f079c5ef5d11139798a8ce7d52e21fee35f9ec9e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 3, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

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