计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
annotation-and-query【效率与协作】Use for scvi-tools label transfer, query/reference mapping, semi-supervised annotation, doublet detection, and marker-based cell assignment with SCANVI, SOLO, and CellAssign.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is to annotate cells, transfer labels from a reference, map query data into a trained reference, detect doublets, or assign cell types from marker genes.
scvi.model.SCANVI, including labels_key, unlabeled_category, SCANVI.from_scvi_model(...), and model.predict(...).SCVI reference and then initialize SCANVI for label transfer.scvi.external.SOLO.from_scvi_model(...), SOLO.train(...), and SOLO.predict(...).scvi.external.CellAssign, binary marker matrices, and soft assignment probabilities.train(...), checkpointing, accelerators, early stopping, or dataloader tuning unless annotation-specific behavior is the core issue; route to training-and-inference coverage when available.SCVI, SCANVI, TOTALVI, or other model families; route to core-models coverage when available.references/workflows.md.references/api-reference.md.references/troubleshooting.md.SCANVI.setup_anndata(..., labels_key=..., unlabeled_category=...) or bootstrap from a trained SCVI with SCANVI.from_scvi_model(...).SCVI reference exists and the goal is doublet calls, use SOLO.from_scvi_model(scvi_model, restrict_to_batch=...) and inspect soft doublet probabilities.CellAssign after subsetting adata to marker genes and validating that marker matrix rows exactly cover adata.var_names.adata.obs; avoid trusting only the argmax label when probabilities are diffuse.