界面已本地化;技能介绍与说明文档按所选语言由 AI 自动翻译,代码、命令、路径和专业术语保留原文,以原作者文档为准。
探索技能
数据与研究 · SKILL.md

single-cell-workflows

single-cell-workflows

【数据与研究】Single-cell biological analysis workflows for annotation, integration, trajectory, fate, perturbation, pseudobulk, metacells, metabolism, CNV, SCENIC, and lazy scRNA orchestration.

独立 GitHub 快照 · 自动分类 · 以原作者文档为准

技能说明

GitHub

name: single-cell-workflows description: "Single-cell biological analysis workflows for annotation, integration, trajectory, fate, perturbation, pseudobulk, metacells, metabolism, CNV, SCENIC, and lazy scRNA orchestration." disable-model-invocation: true metadata: disco-role: operating license: GPL 3.0

Single-Cell Workflows

Use this sub-skill for biological interpretation and downstream single-cell analysis after an AnnData object has basic QC, normalization, features, embeddings, and clustering available. For package-wide routing, start at the root skill.

When To Use

  • Annotate clusters or cells with ov.single.pySCSA, Annotation, AnnotationRef, CellVote, gptcelltype, or manual marker workflows.
  • Integrate batches with ov.single.batch_correction, including Harmony, Scanorama, CCA, scVI, scANVI, totalVI, or scPoli.
  • Aggregate single cells into donor or donor-by-cell-type pseudobulk profiles with ov.single.pseudobulk.
  • Infer trajectories, pseudotime, fate probabilities, RNA velocity, dynamic features, perturbation effects, CNV, metacells, or metabolism.
  • Generate single-cell workflow reports with ov.single.generate_scRNA_report or use lazy_step_* orchestration after validating data slots.

Route Elsewhere

  • Core read/QC/preprocess/normalize/PCA/neighbors/UMAP/plotting prerequisites belong in core analysis.
  • Spatial-specific ligand-receptor visualization and tissue-coordinate workflows belong in spatial integration.
  • CLI, MCP, registry, JARVIS, and AI-agent runtime work belongs in agentic and MCP.

Start Here

  1. Confirm the AnnData slot contract with scripts/check_single_cell_inputs.py: cluster labels in obs, embeddings in obsm, and raw or scaled layers as needed.
  2. Choose the closest workflow in references/single-cell-workflows.md.
  3. Check concrete API names, parameters, inputs, and outputs in references/api-reference.md.
  4. If imports, markers, labels, batches, or trajectory slots fail, use references/troubleshooting.md.

Data Assumptions

  • Most workflows consume anndata.AnnData with cells in rows and genes/features in columns.
  • Annotation usually needs a cluster column such as obs['leiden'] plus marker rankings in uns['rank_genes_groups'] or computable marker genes.
  • Batch integration needs obs[batch_key]; VAE backends normally need raw counts in layers['counts'].
  • Trajectory/fate workflows need embeddings or neighbor graphs such as obsm['X_pca'], obsm['X_umap'], and obsp['connectivities'].
  • Plotting-heavy outputs are produced by OmicVerse/Scanpy plotting APIs; route generic plotting details to core analysis.
我的收藏