anndata

Handle and analyze annotated matrices in single-cell genomics with Python.

3|Updated Apr 17, 2026
One-click install
npx skills add https://github.com/RamanEbrahimi/raman-marketplace --skill anndata-ramanebrahimi
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: anndata
Source: https://github.com/RamanEbrahimi/raman-marketplace/tree/main/plugins/agentic-research/skills/scientific-skills/anndata
Command: npx skills add https://github.com/RamanEbrahimi/raman-marketplace --skill anndata-ramanebrahimi

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires anndata, pandas, scipy, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill streamlines the process of working with AnnData objects, providing a convenient way to handle and analyze large datasets in single-cell genomics.

Core Features & Use Cases

  • Data Structure: Offers a comprehensive data structure for annotated matrices with various components like obs, var, and layers.
  • IO Operations: Enables reading and writing data in multiple formats, including h5ad, zarr, and CSV.
  • Data Manipulation: Allows efficient data manipulation, filtering, and transformation of annotated data.
  • Integration: Integrates seamlessly with tools like scanpy, scvi-tools, and cellxgene-census.
  • Use Case: Imagine you have a large single-cell RNA-seq dataset. Use this Skill to efficiently process, visualize, and analyze your data.

Quick Start

To create an AnnData object from a simple data matrix, run:

adata = ad.AnnData(X=np.random.rand(100, 2000))

Frequently Asked Questions about anndata

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

FAQPage Schema
How do I manage and analyze large single-cell genomics matrices efficiently?

To manage large single-cell genomics matrices efficiently, use annotated data structures with components like obs, var, and layers to store, filter, and transform datasets seamlessly. This approach streamlines reading and writing files in formats such as h5ad and zarr.

Can I integrate annotated data matrices with scanpy and scvi-tools?

Yes, you can integrate annotated data matrices with scanpy, scvi-tools, and cellxgene-census. This compatibility allows you to process, visualize, and analyze large single-cell RNA-seq datasets directly within your existing Python bioinformatics workflow.

What file formats are supported for reading and writing biological data matrices?

Supported file formats for reading and writing biological data matrices include h5ad, zarr, and CSV. This variety ensures efficient storage and manipulation of large single-cell genomics datasets across different Python analysis environments.

How do I create an annotated data object from a raw matrix in Python?

To create an annotated data object from a raw matrix in Python, initialize it by passing your data array into the constructor, such as ad.AnnData(X=np.random.rand(100, 2000)). This structures your data for downstream single-cell genomics analysis.

Do I need pandas and scipy to handle single-cell genomics data structures?

Yes, you need pandas and scipy to handle single-cell genomics data structures, along with the core anndata library. These dependencies provide the necessary foundation for efficient data manipulation, filtering, and transformation of annotated matrices.

What is the best way to store large single-cell RNA-seq datasets?

The best way to store large single-cell RNA-seq datasets is by using annotated matrices in formats like h5ad or zarr. This method efficiently manages large-scale biological data while preserving essential metadata components like obs and var.