Trajectory lineage

From BioTender-max/awesome-bio-agent-skills · View interactive version

Trajectory lineage is an AI agent skill from the GitHub repository BioTender-max/awesome-bio-agent-skills. Workflow for pseudotime, lineage branching, and state-transition analysis in single-cell data.

How to use this skill

Skill file

Trajectory And Lineage

Version Compatibility

Reference examples assume recent stable releases of the preferred tools, especially scanpy and the other tools listed below.

Before using code or command patterns, verify installed versions match the environment:

Overview

Workflow for pseudotime, lineage branching, and state-transition analysis in single-cell data.

When To Use This Skill

Quick Route

Progressive Disclosure

Default Rules

Expected Inputs

Expected Outputs

Preferred Tools

Starter Pattern

Preferred starting point: scanpy
Inputs: processed single-cell object, cluster labels, optional time or perturbation metadata
Outputs: pseudotime assignments, branch or lineage states, dynamic gene programs

Workflow

1. Check topology assumptions

Ensure the embedding and cluster relationships support a trajectory-style interpretation.

2. Pick roots and branches carefully

Use prior biology or metadata to justify start states and branch structure.

3. Infer trajectories

Compute pseudotime or lineage paths and verify they align with marker trends.

4. Identify dynamic features

Report genes or modules that vary along pseudotime or across branches.

5. Visualize with context

Overlay trajectories on embeddings and summarize branch-specific biology.

Output Artifacts

Quality Review

Anti-Patterns

Related Skills

Optional Supplements

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.