This handles annotated data matrices in Python, originally built for single-cell genomics but useful for any experimental data with measurements plus metadata. Think of it as a structured container that pairs your main data matrix (X) with observation metadata (obs), variable metadata (var), and multidimensional annotations. The big win is efficient storage with sparse matrices and backed mode for datasets too large for memory, plus native h5ad format that plays nicely with the scanpy ecosystem. If you're working with single-cell RNA-seq or need to wrangle large biological datasets while keeping track of what each row and column actually means, this is the standard tool. The concatenation features are solid for merging multiple batches or samples with different join strategies.

skills.sh installs
281
GitHub stars
33.2K
last updated
Aug 21, 2026

Install

$ npx -y skills add davila7/claude-code-templates --skill anndata --agent claude-code

Installs into .claude/skills of the current project.

Files

AnnData

Overview

AnnData is a Python package for handling annotated data matrices, storing experimental measurements (X) alongside observation metadata (obs), variable metadata (var), and multi-dimensional annotations (obsm, varm, obsp, varp, uns). Originally designed for single-cell genomics through Scanpy, it now serves as a general-purpose framework for any annotated data requiring efficient storage, manipulation, and analysis.

When to Use This Skill

Use this skill when:

  • Creating, reading, or writing AnnData objects
  • Working with h5ad, zarr, or other genomics data formats
  • Performing single-cell RNA-seq analysis
  • Managing large datasets with sparse matrices or backed mode
  • Concatenating multiple datasets or experimental batches
  • Subsetting, filtering, or transforming annotated data
  • Integrating with scanpy, scvi-tools, or other scverse ecosystem tools

Installation

uv pip install anndata

# With optional dependencies
uv pip install anndata[dev,test,doc]

Quick Start

Creating an AnnData object

import anndata as ad
import numpy as np
import pandas as pd

Sponsors

Details

Repository
github.com/davila7/claude-code-templates
Category
Python
First seen
Jun 3, 2026

More from davila7/claude-code-templates

All 618

Recommended

More Python
1patricio0312rev avatarbackground-jobs-designerpatricio0312rev/skillsDesigns background job processing systems with queue integration (BullMQ/Celery), job definitions, retry policies, exponential backoff, idempotent execution, an281skills.sh installs
2cinience avataralicloud-ai-search-opensearchcinience/alicloud-skillsUse OpenSearch vector search edition via the Python SDK (ha3engine) to push documents and run HA/SQL searches. Ideal for RAG and vector retrieval pipelines in C276skills.sh installs
3florianbruniaux avatarrtk-optimizerflorianbruniaux/claude-code-ultimate-guideWrap high-verbosity shell commands with RTK to reduce token consumption. Use when running git log, git diff, cargo test, pytest, or other verbose CLI output tha272skills.sh installs
4cinience avataralicloud-ai-search-dashvectorcinience/alicloud-skillsBuild vector retrieval with DashVector using the Python SDK. Use when creating collections, upserting docs, and running similarity search with filters in Claude270skills.sh installs
5cinience avataralicloud-compute-fc-serverless-devscinience/alicloud-skillsAlibaba Cloud Function Compute (FC 3.0) skill for installing and using Serverless Devs to create, deploy, invoke, and remove a Python function. Use when users n270skills.sh installs
6davila7 avataruniprot-databasedavila7/claude-code-templatesDirect REST API access to UniProt. Protein searches, FASTA retrieval, ID mapping, Swiss-Prot/TrEMBL. For Python workflows with multiple databases, prefer bioser269skills.sh installs