anndata
Annotated matrices for single-cell data in Python
Install
See setup instructions on arxiv.orgWhat it does
AnnData is a Python library for annotated data matrices. Each object pairs a measurement matrix with observation metadata, variable metadata, and add-on annotations for embeddings, pairwise relationships, and unstructured data. Although built around single-cell genomics, it works for any matrix that needs labels and efficient storage.
The skill suits researchers and developers who create, inspect, convert, or combine these objects. It covers native h5ad and Zarr encoding, plus CSV, MTX, Excel, and legacy Loom through helper modules, and supports loading portions of a large file from disk through backed mode. Objects interact with the wider scverse toolchain, including Scanpy for analysis and MuData for multimodal work. Practical guidance covers slicing, transposing, filtering, and merging datasets with configurable join and merge rules.
Installation uses uv and targets anndata 0.13.4 with Python 3.12 or newer. Extras add lazy I/O and dask support, and optional packages are needed for Excel, Loom, and remote storage. Remote data and other workflows need network access. Some behaviors are in flux: backed sparse assignment is unsupported, AnnLoader and Loom handling are deprecated, and conversions to external formats such as TileDB-SOMA should be validated in a tested environment.
Skill files
- SKILL.md
Repository data
- Stars
- 58,239
- Last push
- Nov 23, 2026
- License
- MIT
- Archived
- No
Tools similar to anndata
FAQ
- What license does anndata use?
- MIT
- What files are included with anndata?
- SKILL.md
Embed a listing badge
<a href="https://aiagentsmarketplace.dev/skills/anndata"><img src="https://aiagentsmarketplace.dev/badges/featured.svg" alt="Featured on AI Agents Marketplace" width="262" height="36"></a>
Comments
No comments yet.