trajectory-lineage

Infer pseudotime, lineage branches, and state transitions from single-cell data using Scanpy.

25|5|Updated Mar 22, 2026
One-click install
npx skills add https://github.com/zongtingwei/Bioclaw_Skills_Hub --skill trajectory-lineage
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trajectory-lineage
Source: https://github.com/zongtingwei/Bioclaw_Skills_Hub/tree/main/skills/single-cell-and-spatial/trajectory-lineage
Command: npx skills add https://github.com/zongtingwei/Bioclaw_Skills_Hub --skill trajectory-lineage

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Infers pseudotime, lineage branches, and state transitions from single-cell data.

Core Features & Use Cases

  • End-to-end trajectory analysis with root and branch specification using Python and Scanpy.
  • Output pseudotime assignments, lineage states, and dynamic gene programs suitable for downstream interpretation.
  • Use Case: study developmental progression in a scRNA-seq dataset to reveal lineage relationships and gene modules along trajectories.

Quick Start

Run a Scanpy-based workflow on a processed single-cell object to infer pseudotime and lineage states.

Frequently Asked Questions about trajectory-lineage

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

FAQPage Schema
How do I infer pseudotime and lineage branches from single-cell data?

Infer pseudotime and lineage branches from single-cell data by running a Scanpy-based workflow on a processed object with embeddings and annotations. The analysis outputs pseudotime assignments, lineage states, and dynamic gene programs for downstream interpretation of developmental progression.

What is trajectory analysis and when do I need it for my scRNA-seq dataset?

Trajectory analysis maps cellular trajectories from pseudotime to reveal lineage relationships and dynamic gene modules along developmental progressions. You need it when a processed scRNA-seq dataset requires identifying state transitions, lineage branches, and dynamic gene programs to understand cellular development.

Can I use Scanpy and scvelo to identify cell state transitions and dynamic gene programs?

Yes, trajectory analysis supports topology validation, root and branch specification, trajectory inference, and dynamic feature discovery using Python with Scanpy and optional scvelo. It identifies cell state transitions and outputs dynamic gene programs suitable for downstream interpretation.

Do I need a pre-processed single-cell object before running trajectory inference?

Yes, trajectory inference requires a processed single-cell object with existing embeddings and annotations. The workflow applies topology validation, root and branch specification, and trajectory inference to this pre-processed input to output pseudotime assignments and lineage states.

What's the best way to visualize trajectory lineage and validate topology in single-cell data?

Contextual visualization of trajectory lineage is achieved using Python with Scanpy and optional scvelo. The workflow supports topology validation, trajectory inference, and contextual visualization to map cellular trajectories from pseudotime assignments and lineage states.