[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DTFP1H4Y6B4W8BE0ZNCXZ6":3,"skill-same:01M6DTFP1H4Y6B4W8BE0ZNCXZ6":117},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":47,"commitSha":48,"skillDirectory":49,"forksCount":50,"repositoryHtmlUrl":51,"repositoryHomepageUrl":52,"ownerHtmlUrl":53,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":54,"install":55,"resources":68},"01M6DTFP1H4Y6B4W8BE0ZNCXZ6","sc-batch-integration",null,"Load when integrating multi-sample scRNA-seq with Harmony, scVI, scANVI, BBKNN, Scanorama, SIMBA, or supported R-backed methods to remove batch effects. Skip when the data is one sample (no batch effect to integrate); upstream merging only (use sc-multi-count).","TianGzlab\u002FOmicsClaw","TianGzlab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F150978281?v=4","01M6DT9WNJJ470ADHPSMFAA02Y","01M6DT9WSN09C5K65GB6RK18R9",161,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"batch","sc batch integration","integration","sample","merge","scanorama","bbknn","scanvi","scvi","harmony","batch-integration","singlecell","upstream","methods","only","integrate","use","remove","effect","data","2026-11-10 10:12:30",false,"---\nname: sc-batch-integration\ndescription: Load when integrating multi-sample scRNA-seq with Harmony, scVI, scANVI, BBKNN, Scanorama,\n  SIMBA, or supported R-backed methods to remove batch effects. Skip when the data is one sample (no batch\n  effect to integrate); upstream merging only (use sc-multi-count).\ntrigger: batch integration, batch effect, harmony, scvi, bbknn, merge samples\ntags:\n- singlecell\n- scrna\n- batch-integration\n- harmony\n- scvi\n- scanvi\n- bbknn\n- scanorama\n- simba\n---\n\n# sc-batch-integration\n\n## When to use\n\nCorrect batch effects in merged, normalised scRNA data. The nine methods are\nHarmony (default), scVI, scANVI, BBKNN, Scanorama, SIMBA, fastMNN, Seurat CCA\nand Seurat RPCA. Check batch\u002Fcondition confounding before correction: a batch\nfully confounded with the biological contrast cannot be separated statistically.\n\n## Steps\n\nStart a notebook step with `python skills\u002F_sdk\u002Fnotebook\u002Frun.py new integration`.\nInside it, use `integration = load_skill(\"sc-batch-integration\")`, then\n`adata = integration.integrate(adata, method=\"harmony\", batch_key=\"batch\")`.\nThis returns the corrected representation; choose neighbours, UMAP and\nclustering separately with `sc-clustering`. After BBKNN, call\n`load_skill(\"sc-clustering\").cluster(adata, use_existing_graph=True)` to keep\nthe corrected graph. The default clustering call rebuilds it and loses BBKNN's\nbatch correction.\nThe CLI additionally builds neighbours\u002FUMAP and writes the legacy report.\nSee `examples\u002Fexample_step.py` for a runnable PBMC example.\n\n## Inputs & Outputs\n\nInput is AnnData with a batch column and normalised `X`. Keep counts in\n`layers['counts']` for scVI\u002FscANVI and R integration. Existing PCA is optional.\nThe API returns AnnData and separate table\u002FFigure helpers; it writes no output\ndirectory. R methods retain the existing H5AD bridge and need zellkonverter.\n\nCLI outputs are `processed.h5ad`, `report.md`, `result.json` and\n`reproducibility\u002F{commands.sh,requirements.txt}`. Non-empty tables are written\nto `tables\u002F{integration_summary,batch_sizes,cluster_sizes,batch_mixing_matrix,integration_metrics}.csv`.\nLabel-dependent tables and plots are optional. Plot data, including UMAP\ncoordinates, live under `figure_data\u002F`, not `tables\u002Fumap.csv`.\nSee `references\u002Foutput_contract.md` for the conditional inventory.\n\n## Gotchas\n\n- `result.json.data.requested_method`, `executed_method`, `fallback_used` and\n  `fallback_reason` record scANVI's fallback to scVI when labels are absent.\n  Supply `--labels-key` to choose an existing label column.\n- `tables\u002Fintegration_metrics.csv` omits unavailable LISI\u002FASW values; this is\n  not evidence of good or bad integration. Label-free input has no label ASW.\n- `_api.py:303`: `run_info(adata)` contains a small JSON summary. The retained Seurat bridge\n  also returns old R UMAP coordinates under the private\n  `uns['_omicsclaw_legacy_integration_umap']` key. The CLI moves these to\n  `obsm['X_umap']` and removes the private key; the API adds no UMAP to obsm.\n- `_api.py:39`: `obsm['X_harmony']` uses existing PCA only when the requested PCA size would\n  exceed the data's rank. Normal-sized input still recomputes PCA.\n- `_api.py:182`: SIMBA uses a temporary working directory; do not run it concurrently in\n  threads. Its returned AnnData can be a cell-subset copy.\n\n## Key CLI\n\n```bash\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Fsc_integrate.py --demo --output \u002Ftmp\u002Fsc_integrate_demo\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Fsc_integrate.py --input merged.h5ad --output results\u002Fintegration --method harmony --batch-key sample_id --seed 0\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Fsc_integrate.py --input labelled.h5ad --output results\u002Fscanvi --method scanvi --labels-key cell_type --no-gpu --n-epochs 200\n```\n\n`--seed` controls Harmony, Scanorama and scVI\u002FscANVI and the Python CLI UMAP.\nIt does not control SIMBA or the retained R integration bridge.\n\n## API\n\n\u003C!-- api:begin generated from _api.py; regenerate with run.py api \u003Cskill dir> --write -->\n\n### `integrate(adata, *, method: str='harmony', batch_key: str='batch', harmony_theta: float=2.0, n_pcs: int=50, n_latent: int=30, n_epochs: int | None=None, use_gpu: bool=True, labels_key: str | None=None, bbknn_neighbors_within_batch: int=3, scanorama_knn: int=20, integration_features: int=2000, integration_pcs: int=30, simba_n_top_genes: int=3000, simba_n_components: int=15, simba_k: int=15, simba_num_workers: int=4, random_state: int=0)`\n\nIntegrate batches and return AnnData with a corrected representation.\n\n``harmony`` reads log-normalised expression and batch labels, writes\n``obsm['X_harmony']`` and preserves cells and genes. It recomputes PCA on\nordinary inputs; when ``n_pcs`` exceeds the small input's rank, it reuses\nan existing PCA or computes the largest valid PCA. No neighbours or UMAP\nare computed. Diagnostics are available through :func:`run_info`.\n\n:param method: ``harmony`` (default), ``scvi``, ``scanvi``, ``bbknn``,\n    ``scanorama``, ``simba``, ``fastmnn``, ``seurat_cca`` or ``seurat_rpca``.\n    BBKNN writes its batch-balanced neighbour graph, not a new embedding.\n:param batch_key: Batch column in ``obs``; default ``batch``.\n:param harmony_theta: Harmony diversity penalty; default 2.0.\n:param n_pcs: Requested Harmony components; default 50.\n:param n_latent: scVI\u002FscANVI latent dimensions; default 30.\n:param n_epochs: Training epochs; None uses 400 for scVI, 200 for scANVI.\n:param use_gpu: Request a GPU for scVI\u002FscANVI; default True, CPU if unavailable.\n:param labels_key: scANVI labels; None searches cell_type\u002Fleiden\u002Flouvain\u002F\n    seurat_clusters. With no labels it falls back to scVI and records why.\n:param bbknn_neighbors_within_batch: BBKNN neighbours per batch; default 3.\n:param scanorama_knn: Scanorama matching neighbours; default 20.\n:param integration_features: R integration variable genes; default 2000.\n:param integration_pcs: R integration components; default 30.\n:param simba_n_top_genes: SIMBA variable genes; default 3000.\n:param simba_n_components: SIMBA inter-batch components; default 15.\n:param simba_k: SIMBA inter-batch neighbours; default 15.\n:param simba_num_workers: SIMBA training workers; default 4.\n:param random_state: Backend seed; default 0.\n    Passed to Harmony, Scanorama and scVI\u002FscANVI. SIMBA and the retained\n    R bridge do not expose this seed. SIMBA runs in a temporary working\n    directory; do not call it concurrently from multiple threads.\n:returns: AnnData, modified in place for Python methods except SIMBA.\n    SIMBA and R methods can return a cell-subset copy. scVI\u002FscANVI require\n    raw counts in ``layers['counts']``; other Python methods use ``X``.\n:raises ValueError: The method, batch column or PCA dimensions are invalid.\n:raises ImportError: The chosen optional backend is unavailable.\n\n### `run_info(adata, *, keep: bool=True) -> dict`\n\nReturn integration diagnostics; set ``keep=False`` to remove them from ``uns``.\n\n### `integration_metrics(adata, *, batch_key: str='batch', label_key: str | None=None, embedding_key: str='X_harmony') -> pd.DataFrame`\n\nReturn LISI and ASW diagnostics; unavailable metrics are logged and omitted.\n\nLISI values are also attached to ``obs[\"ilisi\"]`` and, with labels,\n``obs[\"clisi\"]``. The corrected embedding and batch column must exist.\n\n### `batch_mixing_table(adata, *, batch_key: str='batch', label_key: str | None=None) -> pd.DataFrame`\n\nReturn each label's fraction of cells from each batch; empty without labels.\n\n### `batch_sizes_table(adata, *, batch_key: str='batch') -> pd.DataFrame`\n\nReturn batch labels and cell counts, largest first.\n\n### `batch_sizes_figure(adata, *, batch_key: str='batch')`\n\nReturn a Figure of cell counts per batch; the caller owns saving and closing it.\n\n\u003C!-- api:end -->\n\n## See also\n\n`sc-multi-count` merges samples; `sc-clustering` clusters the returned\nrepresentation; `sc-cell-annotation` supplies labels. CLI tuning details are\nin `references\u002Fparameters.md`.\n\n## Dependencies\n\nPython packages this skill's script needs. They are not installed for you — check before a long run.\n\n`anndata`, `bbknn`, `harmonypy`, `matplotlib`, `numpy`, `pandas`, `phate`, `scanorama`, `scanpy`, `scikit-learn`, `scipy`, `scvi-tools`, `seaborn`, `simba-bio`, `torch`\n","# sc-batch-integration\n\n## When to use\n\nCorrect batch effects in merged, normalised scRNA data. The nine methods are\nHarmony (default), scVI, scANVI, BBKNN, Scanorama, SIMBA, fastMNN, Seurat CCA\nand Seurat RPCA. Check batch\u002Fcondition confounding before correction: a batch\nfully confounded with the biological contrast cannot be separated statistically.\n\n## Steps\n\nStart a notebook step with `python skills\u002F_sdk\u002Fnotebook\u002Frun.py new integration`.\nInside it, use `integration = load_skill(\"sc-batch-integration\")`, then\n`adata = integration.integrate(adata, method=\"harmony\", batch_key=\"batch\")`.\nThis returns the corrected representation; choose neighbours, UMAP and\nclustering separately with `sc-clustering`. After BBKNN, call\n`load_skill(\"sc-clustering\").cluster(adata, use_existing_graph=True)` to keep\nthe corrected graph. The default clustering call rebuilds it and loses BBKNN's\nbatch correction.\nThe CLI additionally builds neighbours\u002FUMAP and writes the legacy report.\nSee `examples\u002Fexample_step.py` for a runnable PBMC example.\n\n## Inputs & Outputs\n\nInput is AnnData with a batch column and normalised `X`. Keep counts in\n`layers['counts']` for scVI\u002FscANVI and R integration. Existing PCA is optional.\nThe API returns AnnData and separate table\u002FFigure helpers; it writes no output\ndirectory. R methods retain the existing H5AD bridge and need zellkonverter.\n\nCLI outputs are `processed.h5ad`, `report.md`, `result.json` and\n`reproducibility\u002F{commands.sh,requirements.txt}`. Non-empty tables are written\nto `tables\u002F{integration_summary,batch_sizes,cluster_sizes,batch_mixing_matrix,integration_metrics}.csv`.\nLabel-dependent tables and plots are optional. Plot data, including UMAP\ncoordinates, live under `figure_data\u002F`, not `tables\u002Fumap.csv`.\nSee `references\u002Foutput_contract.md` for the conditional inventory.\n\n## Gotchas\n\n- `result.json.data.requested_method`, `executed_method`, `fallback_used` and\n  `fallback_reason` record scANVI's fallback to scVI when labels are absent.\n  Supply `--labels-key` to choose an existing label column.\n- `tables\u002Fintegration_metrics.csv` omits unavailable LISI\u002FASW values; this is\n  not evidence of good or bad integration. Label-free input has no label ASW.\n- `_api.py:303`: `run_info(adata)` contains a small JSON summary. The retained Seurat bridge\n  also returns old R UMAP coordinates under the private\n  `uns['_omicsclaw_legacy_integration_umap']` key. The CLI moves these to\n  `obsm['X_umap']` and removes the private key; the API adds no UMAP to obsm.\n- `_api.py:39`: `obsm['X_harmony']` uses existing PCA only when the requested PCA size would\n  exceed the data's rank. Normal-sized input still recomputes PCA.\n- `_api.py:182`: SIMBA uses a temporary working directory; do not run it concurrently in\n  threads. Its returned AnnData can be a cell-subset copy.\n\n## Key CLI\n\n```bash\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Fsc_integrate.py --demo --output \u002Ftmp\u002Fsc_integrate_demo\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Fsc_integrate.py --input merged.h5ad --output results\u002Fintegration --method harmony --batch-key sample_id --seed 0\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Fsc_integrate.py --input labelled.h5ad --output results\u002Fscanvi --method scanvi --labels-key cell_type --no-gpu --n-epochs 200\n```\n\n`--seed` controls Harmony, Scanorama and scVI\u002FscANVI and the Python CLI UMAP.\nIt does not control SIMBA or the retained R integration bridge.\n\n## API\n\n\u003C!-- api:begin generated from _api.py; regenerate with run.py api \u003Cskill dir> --write -->\n\n### `integrate(adata, *, method: str='harmony', batch_key: str='batch', harmony_theta: float=2.0, n_pcs: int=50, n_latent: int=30, n_epochs: int | None=None, use_gpu: bool=True, labels_key: str | None=None, bbknn_neighbors_within_batch: int=3, scanorama_knn: int=20, integration_features: int=2000, integration_pcs: int=30, simba_n_top_genes: int=3000, simba_n_components: int=15, simba_k: int=15, simba_num_workers: int=4, random_state: int=0)`\n\nIntegrate batches and return AnnData with a corrected representation.\n\n``harmony`` reads log-normalised expression and batch labels, writes\n``obsm['X_harmony']`` and preserves cells and genes. It recomputes PCA on\nordinary inputs; when ``n_pcs`` exceeds the small input's rank, it reuses\nan existing PCA or computes the largest valid PCA. No neighbours or UMAP\nare computed. Diagnostics are available through :func:`run_info`.\n\n:param method: ``harmony`` (default), ``scvi``, ``scanvi``, ``bbknn``,\n    ``scanorama``, ``simba``, ``fastmnn``, ``seurat_cca`` or ``seurat_rpca``.\n    BBKNN writes its batch-balanced neighbour graph, not a new embedding.\n:param batch_key: Batch column in ``obs``; default ``batch``.\n:param harmony_theta: Harmony diversity penalty; default 2.0.\n:param n_pcs: Requested Harmony components; default 50.\n:param n_latent: scVI\u002FscANVI latent dimensions; default 30.\n:param n_epochs: Training epochs; None uses 400 for scVI, 200 for scANVI.\n:param use_gpu: Request a GPU for scVI\u002FscANVI; default True, CPU if unavailable.\n:param labels_key: scANVI labels; None searches cell_type\u002Fleiden\u002Flouvain\u002F\n    seurat_clusters. With no labels it falls back to scVI and records why.\n:param bbknn_neighbors_within_batch: BBKNN neighbours per batch; default 3.\n:param scanorama_knn: Scanorama matching neighbours; default 20.\n:param integration_features: R integration variable genes; default 2000.\n:param integration_pcs: R integration components; default 30.\n:param simba_n_top_genes: SIMBA variable genes; default 3000.\n:param simba_n_components: SIMBA inter-batch components; default 15.\n:param simba_k: SIMBA inter-batch neighbours; default 15.\n:param simba_num_workers: SIMBA training workers; default 4.\n:param random_state: Backend seed; default 0.\n    Passed to Harmony, Scanorama and scVI\u002FscANVI. SIMBA and the retained\n    R bridge do not expose this seed. SIMBA runs in a temporary working\n    directory; do not call it concurrently from multiple threads.\n:returns: AnnData, modified in place for Python methods except SIMBA.\n    SIMBA and R methods can return a cell-subset copy. scVI\u002FscANVI require\n    raw counts in ``layers['counts']``; other Python methods use ``X``.\n:raises ValueError: The method, batch column or PCA dimensions are invalid.\n:raises ImportError: The chosen optional backend is unavailable.\n\n### `run_info(adata, *, keep: bool=True) -> dict`\n\nReturn integration diagnostics; set ``keep=False`` to remove them from ``uns``.\n\n### `integration_metrics(adata, *, batch_key: str='batch', label_key: str | None=None, embedding_key: str='X_harmony') -> pd.DataFrame`\n\nReturn LISI and ASW diagnostics; unavailable metrics are logged and omitted.\n\nLISI values are also attached to ``obs[\"ilisi\"]`` and, with labels,\n``obs[\"clisi\"]``. The corrected embedding and batch column must exist.\n\n### `batch_mixing_table(adata, *, batch_key: str='batch', label_key: str | None=None) -> pd.DataFrame`\n\nReturn each label's fraction of cells from each batch; empty without labels.\n\n### `batch_sizes_table(adata, *, batch_key: str='batch') -> pd.DataFrame`\n\nReturn batch labels and cell counts, largest first.\n\n### `batch_sizes_figure(adata, *, batch_key: str='batch')`\n\nReturn a Figure of cell counts per batch; the caller owns saving and closing it.\n\n\u003C!-- api:end -->\n\n## See also\n\n`sc-multi-count` merges samples; `sc-clustering` clusters the returned\nrepresentation; `sc-cell-annotation` supplies labels. CLI tuning details are\nin `references\u002Fparameters.md`.\n\n## Dependencies\n\nPython packages this skill's script needs. They are not installed for you — check before a long run.\n\n`anndata`, `bbknn`, `harmonypy`, `matplotlib`, `numpy`, `pandas`, `phate`, `scanorama`, `scanpy`, `scikit-learn`, `scipy`, `scvi-tools`, `seaborn`, `simba-bio`, `torch`\n",{"name":5,"tags":43,"trigger":46,"description":7},[29,44,28,27,26,25,24,23,45],"scrna","simba","batch integration, batch effect, harmony, scvi, bbknn, merge samples","main","90a3bec3e6549bc33dddbf67e4b23869736c49d1","skills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration",27,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw","https:\u002F\u002FTianGzlab.github.io\u002FOmicsClaw\u002F","https:\u002F\u002Fgithub.com\u002FTianGzlab","2026-10-08 01:36:11",{"source":8,"skillName":5,"commands":56,"prompt":66,"zipAvailable":67},[57,60,63],{"tool":58,"command":59},"npx","npx skills add TianGzlab\u002FOmicsClaw --skill sc-batch-integration",{"tool":61,"command":62},"bunx","bunx skills add TianGzlab\u002FOmicsClaw --skill sc-batch-integration",{"tool":64,"command":65},"pnpm","pnpm dlx skills add TianGzlab\u002FOmicsClaw --skill sc-batch-integration","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002FSKILL.md",true,[69,75,79,85,89,93,97,101,105,109,113],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"_api.py","SCRIPT","脚本",18946,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002F_api.py",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"examples\u002Fexample_step.py",1039,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Fexamples\u002Fexample_step.py",{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fmethodology.md","REFERENCE","参考文档",4243,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Freferences\u002Fmethodology.md",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Foutput_contract.md",1184,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Freferences\u002Foutput_contract.md",{"path":90,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fparameters.md",3536,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Freferences\u002Fparameters.md",{"path":94,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fr_visualization.md",855,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Freferences\u002Fr_visualization.md",{"path":98,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":99,"sourceHtmlUrl":100},"sc_integrate.py",31043,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Fsc_integrate.py",{"path":102,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":103,"sourceHtmlUrl":104},"tests\u002F__init__.py",0,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Ftests\u002F__init__.py",{"path":106,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":107,"sourceHtmlUrl":108},"tests\u002Ftest_integration_api.py",6368,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Ftests\u002Ftest_integration_api.py",{"path":110,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":111,"sourceHtmlUrl":112},"tests\u002Ftest_sc_integrate_methods.py",616,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Ftests\u002Ftest_sc_integrate_methods.py",{"path":114,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":115,"sourceHtmlUrl":116},"tests\u002Ftest_sc_integrate.py",3054,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-batch-integration\u002Ftests\u002Ftest_sc_integrate.py",[118,131,143,159,184,206],{"skillNo":119,"name":120,"nameZh":6,"description":121,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":122,"categories":123,"keywords":124,"publishedAt":38},"01M6DTP4X225Q92RMY8XXHPCTT","demo-skill","A fixture skill for the skill environment tests. Use it for nothing else.","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Ftests\u002Fskillenv\u002Ffixtures\u002Fskills\u002Fdemo\u002Fdemo-skill\u002FSKILL.md",[],[125,126,127,128,129,34,130],"demo skill","demo","tests","fixture","fixture skill","environment",{"skillNo":132,"name":133,"nameZh":6,"description":134,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":135,"categories":136,"keywords":137,"publishedAt":38},"01M6DTP28JTWQK3HHXDNQV8BBV","fake-domains","Test fixture for the golden deployment in tests\u002Fentry. Load never; it has no script.","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Ftests\u002Fentry\u002Ffake_skills\u002Fspatial\u002Ffake-domains\u002FSKILL.md",[],[138,139,140,127,128,141,142],"domains","fake domains","deployment","never","test",{"skillNo":144,"name":145,"nameZh":6,"description":146,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":147,"categories":148,"keywords":149,"publishedAt":38},"01M6DTNZ4AMWKTME1T18K5C643","replace-me-skill","Load when copying this directory to bootstrap a new OmicsClaw skill. Skip when an existing skill already covers the request.","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Ftemplates\u002Fskill\u002FSKILL.md",[],[150,151,152,153,154,155,156,157,158],"me","replace me skill","template","directory","skill template","existing skill","new skill","bootstrap","scaffold",{"skillNo":160,"name":161,"nameZh":6,"description":162,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":163,"categories":164,"keywords":165,"publishedAt":38},"01M6DTNV63MTD0Q6YRC52F0B1Y","spatial-velocity","Load when estimating RNA velocity on a spatial AnnData with `layers[\"spliced\"]` + `layers[\"unspliced\"]` via scVelo (stochastic \u002F deterministic \u002F dynamical) or veloVI (deep generative). Skip when input lacks the spliced\u002Funspliced layers (must be quantified upstream by velocyto \u002F kb-python \u002F STARsolo); non-spatial scRNA velocity (use sc-velocity).","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fspatial\u002Fspatial-velocity\u002FSKILL.md",[],[166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,30,181,34,182,183],"velocity","spatial velocity","Spatial","scvelo","input","starsolo","time","deep","RNA","kb-python","via","velocyto","rna-velocity","velovi","dynamics","kb","python","deterministic",{"skillNo":185,"name":186,"nameZh":6,"description":187,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":188,"categories":189,"keywords":190,"publishedAt":38},"01M6DTNPMR227NAT8QFY620YDW","spatial-trajectory","Load when inferring pseudotime \u002F lineage trajectories on a preprocessed spatial AnnData via DPT (default — diffusion pseudotime), CellRank (terminal-state + fate-probability), or Palantir (waypoint branch probabilities). Skip when the data has spliced\u002Funspliced layers and you want velocity-driven dynamics (use spatial-velocity); non-spatial scRNA pseudotime (use sc-pseudotime).","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fspatial\u002Fspatial-trajectory\u002FSKILL.md",[],[168,191,192,193,194,195,196,197,176,198,199,200,201,202,166,203,34,204,205,37],"trajectory","spatial trajectory","state","terminal","lineage","diffusion","cellrank","palantir","dpt","pseudotime","probability","cell","default","branch","anndata",{"skillNo":207,"name":208,"nameZh":6,"description":209,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":210,"categories":211,"keywords":212,"publishedAt":38},"01M6DTNJEYFT33P84DGHDNXW95","spatial-statistics","Load when running spatial autocorrelation \u002F hotspot \u002F co-occurrence \u002F neighbourhood-enrichment \u002F Ripley K stats on a clustered spatial AnnData via squidpy. Skip when ranking spatially variable genes (use spatial-genes); tissue domain detection (use spatial-domains).","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fspatial\u002Fspatial-statistics\u002FSKILL.md",[],[213,214,168,176,215,216,217,218,219,220,138,221,222,223,224,34,205,225,226,227],"spatial statistics","statistics","nhood-enrichment","co-occurrence","ripley","geary","moran","neighbourhood","ranking","autocorrelation","local","domain","detection","enrichment","stats"]