[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DTGHSRXXY732TMV3500FDB":3,"skill-same:01M6DTGHSRXXY732TMV3500FDB":113},{"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":35,"linkOnly":36,"markdownContent":37,"markdownBody":38,"frontMatter":39,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":50,"install":51,"resources":64},"01M6DTGHSRXXY732TMV3500FDB","sc-de",null,"Load when finding marker genes per cluster or comparing condition expression in single-cell RNA-seq. Skip when the data is bulk (use bulkrna-de); spatial (use spatial-de); cluster-only markers without conditions (use sc-markers).","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-de\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"sc de","de","single-cell","markers","singlecell","wilcoxon","DESeq2","bulkrna","differential-expression","data","expression","cell","RNA","Spatial","only","use","analysis","2026-11-10 10:12:30",false,"---\nname: sc-de\ndescription: Load when finding marker genes per cluster or comparing condition expression in single-cell\n  RNA-seq. Skip when the data is bulk (use bulkrna-de); spatial (use spatial-de); cluster-only markers\n  without conditions (use sc-markers).\ntrigger: differential expression, marker genes, de analysis, wilcoxon, pseudo-bulk\ntags:\n- singlecell\n- differential-expression\n- markers\n- wilcoxon\n- deseq2\n---\n\n# sc-de\n\n## When to use\n\nThe user has a preprocessed scRNA-seq AnnData and wants to know either\n(a) which genes mark each cluster (Wilcoxon \u002F t-test \u002F logreg ranking) or\n(b) which genes change between conditions in a replicate-aware way\n(`pseudobulk_de`, DESeq2 in R).  Mixing normalized expression and raw\ncounts across these paths is the most common silent-wrong-answer failure\nmode, so each path reads the matrix it needs.\n\n## Use from a step\n\n```python\nde = load_skill(\"sc-de\")\nadata = read_input(\"results\u002F04_annotation\u002Fintermediate\u002Fadata_annotated.h5ad\")\ntable = de.rank_genes(adata, groupby=\"cell_type\", method=\"wilcoxon\")\nwrite_output(table, \"tables\u002Fde_full.csv\")\nwrite_output(de.top_genes(table, n_top=10), \"tables\u002Fmarkers_top.csv\")\nwrite_output(de.volcano_figure(table, group=\"B cell\"), \"figures\u002Fvolcano_b_cell.png\")\n```\n\nA complete step that runs on demo data: `examples\u002Fexample_step.py`.\n\n## API\n\n\u003C!-- api:begin generated from _api.py; regenerate with run.py api \u003Cskill dir> --write -->\n\n### `rank_genes(adata, *, groupby: str='leiden', method: str='wilcoxon', group1: str | None=None, group2: str | None=None, logreg_solver: str='lbfgs') -> pd.DataFrame`\n\nRank genes per group of cells: every group against the rest, or ``group1`` against ``group2``.\n\n``wilcoxon``, ``t-test`` and ``logreg`` run scanpy's ``rank_genes_groups`` on\n``X`` (``use_raw=False``, with the fraction of expressing cells) and also leave\nits result in ``uns['rank_genes_groups']``; ``mast`` runs the MAST hurdle model\nin R. Cells are the units here, so p-values overstate the evidence for a\ndifference between conditions; use :func:`pseudobulk_de` for that.\n\n:param groupby: The ``obs`` column defining the groups. Default ``\"leiden\"``; when it\n    is missing and ``louvain`` exists, ``louvain`` is used and recorded.\n:param method: ``\"wilcoxon\"`` (default; scanpy's recommended test), ``\"t-test\"``,\n    ``\"logreg\"`` or ``\"mast\"``.\n:param group1: Compare only this group ...\n:param group2: ... against this one. Default: each group against the rest.\n:param logreg_solver: The scikit-learn solver for ``logreg``. Default ``\"lbfgs\"``.\n:returns: One row per gene and group. scanpy methods: ``names``, ``scores``,\n    ``logfoldchanges``, ``pvals``, ``pvals_adj``, ``pct_nz_group``,\n    ``pct_nz_reference``, ``group``; ``mast``: ``gene``, ``group``, ``pvalue``,\n    ``padj`` and effect columns.\n:raises ValueError: an unknown method, or the group column is missing.\n:raises RuntimeError: ``mast`` and R or MAST is missing.\n\n### `pseudobulk_de(adata, *, condition_key: str, group1: str, group2: str, sample_key: str='sample_id', celltype_key: str='cell_type', min_cells: int=10, min_counts: int=1000) -> pd.DataFrame`\n\nDESeq2 on pseudobulk counts: one test of ``group1`` against ``group2`` per cell type, run in R.\n\nCounts are summed per sample and cell type from ``layers['counts']``, ``raw``\nor a count-like ``X``; bins below the thresholds are dropped. Samples, not\ncells, are the units, so this is the test for condition effects.\n\n:param condition_key: The ``obs`` column holding the condition.\n:param group1: The condition of interest (numerator of the fold change).\n:param group2: The reference condition.\n:param sample_key: The ``obs`` column naming biological replicates. Default ``\"sample_id\"``.\n:param celltype_key: The ``obs`` column with cell types. Default ``\"cell_type\"``.\n:param min_cells: Minimum cells per sample and cell type bin. Default 10.\n:param min_counts: Minimum total counts per bin. Default 1000.\n:returns: Columns ``gene``, ``log2FoldChange``, ``pvalue``, ``padj`` (and DESeq2's\n    others) plus ``cell_type``.\n:raises ValueError: a missing column, missing groups, or no count-like matrix.\n:raises RuntimeError: R or DESeq2 is missing, or no bin passes the thresholds.\n\n### `run_info(adata, *, keep: bool=True) -> dict`\n\nWhat the last :func:`rank_genes` or :func:`pseudobulk_de` call recorded under ``summary``.\n\n``summary`` has ``method``, ``groupby`` (the column actually used), ``n_groups``,\n``n_genes_tested`` and ``expression_source``.\n\n:param keep: Leave the record in ``adata.uns``; ``False`` removes it.\n:returns: The record, or an empty dict when neither has run on *adata*.\n\n### `top_genes(table: pd.DataFrame, *, n_top: int=10) -> pd.DataFrame`\n\nThe first *n_top* genes of each group.\n\nA scanpy table is already ranked within each group. A table with ``padj``\n(MAST) is sorted by ``padj`` then ``pvalue`` first.\n\n:param table: What :func:`rank_genes` returned.\n:param n_top: Genes per group. Default 10, the CLI's default.\n:returns: The selected rows, in the table's columns.\n\n### `volcano_figure(table: pd.DataFrame, *, padj_threshold: float=0.05, log2fc_threshold: float=1.0, group: str | None=None)`\n\nA volcano plot of a DE table, significant genes coloured.\n\n:param table: What :func:`rank_genes` or :func:`pseudobulk_de` returned.\n:param padj_threshold: Adjusted p-value cut. Default 0.05.\n:param log2fc_threshold: Absolute log2 fold-change cut. Default 1.0.\n:param group: Plot only this group (or cell type). Default: all rows.\n:returns: A matplotlib Figure.\n\n\u003C!-- api:end -->\n\n## Methods and parameters\n\n| Question | Function | Units | Needs |\n|---|---|---|---|\n| Which genes mark each cluster or cell type | `rank_genes(method=\"wilcoxon\")` (default) | cells | normalised `X` |\n| Same, other tests | `rank_genes(method=\"t-test\" \u002F \"logreg\")` | cells | normalised `X` |\n| Same, hurdle model | `rank_genes(method=\"mast\")` | cells | log-normalised `X`; R with MAST |\n| Which genes change between conditions | `pseudobulk_de(...)` | samples | raw counts; a replicate column; R with DESeq2 |\n\nDefaults and their sources: `method=\"wilcoxon\"` is scanpy's recommended\nmarker test; `n_top=10` and the volcano cuts (`padj_threshold=0.05`,\n`log2fc_threshold=1.0`) are the CLI's defaults; `min_cells=10` and\n`min_counts=1000` per pseudobulk bin are the CLI's defaults, a common\nchoice for 10x data. A comparison between conditions with biological\nreplicates is a pseudobulk question; ask the user for the replicate column\nwhen it is not obvious.\n\n## Gotchas\n\n- **Cell-level tests are not replicate-aware.** Wilcoxon, t-test, logreg and MAST treat each cell as independent, which inflates false positives for treated-versus-control comparisons. Use `pseudobulk_de` whenever there are biological replicates and the question is about the condition.\n- **`pseudobulk_de` needs raw counts.** It takes `layers[\"counts\"]`, then `raw`, then `X`, each only if it looks count-like; check `run_info(adata)[\"summary\"][\"expression_source\"]` after the run: `layers.counts` or `adata.raw`, not `adata.X`.\n- **`pseudobulk_de` needs `group1` and `group2`.** The cell-level tests compare each group with the rest when they are absent.\n- **Small bins drop whole cell types.** Sample-by-cell-type bins under `min_cells` cells are skipped without a note; check the per-sample cell counts before reading \"no DEGs\" as a biological null.\n- **`sample_key` is the statistical design.** It must name biological replicates with at least two per condition; a non-replicate column gives nonsense and is not caught.\n- **`groupby=\"leiden\"` falls back to `louvain`** when only `louvain` exists; `run_info(adata)[\"summary\"][\"groupby\"]` says which column was used.\n\n## Inputs and outputs\n\n- `rank_genes` reads `X` and `obs[groupby]`, writes `uns['rank_genes_groups']` (scanpy methods) and returns the full table. `pseudobulk_de` reads the count matrix and `obs[condition_key]`, `obs[sample_key]`, `obs[celltype_key]`, and returns one table for all cell types.\n- `top_genes` returns a DataFrame; `volcano_figure` returns a matplotlib Figure.\n\n## CLI\n\n`sc_de.py` runs the same functions outside a project and writes a report,\nfigures, tables and `processed.h5ad`: `python \u003Cskill directory>\u002Fsc_de.py --help`.\n`--demo` ranks PBMC3k's louvain clusters.\n\n## See also\n\n- `references\u002Fparameters.md` — every CLI flag and per-method tuning hint\n- `references\u002Fmethodology.md` — the DE paths, scope boundary, input expectations, workflow\n- `references\u002Foutput_contract.md` — the CLI's output directory layout + visualization contract\n- `references\u002Fr_visualization.md` — five R-enhanced renderers\n- Adjacent skills: `sc-clustering` (upstream cluster discovery), `sc-cell-annotation` (upstream cell type labels for `celltype_key`), `sc-markers` (lighter cluster-marker-only path), `sc-enrichment` (downstream pathway enrichment of DEG lists), `bulkrna-de` \u002F `spatial-de` (sibling DE skills for the other two data modalities)\n\n## Dependencies\n\nPython packages this skill's script needs. They are not installed for you — check before a long run.\n\n`adjustText`, `anndata`, `matplotlib`, `numpy`, `pandas`, `pydeseq2`, `scanpy`, `scipy`, `seaborn`\n","# sc-de\n\n## When to use\n\nThe user has a preprocessed scRNA-seq AnnData and wants to know either\n(a) which genes mark each cluster (Wilcoxon \u002F t-test \u002F logreg ranking) or\n(b) which genes change between conditions in a replicate-aware way\n(`pseudobulk_de`, DESeq2 in R).  Mixing normalized expression and raw\ncounts across these paths is the most common silent-wrong-answer failure\nmode, so each path reads the matrix it needs.\n\n## Use from a step\n\n```python\nde = load_skill(\"sc-de\")\nadata = read_input(\"results\u002F04_annotation\u002Fintermediate\u002Fadata_annotated.h5ad\")\ntable = de.rank_genes(adata, groupby=\"cell_type\", method=\"wilcoxon\")\nwrite_output(table, \"tables\u002Fde_full.csv\")\nwrite_output(de.top_genes(table, n_top=10), \"tables\u002Fmarkers_top.csv\")\nwrite_output(de.volcano_figure(table, group=\"B cell\"), \"figures\u002Fvolcano_b_cell.png\")\n```\n\nA complete step that runs on demo data: `examples\u002Fexample_step.py`.\n\n## API\n\n\u003C!-- api:begin generated from _api.py; regenerate with run.py api \u003Cskill dir> --write -->\n\n### `rank_genes(adata, *, groupby: str='leiden', method: str='wilcoxon', group1: str | None=None, group2: str | None=None, logreg_solver: str='lbfgs') -> pd.DataFrame`\n\nRank genes per group of cells: every group against the rest, or ``group1`` against ``group2``.\n\n``wilcoxon``, ``t-test`` and ``logreg`` run scanpy's ``rank_genes_groups`` on\n``X`` (``use_raw=False``, with the fraction of expressing cells) and also leave\nits result in ``uns['rank_genes_groups']``; ``mast`` runs the MAST hurdle model\nin R. Cells are the units here, so p-values overstate the evidence for a\ndifference between conditions; use :func:`pseudobulk_de` for that.\n\n:param groupby: The ``obs`` column defining the groups. Default ``\"leiden\"``; when it\n    is missing and ``louvain`` exists, ``louvain`` is used and recorded.\n:param method: ``\"wilcoxon\"`` (default; scanpy's recommended test), ``\"t-test\"``,\n    ``\"logreg\"`` or ``\"mast\"``.\n:param group1: Compare only this group ...\n:param group2: ... against this one. Default: each group against the rest.\n:param logreg_solver: The scikit-learn solver for ``logreg``. Default ``\"lbfgs\"``.\n:returns: One row per gene and group. scanpy methods: ``names``, ``scores``,\n    ``logfoldchanges``, ``pvals``, ``pvals_adj``, ``pct_nz_group``,\n    ``pct_nz_reference``, ``group``; ``mast``: ``gene``, ``group``, ``pvalue``,\n    ``padj`` and effect columns.\n:raises ValueError: an unknown method, or the group column is missing.\n:raises RuntimeError: ``mast`` and R or MAST is missing.\n\n### `pseudobulk_de(adata, *, condition_key: str, group1: str, group2: str, sample_key: str='sample_id', celltype_key: str='cell_type', min_cells: int=10, min_counts: int=1000) -> pd.DataFrame`\n\nDESeq2 on pseudobulk counts: one test of ``group1`` against ``group2`` per cell type, run in R.\n\nCounts are summed per sample and cell type from ``layers['counts']``, ``raw``\nor a count-like ``X``; bins below the thresholds are dropped. Samples, not\ncells, are the units, so this is the test for condition effects.\n\n:param condition_key: The ``obs`` column holding the condition.\n:param group1: The condition of interest (numerator of the fold change).\n:param group2: The reference condition.\n:param sample_key: The ``obs`` column naming biological replicates. Default ``\"sample_id\"``.\n:param celltype_key: The ``obs`` column with cell types. Default ``\"cell_type\"``.\n:param min_cells: Minimum cells per sample and cell type bin. Default 10.\n:param min_counts: Minimum total counts per bin. Default 1000.\n:returns: Columns ``gene``, ``log2FoldChange``, ``pvalue``, ``padj`` (and DESeq2's\n    others) plus ``cell_type``.\n:raises ValueError: a missing column, missing groups, or no count-like matrix.\n:raises RuntimeError: R or DESeq2 is missing, or no bin passes the thresholds.\n\n### `run_info(adata, *, keep: bool=True) -> dict`\n\nWhat the last :func:`rank_genes` or :func:`pseudobulk_de` call recorded under ``summary``.\n\n``summary`` has ``method``, ``groupby`` (the column actually used), ``n_groups``,\n``n_genes_tested`` and ``expression_source``.\n\n:param keep: Leave the record in ``adata.uns``; ``False`` removes it.\n:returns: The record, or an empty dict when neither has run on *adata*.\n\n### `top_genes(table: pd.DataFrame, *, n_top: int=10) -> pd.DataFrame`\n\nThe first *n_top* genes of each group.\n\nA scanpy table is already ranked within each group. A table with ``padj``\n(MAST) is sorted by ``padj`` then ``pvalue`` first.\n\n:param table: What :func:`rank_genes` returned.\n:param n_top: Genes per group. Default 10, the CLI's default.\n:returns: The selected rows, in the table's columns.\n\n### `volcano_figure(table: pd.DataFrame, *, padj_threshold: float=0.05, log2fc_threshold: float=1.0, group: str | None=None)`\n\nA volcano plot of a DE table, significant genes coloured.\n\n:param table: What :func:`rank_genes` or :func:`pseudobulk_de` returned.\n:param padj_threshold: Adjusted p-value cut. Default 0.05.\n:param log2fc_threshold: Absolute log2 fold-change cut. Default 1.0.\n:param group: Plot only this group (or cell type). Default: all rows.\n:returns: A matplotlib Figure.\n\n\u003C!-- api:end -->\n\n## Methods and parameters\n\n| Question | Function | Units | Needs |\n|---|---|---|---|\n| Which genes mark each cluster or cell type | `rank_genes(method=\"wilcoxon\")` (default) | cells | normalised `X` |\n| Same, other tests | `rank_genes(method=\"t-test\" \u002F \"logreg\")` | cells | normalised `X` |\n| Same, hurdle model | `rank_genes(method=\"mast\")` | cells | log-normalised `X`; R with MAST |\n| Which genes change between conditions | `pseudobulk_de(...)` | samples | raw counts; a replicate column; R with DESeq2 |\n\nDefaults and their sources: `method=\"wilcoxon\"` is scanpy's recommended\nmarker test; `n_top=10` and the volcano cuts (`padj_threshold=0.05`,\n`log2fc_threshold=1.0`) are the CLI's defaults; `min_cells=10` and\n`min_counts=1000` per pseudobulk bin are the CLI's defaults, a common\nchoice for 10x data. A comparison between conditions with biological\nreplicates is a pseudobulk question; ask the user for the replicate column\nwhen it is not obvious.\n\n## Gotchas\n\n- **Cell-level tests are not replicate-aware.** Wilcoxon, t-test, logreg and MAST treat each cell as independent, which inflates false positives for treated-versus-control comparisons. Use `pseudobulk_de` whenever there are biological replicates and the question is about the condition.\n- **`pseudobulk_de` needs raw counts.** It takes `layers[\"counts\"]`, then `raw`, then `X`, each only if it looks count-like; check `run_info(adata)[\"summary\"][\"expression_source\"]` after the run: `layers.counts` or `adata.raw`, not `adata.X`.\n- **`pseudobulk_de` needs `group1` and `group2`.** The cell-level tests compare each group with the rest when they are absent.\n- **Small bins drop whole cell types.** Sample-by-cell-type bins under `min_cells` cells are skipped without a note; check the per-sample cell counts before reading \"no DEGs\" as a biological null.\n- **`sample_key` is the statistical design.** It must name biological replicates with at least two per condition; a non-replicate column gives nonsense and is not caught.\n- **`groupby=\"leiden\"` falls back to `louvain`** when only `louvain` exists; `run_info(adata)[\"summary\"][\"groupby\"]` says which column was used.\n\n## Inputs and outputs\n\n- `rank_genes` reads `X` and `obs[groupby]`, writes `uns['rank_genes_groups']` (scanpy methods) and returns the full table. `pseudobulk_de` reads the count matrix and `obs[condition_key]`, `obs[sample_key]`, `obs[celltype_key]`, and returns one table for all cell types.\n- `top_genes` returns a DataFrame; `volcano_figure` returns a matplotlib Figure.\n\n## CLI\n\n`sc_de.py` runs the same functions outside a project and writes a report,\nfigures, tables and `processed.h5ad`: `python \u003Cskill directory>\u002Fsc_de.py --help`.\n`--demo` ranks PBMC3k's louvain clusters.\n\n## See also\n\n- `references\u002Fparameters.md` — every CLI flag and per-method tuning hint\n- `references\u002Fmethodology.md` — the DE paths, scope boundary, input expectations, workflow\n- `references\u002Foutput_contract.md` — the CLI's output directory layout + visualization contract\n- `references\u002Fr_visualization.md` — five R-enhanced renderers\n- Adjacent skills: `sc-clustering` (upstream cluster discovery), `sc-cell-annotation` (upstream cell type labels for `celltype_key`), `sc-markers` (lighter cluster-marker-only path), `sc-enrichment` (downstream pathway enrichment of DEG lists), `bulkrna-de` \u002F `spatial-de` (sibling DE skills for the other two data modalities)\n\n## Dependencies\n\nPython packages this skill's script needs. They are not installed for you — check before a long run.\n\n`adjustText`, `anndata`, `matplotlib`, `numpy`, `pandas`, `pydeseq2`, `scanpy`, `scipy`, `seaborn`\n",{"name":5,"tags":40,"trigger":42,"description":7},[22,26,21,23,41],"deseq2","differential expression, marker genes, de analysis, wilcoxon, pseudo-bulk","main","90a3bec3e6549bc33dddbf67e4b23869736c49d1","skills\u002Fsinglecell\u002Fscrna\u002Fsc-de",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":52,"prompt":62,"zipAvailable":63},[53,56,59],{"tool":54,"command":55},"npx","npx skills add TianGzlab\u002FOmicsClaw --skill sc-de",{"tool":57,"command":58},"bunx","bunx skills add TianGzlab\u002FOmicsClaw --skill sc-de",{"tool":60,"command":61},"pnpm","pnpm dlx skills add TianGzlab\u002FOmicsClaw --skill sc-de","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-de\u002FSKILL.md",true,[65,71,77,81,85,89,93,97,101,105,109],{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"_api.py","SCRIPT","脚本",14656,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-de\u002F_api.py",{"path":72,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":75,"sourceHtmlUrl":76},"bmad-skill-manifest.yaml","REFERENCE","参考文档",1036,"https:\u002F\u002Fgithub.com\u002Ftranthanhcntt\u002Fskills-agent\u002Fblob\u002Fmain\u002Fbmad-agent-analyst\u002Fbmad-skill-manifest.yaml",{"path":78,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":79,"sourceHtmlUrl":80},"examples\u002Fexample_step.py",821,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-de\u002Fexamples\u002Fexample_step.py",{"path":82,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fmethodology.md",4742,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-de\u002Freferences\u002Fmethodology.md",{"path":86,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Foutput_contract.md",3023,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-de\u002Freferences\u002Foutput_contract.md",{"path":90,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fparameters.md",3001,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-de\u002Freferences\u002Fparameters.md",{"path":94,"resourceType":73,"resourceTypeDesc":74,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fr_visualization.md",1083,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-de\u002Freferences\u002Fr_visualization.md",{"path":98,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":99,"sourceHtmlUrl":100},"sc_de.py",29714,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-de\u002Fsc_de.py",{"path":102,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":103,"sourceHtmlUrl":104},"tests\u002F__init__.py",0,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-de\u002Ftests\u002F__init__.py",{"path":106,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":107,"sourceHtmlUrl":108},"tests\u002Ftest_mast_exchange.py",2378,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-de\u002Ftests\u002Ftest_mast_exchange.py",{"path":110,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":111,"sourceHtmlUrl":112},"tests\u002Ftest_sc_de.py",2876,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-de\u002Ftests\u002Ftest_sc_de.py",[114,127,139,155,179,200],{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":35},"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",[],[121,122,123,124,125,33,126],"demo skill","demo","tests","fixture","fixture skill","environment",{"skillNo":128,"name":129,"nameZh":6,"description":130,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":131,"categories":132,"keywords":133,"publishedAt":35},"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",[],[134,135,136,123,124,137,138],"domains","fake domains","deployment","never","test",{"skillNo":140,"name":141,"nameZh":6,"description":142,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":143,"categories":144,"keywords":145,"publishedAt":35},"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",[],[146,147,148,149,150,151,152,153,154],"me","replace me skill","template","directory","skill template","existing skill","new skill","bootstrap","scaffold",{"skillNo":156,"name":157,"nameZh":6,"description":158,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":159,"categories":160,"keywords":161,"publishedAt":35},"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",[],[162,163,31,164,165,166,167,168,30,169,170,171,172,173,174,175,176,33,177,178],"velocity","spatial velocity","scvelo","input","starsolo","time","deep","kb-python","via","velocyto","rna-velocity","velovi","dynamics","upstream","kb","python","deterministic",{"skillNo":180,"name":181,"nameZh":6,"description":182,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":183,"categories":184,"keywords":185,"publishedAt":35},"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",[],[31,186,187,188,189,190,191,192,170,193,194,195,196,29,162,197,33,198,199,27],"trajectory","spatial trajectory","state","terminal","lineage","diffusion","cellrank","palantir","dpt","pseudotime","probability","default","branch","anndata",{"skillNo":201,"name":202,"nameZh":6,"description":203,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":204,"categories":205,"keywords":206,"publishedAt":35},"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",[],[207,208,31,170,209,210,211,212,213,214,134,215,216,217,218,33,199,219,220,221],"spatial statistics","statistics","nhood-enrichment","co-occurrence","ripley","geary","moran","neighbourhood","ranking","autocorrelation","local","domain","detection","enrichment","stats"]