scanpy

Run standard single-cell RNA-seq analysis with Scanpy on AnnData objects.

1|Updated Nov 20, 2025
One-click install
npx skills add https://github.com/tony-zhelonkin/SciAgent-toolkit --skill scanpy-tony-zhelonkin
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scanpy
Source: https://github.com/tony-zhelonkin/SciAgent-toolkit/tree/main/skills/scanpy
Command: npx skills add https://github.com/tony-zhelonkin/SciAgent-toolkit --skill scanpy-tony-zhelonkin

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Scanpy provides a standard workflow for analyzing scRNA-seq data, consolidating quality control, normalization, feature selection, dimensionality reduction, clustering, marker identification, gene scoring, and publication-ready plots into a reproducible pipeline.

Core Features & Use Cases

  • Quality control, normalization and HVG selection, PCA/UMAP/t-SNE, Leiden/Louvain clustering, rank_genes_groups marker identification, score_genes scoring, and scverse-style plots (dotplot, heatmap, violin, UMAP).
  • Supports multi-sample workflows with optional batch correction via scvi-basic and annotation transfer via scvi-scanvi; integrates with AnnData and the scverse ecosystem for downstream visualization.

Quick Start

Load an AnnData object and run the standard Scanpy workflow to QC, normalize, cluster, and visualize results.

Frequently Asked Questions about scanpy

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

FAQPage Schema
How do I perform single-cell RNA-seq clustering and UMAP visualization in Python?

Single-cell RNA-seq clustering and UMAP visualization in Python can be performed using a standard Scanpy workflow to execute normalization, dimensionality reduction, Leiden clustering, and generate publication-ready plots from AnnData objects.

What does scRNA-seq quality control and normalization involve in an exploratory analysis workflow?

scRNA-seq quality control and normalization involve selecting highly variable genes and preparing an AnnData object, enabling reproducible downstream dimensionality reduction, clustering, and marker identification for exploratory datasets.

Can I use Scanpy for multi-sample scRNA-seq batch correction and annotation transfer?

Yes, Scanpy supports multi-sample scRNA-seq workflows by integrating with the scverse ecosystem, utilizing scvi-basic for batch correction and scvi-scanvi for annotation transfer across different datasets.

How do I identify marker genes and score gene signatures in scRNA-seq data?

To identify marker genes and score gene signatures in scRNA-seq data, you can use rank_genes_groups for marker identification and score_genes for evaluating specific gene signatures within your AnnData object.

What is the best way to generate publication-ready plots for scRNA-seq clustering results?

The best way to generate publication-ready plots for scRNA-seq clustering results is through the scverse-style visualization functions, producing dotplots, heatmaps, violin plots, and UMAP embeddings directly from clustered data.

Do I need AnnData to run a standard scRNA-seq analysis workflow?

Yes, you need an AnnData object to run this standard scRNA-seq analysis workflow, as it requires Python and the scverse ecosystem to execute end-to-end quality control, clustering, and visualization.