Back to Skills

anndata

Data structure for annotated matrices in single-cell analysis. Use when working with .h5ad files or integrating with the scverse ecosystem. This is the data format skill—for analysis workflows use scanpy; for probabilistic models use scvi-tools; for population-scale queries use cellxgene-census.

6,195stars743forksUpdated 1/16/2026

Security Assessment

Safe(100/100)
Security Score100/100

About anndata

The Anndata skill provides a robust data structure for handling annotated matrices specifically tailored for single-cell analysis. By utilizing Anndata, researchers can efficiently manage large datasets, such as those derived from single-cell RNA sequencing, facilitating the storage and manipulation of experimental measurements alongside relevant metadata. This skill addresses the complexities of working with .h5ad files and integrates seamlessly with tools in the scverse ecosystem, making it an essential asset for bioinformaticians and data scientists focused on genomics and computational biology.

FAQ

How do I install the anndata package?

You can install it using 'pip install anndata', and for optional dependencies, use 'pip install anndata[dev,test,doc]'.

What file formats can Anndata read and write?

Anndata can read and write various formats including h5ad, zarr, CSV, Loom, and 10X h5 files.

Is Anndata suitable for large datasets?

Yes, Anndata supports backed mode for large files, which allows for efficient memory usage.

Can I use Anndata with other libraries?

Absolutely, Anndata is designed to integrate with libraries like scanpy and scvi-tools, enhancing its functionality for single-cell analysis.

What are the limitations of Anndata?

While Anndata is powerful for annotated data, users should be aware that it is primarily designed for single-cell genomics and may not support all data types.

Install anndata

Download and extract the skill files to your .claude/skills/ directory.

Quick Setup:

  1. Copy the skill folder to .claude/skills/
  2. Claude will automatically detect and use the skill