pypi annzarro 0.4.2
AnnZarro v0.4.2

latest releases: 0.7.6, 0.7.5, 0.7.4...
one month ago

AnnZarro v0.4.2

A release for very large datasets on shared servers: a billion-cell store steps through its parts and searches its cells without the server's memory growing, plus fixes to clicks, point size, subsets and links.

Very large datasets

  • A subset with parts steps to the next part without closing the panel. The arrows always answer: a newer step replaces the one still loading, and a "Loading part N…" pill shows progress. The part after the one shown is read ahead. On the 1B-cell demo server a step went from 58–72 s to about 23 s.
  • Above 5 million cells, cell names are loaded when a view needs them (ui.defaults.names_on_demand_above), and x/y come in one request.
  • Name search is bounded by memory (server.name_index_max_mb, default 15% of RAM between 0.5 and 16 GB). A store too large for an index is searched by scanning its names. Clicking the Focused Cell box on a 1B-cell store used to grow the server by about 32 GB; the server now stays near 1 GB.
  • Cell and gene names are hashed only when a view needs them, not in the background when a dataset opens; this was what slowed v0.4.1's first plot at 95.6M cells and its subsets at 1B.
  • Large plots ask the browser for their memory before requesting data, and decline a draw that would not fit with a suggested subset size instead of crashing the tab.
  • Large-plot mode has hover, click and the focused-cell highlight, from a point index built in small slices after the plot is visible.
  • A Cancel button appears on a panel whose load takes longer than 1.5 s. Changing what a panel shows cancels its earlier load.

Plots

  • A cell is selected only by a short, still click, not at the start of a drag or a 3D rotation.
  • Automatic point size follows the points left after filters and subsets, with a steeper curve for large datasets. Greyed-out points do not count and keep their own style.
  • Boolean obs columns are coloured in the order False, True, as scanpy does, so a stored uns/<col>_colors pair applies to the right values (#407 on the lab tracker).
  • Applying a subset updates every affected panel; tables wait for the whole view.

Links and interface

  • The address bar follows the view: a reload keeps your changes, and copying the address shares what you see. A link without #view opens the dataset's empty dashboard. The address is replaced, not added to the browser history.
  • The AnnZarro version is shown in the title tooltip and the login badge.
  • The dataset list is wider than its box, and a cut-off name shows in full on hover.
  • A partial re-check of a very large dataset says so in a notice (#91).

Docs and data

  • The spatial demo ships a 5-step expression walk on the kNN graph (obsp/expression_walk_t5).
  • The paper figure pages report the v0.4.1 measurements.
  • Admin help text and docs say that admins may open any path by default (#90).

Tests

  • The gunicorn worker test no longer depends on both workers answering (#88).

Fixes #88, #90, #91.

Install

pip install annzarro==0.4.2 (PyPI), or a desktop app below. h5py 3.16 has Linux wheels only for glibc 2.28 and later; on older systems (for example Ubuntu 18.04) use pip install "h5py<3.16" annzarro==0.4.2.

Desktop apps

Desktop apps for Windows, macOS and Linux. The builds are not signed with a developer identity (the macOS app is ad-hoc signed, not notarized), so the first launch needs one extra step. macOS 15 and 26: macOS says "AnnZarro" Not Opened; click Done, then System Settings > Privacy & Security > Security > Open Anyway, and confirm (once). macOS 14 and earlier: right-click the app > Open. Windows: More info > Run anyway. Details: https://annzarro.readthedocs.io/en/latest/getting-started/desktop-app.html (First launch). Verify downloads against SHA256SUMS.txt.

The .json and .txt files list the licences of everything bundled in each package.

Don't miss a new annzarro release

NewReleases is sending notifications on new releases.