AnnData
AnnData is a Python package for handling annotated data matrices, storing experimental measurements (X) alongside observ…
维护者 FreedomIntelligence · 最近更新 2026年4月1日
Reconstruct cell lineage trees from CRISPR barcode tracing or mitochondrial mutations. Use when studying clonal dynamics, cell fate decisions, or developmental trajectories.
原始来源
https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bio-single-cell-lineage-tracing
技能摘要
原始文档
Goal: Reconstruct a cell lineage tree from CRISPR barcode character matrices to reveal clonal relationships among single cells.
Approach: Load a character matrix (cells x barcode sites with mutation states), create a CassiopeiaTree object, then solve with a greedy or ILP maximum parsimony solver.
import cassiopeia as cas
import numpy as np
## Check data quality
print(f'Cells: {tree.n_cell}')
print(f'Characters: {tree.n_character}')
print(f'Missing fraction: {(char_matrix == -1).mean():.2%}')
## Reconstruct tree with greedy solver
solver = cas.solver.VanillaGreedySolver()
solver.solve(tree)
相关技能
AnnData is a Python package for handling annotated data matrices, storing experimental measurements (X) alongside observ…
Arboreto is a computational library for inferring gene regulatory networks (GRNs) from gene expression data using parall…
Cell segmentation from multiplexed tissue images. Covers deep learning (Cellpose, Mesmer) and classical approaches for n…
Extract, process, and deduplicate reads using Unique Molecular Identifiers (UMIs) with umi_tools. Use when library prep…