scanpy

Analyzes scRNA-seq data to produce QC metrics, normalized data, clusters, and cell-type annotations.

48|6|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/qinyan-ai/qinyan-academic-skills --skill scanpy-qinyan-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scanpy
Source: https://github.com/qinyan-ai/qinyan-academic-skills/tree/main/skills/05-%E7%94%9F%E7%89%A9%E4%BF%A1%E6%81%AF%E4%B8%8E%E5%9F%BA%E5%9B%A0%E7%BB%84%E5%AD%A6/scanpy
Command: npx skills add https://github.com/qinyan-ai/qinyan-academic-skills --skill scanpy-qinyan-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

An end-to-end workflow to analyze single-cell RNA-seq data, enabling robust QC, normalization, dimensionality reduction, clustering, and cell-type annotation.

Core Features & Use Cases

  • Quality Control: Compute QC metrics and filter cells/genes to ensure high-quality data.
  • Normalization & HVG Selection: Normalize counts, log-transform, store raw data, and identify highly variable genes for downstream analysis.
  • Clustering & Annotation: Perform neighborhood graph construction, Leiden clustering, and manual or marker-based cell-type annotation.
  • Visualization & Reporting: Generate publication-ready plots and export processed data and metadata.

Quick Start

Load your AnnData object and run the standard Scanpy workflow to obtain QC metrics, normalized data, clusters, and cell-type labels.

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 scRNA-seq analysis from raw counts to cell-type annotation?

End-to-end scRNA-seq analysis is performed by loading data into an AnnData object to compute QC metrics, normalize counts, identify highly variable genes, construct neighborhood graphs, and execute Leiden clustering for cell-type annotation.

What is the best way to run quality control and normalization on scRNA-seq data?

The best way to run quality control and normalization on scRNA-seq data is to compute QC metrics, filter cells and genes, normalize counts, log-transform, and identify highly variable genes before downstream clustering.

Can I use Scanpy to analyze scRNA-seq datasets stored in h5ad, 10x, or CSV formats?

Yes, you can use Scanpy to analyze scRNA-seq datasets stored in h5ad, 10x, or CSV formats, loading them directly into an AnnData object for quality control, dimensionality reduction, and trajectory inference.

How does trajectory inference work after Leiden clustering in single-cell analysis?

Trajectory inference in single-cell analysis works by leveraging the neighborhood graph constructed from normalized highly variable genes, allowing Scanpy to map developmental progressions after Leiden clustering identifies distinct cell populations.

Do I need matplotlib to visualize clustering results and marker genes in scRNA-seq workflows?

Yes, you need matplotlib alongside Scanpy to generate publication-ready plots visualizing dimensionality reductions, Leiden clustering results, and identified marker genes in scRNA-seq workflows.

What are the limitations of using Scanpy for single-cell RNA-seq trajectory inference?

Limitations of using Scanpy for single-cell RNA-seq trajectory inference include relying on Python ecosystem dependencies like matplotlib for visualization and requiring properly filtered, normalized AnnData inputs to accurately infer developmental progressions.