Browse latest
Research & PapersMarkTechPost · May 8, 2026

How to Build a Single-Cell RNA-seq Analysis Pipeline with Scanpy for PBMC Clustering, Annotation, and Trajectory Discovery

How to Build a Single-Cell RNA-seq Analysis Pipeline with Scanpy for PBMC Clustering, Annotation, and Trajectory Discovery — MarkTechPost

This article outlines a comprehensive single-cell RNA-seq analysis pipeline using Scanpy, covering data loading, quality control, normalization, and dimensionality reduction. It details advanced steps like cell cycle scoring, doublet detection, clustering, cell type annotation, and trajectory inference for PBMC data.

Author: Morein.ai Editorial

This tutorial demonstrates an advanced single-cell RNA-seq analysis workflow using Scanpy on the PBMC-3k benchmark dataset. It covers data loading, quality control, and filtering of low-quality cells and genes. Doublets are detected using Scrublet, followed by data normalization and log transformation. Highly variable genes are identified for downstream analysis.

The pipeline includes scoring cell-cycle phases, regressing out unwanted technical variation, and data scaling. Dimensionality reduction is performed using PCA, UMAP, and t-SNE. Cells are clustered with the Leiden algorithm, and marker genes are identified.

Cell populations are annotated using canonical PBMC markers. Trajectory structure is explored with PAGA and diffusion pseudotime. Finally, a custom interferon-response score is calculated, and the fully analyzed AnnData object is saved for future use.

Read original source

Related articles