AnnData Single-Cell Data Analysis
Manipulates and analyzes annotated biological data matrices with AnnData for single-cell genomics and scverse workflows.
The AnnData skill provides comprehensive guidance, code patterns, and best practices for working with annotated matrix data in Python, primarily within the scverse and Scanpy computational biology ecosystems. It guides Claude to efficiently manage experimental expression matrices alongside multidimensional observation and variable metadata, handle large-scale h5ad and Zarr files using sparse representations and backed modes, perform robust dataset concatenation, and build end-to-end single-cell RNA-seq workflows with minimal memory overhead.
Key Features
01Optimized I/O operations for h5ad, Zarr, Loom, MTX, and 10x Genomics formats
02Multi-batch concatenation, outer/inner joins, and lazy loading with AnnCollection
03Comprehensive AnnData data structure management across X, obs, var, layers, and obsm
04Memory-efficient operations via backed read mode and sparse matrix conversions
05Seamless integration workflows with Scanpy, Muon, and PyTorch dataloaders
062 GitHub stars
Use Cases
01Managing out-of-memory biological data matrices using backed mode and disk streaming
02Merging and harmonizing multi-batch experimental genomics data across cohorts
03Preprocessing and analyzing single-cell RNA sequencing (scRNA-seq) gene expression datasets