scanpy

Analyze single-cell RNA-seq data with a Scanpy pipeline for QC, clustering, and cell-type annotation.

21|1|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/OwnLabAI/ownlab --skill scanpy-ownlabai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: scanpy
Source: https://github.com/OwnLabAI/ownlab/tree/main/mart/skills/scientific-skills/scanpy
Command: npx skills add https://github.com/OwnLabAI/ownlab --skill scanpy-ownlabai

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 integrated, reproducible pipeline that handles quality control, normalization, dimensionality reduction, clustering, marker gene identification, and visualization for single-cell RNA-seq data.

Core Features & Use Cases

  • Quality control, normalization, and feature selection to prepare data for downstream analysis.
  • Dimensionality reduction (PCA/UMAP/t-SNE), neighborhood graph construction, and Leiden clustering for cell type discovery.
  • Marker gene identification, cell-type annotation, and trajectory inference; suitable for exploratory analyses and publication-ready visualizations.

Quick Start

Run the bundled analysis template on your dataset to obtain a processed AnnData object with cell-type annotations.

Frequently Asked Questions about scanpy

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

FAQPage Schema
How do I run an end-to-end scRNA-seq analysis workflow from FASTQ or 10X data to cell type annotation?

This scRNA-seq analysis workflow processes FASTQ, 10X, or h5ad inputs through QC, normalization, HVG selection, PCA/UMAP/t-SNE, Leiden clustering, and marker gene identification to produce annotated cell types. It outputs a processed AnnData object with metadata and visualizations.

What is the standard pipeline for single-cell RNA-seq clustering and dimensionality reduction using Scanpy?

The standard single-cell RNA-seq pipeline applies QC, normalization, and highly variable gene selection, followed by PCA, neighborhood graph construction, UMAP or t-SNE visualization, and Leiden clustering. It identifies marker genes to annotate discovered cell clusters.

Can I perform trajectory analysis and publication-ready visualization on an h5ad file?

Yes, you can load h5ad files to perform trajectory inference and generate publication-ready visualizations. The workflow supports exploratory analyses including dimensionality reduction plots and marker gene heatmaps directly from the processed AnnData object.

Does this single-cell RNA-seq workflow require matplotlib for generating UMAP or t-SNE plots?

Yes, the single-cell RNA-seq workflow requires both Scanpy and matplotlib as dependencies to compute dimensionality reductions and render visualization plots. These libraries are necessary to execute the bundled analysis template and generate graphical outputs.

What's the best way to identify marker genes and annotate cell types after Leiden clustering?

After Leiden clustering, identify marker genes by running the differential expression module on the neighborhood graph. The workflow then uses these marker genes to perform cell-type annotation on the scRNA-seq dataset, saving results as metadata within the AnnData object.

Why does my single-cell RNA-seq pipeline fail to process raw data without quality control and normalization?

Single-cell RNA-seq pipelines require quality control and normalization to filter low-quality cells and correct library size variations before downstream analysis. Without these preparatory steps, dimensionality reduction and clustering produce unreliable results due to technical noise.