Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Stores single-cell expression matrices with obs/var metadata, layers, embeddings and graphs, and handles .h5ad/.zarr I/O.
91% 100%+9 ptsof test cases passed
Passed 22 of 22 test cases with the skill, and 20 of 22 without it.
3 of 3 safety checks passed
Not used yet
AnnData provides the standard data structure for single-cell genomics in the scverse ecosystem. It stores an observations-by-variables matrix (X) alongside cell metadata (obs), gene metadata (var), layers, embeddings (obsm/varm), graphs (obsp/varp), and unstructured metadata (uns). Supports sparse matrices, H5AD/Zarr storage, backed mode for large files, and integration with Scanpy, scvi-tools, and Muon.
.h5ad or .zarr files for single-cell experimentsscanpy insteadscvi-tools insteadanndata, scipy, pandas, numpyscanpy (analysis), zarr (cloud storage), h5py (HDF5 backend)pip install "anndata>=0.10"
# Full ecosystem
pip install anndata scanpy zarr
import anndata as ad
import numpy as np
import pandas as pd
from scipy.sparse import csr_matrix
counts = csr_matrix(np.random.poisson(0.5, (500, 2000)).astype(np.float32))
obs = pd.DataFrame({"cell_type": np.random.choice(["T", "B", "NK"], 500)},
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.