omicverse-single-cell-cytotrace2
Installation
SKILL.md
OmicVerse Single-Cell CytoTRACE2
Goal
Run the reusable CytoTRACE2 execution spine on single-cell AnnData: prepare the expression matrix, ensure pretrained weights are available, run ov.single.cytotrace2(...), capture the score and potency columns written into adata.obs, and optionally overlay those outputs on an existing embedding. Keep the skill centered on the potency-prediction job rather than on the tutorial dataset.
Quick Workflow
- Inspect the input
AnnData, especially whetheradata.Xcontains the expression values you want CytoTRACE2 to score and whether the gene symbols match the declared species. - If the object still needs notebook-style normalization and HVG annotation, run
ov.pp.preprocess(...)first and choose themodebranch explicitly. - Ensure the pretrained CytoTRACE2 weight directory is present before inference; download or stage it if needed.
- Run
ov.single.cytotrace2(...)with explicitspecies, batch settings, and parallelization settings. - Treat the returned table plus the five
adata.obscolumns as the shared handoff point for optional visualization. - Only if the user asks for plots, overlay
CytoTRACE2_Score,CytoTRACE2_Potency, orCytoTRACE2_Relativeon an existing embedding. - Validate the expected output columns and result table before treating the run as complete.