cellxgene-census

Query CELLxGENE Census single-cell datasets via TileDB-SOMA structures.

1|Updated Mar 4, 2026
One-click install
npx skills add https://github.com/Hung-3008/agusta --skill cellxgene-census-hung-3008
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cellxgene-census
Source: https://github.com/Hung-3008/agusta/tree/main/.agents/skills/cellxgene-census
Command: npx skills add https://github.com/Hung-3008/agusta --skill cellxgene-census-hung-3008

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

CELLxGENE Census provides programmatic access to a large, versioned single-cell dataset collection, enabling scalable queries and analyses beyond manual data handling.

Core Features & Use Cases

  • Programmatic access to census data, including cell metadata (obs), gene metadata (var), and expression matrices (X) across human and mouse datasets.
  • Support for small-to-large queries, out-of-core processing, and integration with Scanpy and PyTorch workflows for ML and downstream analysis.
  • Use cases include cross-tissue and cross-disease studies, multi-dataset integration, and machine-learning experiments on single-cell data.

Quick Start

Open the Census using the context manager and run a simple metadata query to list available datasets.

Frequently Asked Questions about cellxgene-census

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

FAQPage Schema
How do I query large-scale single-cell datasets for cross-tissue analysis?

Query large-scale single-cell datasets programmatically using the CELLxGENE Census to access cell metadata, gene metadata, and expression matrices across human and mouse tissues for cross-tissue analysis. It supports scalable queries and out-of-core processing for large-scale single-cell data retrieval.

Can I integrate queried single-cell expression data with PyTorch workflows?

Yes, you can integrate queried single-cell expression data with PyTorch workflows for machine learning experiments. The Census supports extracting expression matrices and metadata for direct use in ML pipelines, enabling cross-disease and cross-dataset analyses within PyTorch.

How do I retrieve gene-specific expression matrices from single-cell data?

Retrieve gene-specific expression matrices by querying the Census X layers and var structures. This programmatic access allows you to extract targeted expression data across multiple datasets for downstream single-cell analysis.

Does the CELLxGENE Census work with Scanpy for downstream single-cell analysis?

Yes, the CELLxGENE Census works with Scanpy for downstream single-cell analysis. You can query cell metadata and expression matrices, then seamlessly integrate the retrieved data into Scanpy workflows for exploratory analysis and visualization.

What is the best way to handle out-of-core processing for big single-cell queries?

Handle out-of-core processing for big single-cell queries by leveraging the Census TileDB-SOMA structures. This approach supports efficient memory management when querying large-scale single-cell datasets, allowing you to process data that exceeds available RAM.

How do I list available datasets in the CELLxGENE Census?

List available datasets in the CELLxGENE Census by opening the Census with a context manager and running a simple metadata query. This exploratory metadata query reveals all accessible human and mouse single-cell datasets within the versioned collection.