AnnData Single-Cell Data Structure

•
382
•

Manages annotated matrices, metadata, and multi-modal embeddings for single-cell genomics within the scverse ecosystem.

The AnnData Data Structure skill equips Claude Code with deep expertise in managing annotated data matrices for single-cell genomics workflows using AnnData and the broader scverse ecosystem. It provides optimized patterns for constructing AnnData objects from sparse or dense matrices, handling HDF5 (.h5ad) and Zarr I/O, managing backed mode for memory-constrained large-scale datasets, and performing robust cell and gene subsetting. Whether you are standardizing QC pipelines, concatenating experimental batches, or structuring multi-layer omics data for downstream tools like Scanpy and scvi-tools, this skill ensures clean, performant, and reproducible single-cell data manipulation.

Características Principales

01Construct and validate AnnData objects with observation and variable metadata
02Concatenate multi-batch single-cell datasets with inner and outer join strategies
03Perform memory-efficient I/O using H5AD, Zarr, and backed mode for large datasets
04Execute quality control filtering, type conversions, and safe view-to-copy workflows
05Manage multi-representation layers, embeddings (obsm/varm), and graphs (obsp/varp)
06382 GitHub stars

Casos de Uso

01Preparing raw 10x Genomics count matrices and metadata for Scanpy analysis pipelines
02Concatenating multiple experimental single-cell batches across complex clinical cohorts
03Managing out-of-core single-cell datasets exceeding RAM limits via backed disk modes