omicverse-single-cell-preprocessing
Installation
SKILL.md
OmicVerse Single-Cell Preprocessing
Goal
Turn raw or already-QC'd single-cell AnnData into a reusable execution spine: QC, preprocessing, PCA, graph construction, embeddings, Leiden clustering, and optional marker discovery. Keep marker discovery in the same skill because it only becomes useful after the same cluster-ready object exists.
Quick Workflow
- Inspect the input
AnnDatashape, layers, and whether a cluster key already exists. - If the data is raw, run
ov.pp.qc(...)first; if it is already filtered, jump to preprocessing. - Choose one preprocessing branch with
ov.pp.preprocess(...), then keep the HVG output and buildscaled, PCA, neighbors, and an embedding. - Run
ov.pp.leiden(...)after the graph exists. - If you need marker genes, choose a
methodthat matches the input representation, then callov.single.find_markers(...)andov.single.get_markers(...)orov.pl.markers_dotplot(...). - Validate the expected
obs,var,obsm,obsp, andunskeys before writing output.