anndata

Manage annotated data matrices for single-cell genomics with AnnData.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/Rowtion/Bioclaw --skill anndata-rowtion
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: anndata
Source: https://github.com/Rowtion/Bioclaw/tree/main/scientific-skills/anndata
Command: npx skills add https://github.com/Rowtion/Bioclaw --skill anndata-rowtion

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires anndata, scanpy, numpy, pandas, scipy, h5py, matplotlib, seaborn, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides a standardized and efficient way to handle complex annotated data matrices, particularly for single-cell genomics, eliminating the need for manual data wrangling and complex file format conversions.

Core Features & Use Cases

  • Data Structure: Provides the core AnnData object for storing matrices (X) with rich metadata (obs, var, layers, obsm, varm, uns).
  • Input/Output: Seamlessly reads and writes data in various formats including .h5ad, .zarr, .csv, and 10X Genomics formats.
  • Manipulation: Offers powerful tools for subsetting, filtering, concatenating, and transforming data.
  • Integration: Acts as the foundational data structure for the scverse ecosystem (Scanpy, Muon, etc.).
  • Use Case: Analyze single-cell RNA sequencing data by loading count matrices, performing normalization, dimensionality reduction (PCA, UMAP), clustering, and differential expression analysis using integrated tools like Scanpy.

Quick Start

Use the anndata skill to read the file 'data.h5ad' and print its shape.

Frequently Asked Questions about anndata

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage single-cell RNA sequencing data matrices in Python?

The AnnData structure handles annotated data matrices by storing experimental measurements in X alongside observation and variable metadata. It eliminates manual data wrangling by providing standardized storage for single-cell genomics analysis.

What is the best way to read and write .h5ad files for single-cell genomics?

The best way to read and write .h5ad files for single-cell genomics is using anndata, which supports seamless input and output across .h5ad, .zarr, .csv, and 10X Genomics formats for efficient data storage.

Can I perform dimensionality reduction and clustering directly on my annotated data matrix?

Yes, you can perform dimensionality reduction and clustering on your annotated data matrix by integrating it with Scanpy. This allows you to execute PCA, UMAP, and differential expression analysis directly within scverse workflows.

Does this approach support subsetting and concatenating high-dimensional data?

Yes, this approach supports subsetting and concatenating high-dimensional data by offering built-in manipulation tools. You can filter, transform, and concatenate experimental measurements alongside their rich metadata without complex conversions.

When do I need an annotated data structure for bioinformatics workflows?

You need an annotated data structure for bioinformatics workflows when handling high-dimensional single-cell genomics data that requires synchronized storage of measurement matrices with observation and variable metadata to prevent data misalignment.