Lineage Tracing Analysis - Usage Guide
Overview
Reconstruct cell lineage trees from CRISPR barcodes, mitochondrial mutations, or other heritable markers.
Prerequisites
pip install cassiopeia-lineage cospar
Quick Start
- "Build lineage tree from CRISPR barcodes"
- "Infer clonal relationships between cells"
- "Track cell fate using lineage tracing"
Example Prompts
Tree Reconstruction
"Reconstruct lineage tree from my barcode data"
"Build phylogeny using Cassiopeia"
Clonal Dynamics
"Track how clones expand over time"
"Infer fate biases for different lineages"
Mitochondrial Tracing
"Use mtDNA mutations for lineage tracing"
"Find clonally related cells without barcodes"
What the Agent Will Do
- Process barcode sequences or variant calls
- Build character matrix from mutations
- Reconstruct lineage tree
- Annotate tree with cell metadata
- Analyze clonal dynamics
Tips
- Cassiopeia - Gold standard for CRISPR barcode trees
- CoSpar - Combines lineage with transcriptome dynamics
- Character matrix - Mutation states (0=WT, 1,2,3...=mutations, -1=missing)
- Tree solvers - Greedy, neighbor-joining, or ILP-based
- Validation - Compare tree to known biology (e.g., tissue of origin)