scanpy

Analyze scRNA-seq data with Scanpy workflows for QC through trajectory inference.

52|6|Updated Nov 24, 2025
One-click install
npx skills add https://github.com/ovachiever/droid-tings --skill scanpy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scanpy
Source: https://github.com/ovachiever/droid-tings/tree/main/skills/scanpy
Command: npx skills add https://github.com/ovachiever/droid-tings --skill scanpy

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

Scanpy provides an end-to-end workflow for analyzing single-cell RNA-seq data, from QC to trajectory analysis, using the AnnData data structure and a comprehensive set of preprocessing and visualization tools.

Core Features & Use Cases

  • QC, normalization, HVG selection, and scaling
  • Dimensionality reduction (PCA/UMAP/TSNE) and neighborhood graphs
  • Clustering (Leiden/Louvain) and marker gene identification
  • Cell type annotation, trajectory inference, and plotting
  • Integration with Muon for multi-modal data and scverse ecosystem

Use cases include single-cell data exploration, publishing-quality plots, and reproducible scRNA-seq pipelines.

Quick Start

Load an h5ad dataset, run QC, normalization, HVG selection, PCA and UMAP, then cluster and annotate.

Frequently Asked Questions about scanpy

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

FAQPage Schema
How do I perform end-to-end single-cell RNA-seq analysis from raw data to cell types?

End-to-end single-cell RNA-seq analysis applies QC, normalization, dimensionality reduction, and clustering sequentially on .h5ad, 10X, or CSV data using Scanpy and AnnData. Load your dataset, run quality control and normalization, select highly variable genes, reduce dimensions with PCA/UMAP, cluster with Leiden, then annotate cell types using marker genes.

What file formats does Scanpy support for single-cell data?

Scanpy supports .h5ad (AnnData's native format), 10X Genomics output, and CSV files for single-cell RNA-seq analysis. The AnnData data structure standardizes storage of expression matrices, metadata, and embeddings across preprocessing, clustering, and downstream analysis steps.

Can I use Scanpy for both clustering and trajectory inference on the same dataset?

Yes, Scanpy enables both clustering via Leiden algorithm and trajectory inference on the same AnnData object. After QC, normalization, and dimensionality reduction, you can perform clustering to identify cell populations, then apply trajectory analysis to infer developmental paths and cell-state transitions.

Do I need prior bioinformatics experience to run a Scanpy workflow?

Scanpy workflows require Python proficiency and familiarity with single-cell RNA-seq concepts like QC metrics, normalization, and clustering. The AnnData structure and Scanpy functions are designed for reproducible, publication-quality analysis but assume understanding of scRNA-seq biology and data preprocessing principles.

How does Scanpy handle multi-modal single-cell data?

Scanpy integrates with Muon, part of the scverse ecosystem, to analyze multi-modal datasets combining RNA-seq with protein, chromatin, or other modalities. This integration allows joint dimensionality reduction, clustering, and cell-type annotation across modalities within a unified AnnData framework.

What's the best approach for generating publication-quality plots from single-cell clusters?

Scanpy provides comprehensive plotting functions that generate publication-ready visualizations of UMAP/t-SNE embeddings, clustered populations, marker genes, and cell-type annotations directly from AnnData objects. Customize colors, annotations, and styling to match journal requirements without exporting to external tools.