One-click install
npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill anndata-silverstein
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: anndata
Source: https://github.com/silverstein/claude-scientific-skills-desktop/tree/main/corpus/anndata
Command: npx skills add https://github.com/silverstein/claude-scientific-skills-desktop --skill anndata-silverstein

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps you manage and analyze annotated data matrices by organizing large experimental measurements together with observation and feature metadata, reducing the pain of juggling separate files and mismatched indices.

Core Features & Use Cases

  • AnnData data model guidance: Build and reason about the core structure (X, obs, var, layers, obsm/varm, obsp/varp, uns, raw) used across single-cell genomics and related workflows.
  • I/O for common genomics formats: Load and save datasets (especially h5ad) and convert between practical formats, including backed mode for large files.
  • Key operations for analysis workflows: Subset, concatenate batches/modalities, transform data, and apply best practices for memory efficiency and reproducibility.
  • Integration into scverse ecosystem: Use AnnData as the backbone for Scanpy workflows and multimodal setups (e.g., via Muon), keeping embeddings and metadata consistent.

Quick Start

Ask the assistant: "Read the AnnData skill and tell me the safest way to load a large h5ad file in backed mode, subset by cell quality stored in obs, and then convert to memory for downstream analysis."

Frequently Asked Questions about anndata

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

FAQPage Schema
How do I load a large h5ad file in backed mode for single-cell analysis?

AnnData provides backed mode to load large h5ad files without bringing the entire matrix into memory, allowing you to subset by cell metadata in obs and convert to memory for downstream analysis.

What is the best way to concatenate single-cell batches or modalities in AnnData?

The best way to concatenate single-cell batches or modalities in AnnData is to use the built-in concatenation operations, which align observation and feature metadata while keeping auxiliary annotations consistent across batches.

How does AnnData organize measured matrices with observation and feature metadata?

AnnData organizes measured matrices by structuring them with obs for observation metadata, var for feature metadata, and auxiliary annotations like layers, obsm, varm, and uns to keep experimental data aligned with its metadata.

Can I use AnnData with Scanpy workflows and multimodal setups?

Yes, you can use AnnData as the backbone for Scanpy workflows and multimodal setups, ensuring that embeddings and metadata remain consistent across single-cell genomics analysis pipelines.

What are the limitations of using backed mode with sparse matrices in h5ad files?

When using backed mode with sparse matrices in h5ad files, limitations include potential performance trade-offs, requiring careful handling of views versus copies and efficient read/write operations for large datasets.