[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DTJH8ZM2N154QVTGKM0J6T":3,"skill-same:01M6DTJH8ZM2N154QVTGKM0J6T":119},{"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},"01M6DTJH8ZM2N154QVTGKM0J6T","sc-pathway-scoring",null,"Load when computing per-cell pathway \u002F gene-set scores on a normalised scRNA AnnData via AUCell (R or Python) or Scanpy score_genes. Skip when running condition-vs-control bulk-style enrichment on top of a DE table (use sc-enrichment); de-novo gene-program discovery (use sc-gene-programs).","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-pathway-scoring\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"sc pathway scoring","scoring","pathway","style","gene-sets","scanpy-score-genes","pathway-scoring","aucell","gene-programs","decoupler","de","python","module","control","use","table","discovery","scanpy","SET","enrichment","2026-11-10 10:12:30",false,"---\nname: sc-pathway-scoring\ndescription: Load when computing per-cell pathway \u002F gene-set scores on a normalised scRNA AnnData via\n  AUCell (R or Python) or Scanpy score_genes. Skip when running condition-vs-control bulk-style enrichment\n  on top of a DE table (use sc-enrichment); de-novo gene-program discovery (use sc-gene-programs).\ntrigger: pathway score, pathway scoring, gene set score, module score, pathway activity, signature score\ntags:\n- singlecell\n- scrna\n- pathway-scoring\n- aucell\n- scanpy-score-genes\n- gene-sets\n- decoupler\n---\n\n# sc-pathway-scoring\n\n## When to use\n\nThe user has a normalised scRNA AnnData and a gene-set library (GMT\nfile or one of the built-in DB aliases: `hallmark`, `kegg`, `reactome`,\n`go_bp`, ...) and wants per-cell scores quantifying how active each\ngene set is. Three methods:\n\n- `aucell_r` (default) — R-backed AUCell via `decoupler-py`-style\n  bridge. Best statistical foundation; requires R env.\n- `aucell_py` — Python AUCell (`--aucell-py-auc-threshold`). Pure\n  Python.\n- `score_genes_py` — Scanpy `tl.score_genes` per gene set. Lightest\n  and fastest.\n\nOutput: `tables\u002Fenrichment_scores.csv` (cells × gene_sets), plus\ngroup-mean \u002F group-high-fraction tables when `--groupby` is provided.\n\nFor *bulk-style* condition-vs-control GSEA \u002F ORA on a DE table use\n`sc-enrichment`. For de-novo gene-program discovery use\n`sc-gene-programs`.\n\n## Use in an analysis step\n\nUse `load_skill` from the notebook SDK; write returned objects with\n`write_output`. This runnable example is also in `examples\u002Fexample_step.py`.\nThe CLI remains available for standalone reports and galleries.\n\n```python\n# Score PBMC lineage gene sets with the Python AUCell implementation.\n# Reads pbmc3k_processed and uses its log-normalized raw snapshot.\n# Calls sc-pathway-scoring: score_gene_sets, group_scores, score_distribution_figure.\n\nfrom skills._sdk.notebook import load_demo, load_skill, write_output\n\npathways = load_skill('sc-pathway-scoring')\nadata = load_demo('pbmc3k_processed').raw.to_adata()\ngene_sets = {\n    'B_cell': ['MS4A1', 'CD79A', 'CD79B', 'CD74', 'HLA-DRA'],\n    'T_cell': ['CD3D', 'CD3E', 'CD3G', 'TRAC', 'IL7R'],\n    'Myeloid': ['LYZ', 'S100A8', 'S100A9', 'FCN1', 'CTSS'],\n}\n\nscores = pathways.score_gene_sets(adata, gene_sets, method='aucell_py')\nwrite_output(scores, 'tables\u002Fpathway_scores.csv')\nwrite_output(pathways.group_scores(adata, scores, groupby='louvain'), 'tables\u002Fgroup_scores.csv')\nwrite_output(pathways.score_distribution_figure(scores), 'figures\u002Fscore_distribution.png')\n\nassert scores.index.equals(adata.obs_names)\nassert set(scores.columns) == set(gene_sets)\nassert scores.max().max() > 0\nassert scores.min().min() >= 0\n```\n\n## Inputs & Outputs\n\nInput is an AnnData and gene sets keyed by name. The CLI reads H5AD plus a\nGMT file or an Enrichr library. Python scoring returns a cell-by-set\nDataFrame; `attach_scores` returns a copy with `obs[\"enrich__...\"]` columns.\n\nThe CLI writes `processed.h5ad`, `report.md`, `result.json`, and\n`tables\u002Fenrichment_scores.csv`, `gene_set_overlap.csv`, `top_pathways.csv`.\nGrouped runs also write `group_mean_scores.csv` and\n`group_high_fraction.csv`. Plot source tables live under `figure_data\u002F`,\nnot `tables\u002F`. R exchange matrices and AUCell CSVs are temporary.\n\n## Flow\n\n1. Load AnnData (`--input`) or build a demo.\n2. Load gene sets: parse `--gene-sets` GMT, OR fetch via `--gene-set-db \u003Calias>` and write a resolved GMT.\n3. Validate: at least one gene-set member overlaps the input features (`feature_label_source` chosen from `var_names` \u002F `var[\"gene_symbol\"]` \u002F etc.).\n4. Run preflight; resolve `--groupby` (auto-pick from `leiden` \u002F `louvain` \u002F `cell_type` if unset).\n5. Dispatch to method:\n   - `aucell_r`: shell out to bundled R script via `RScriptRunner`.\n   - `aucell_py`: AUCell-Python with `--aucell-py-auc-threshold`.\n   - `score_genes_py`: Scanpy `tl.score_genes` per gene set.\n6. Compute group-aware aggregates if `--groupby` is set.\n7. Save tables, figures, `processed.h5ad`, `report.md`, `result.json`.\n\n## Gotchas\n\n- `run_info(scores)[\"skipped_gene_sets\"]` lists sets with no matching features. Inspect `tables\u002Fgene_set_overlap.csv` before interpreting scores; all-unmatched Python input raises.\n- `score_gene_sets(..., method=\"score_genes_py\")` requires normalized X. AUCell ranks expression and can also use counts.\n- `load_gene_sets` downloads named libraries through gseapy. Local GMT\u002FJSON avoids network access. This skill's mouse `kegg` alias is `KEGG_2021_Mouse`, intentionally separate from sc-enrichment's aliases.\n- `aucell_r` needs AUCell and GSEABase. Its temporary result must contain a `Cell` column; otherwise the API raises instead of misaligning rows.\n- API scoring uses seed 42 by default. The CLI preserves its historical `score_genes_py` seed 0; its AUCell seed defaults to 42. Set `random_state=0` for API\u002FCLI score_genes comparisons.\n- `processed.h5ad` adds an `enrich__` obs column per gene set. `attach_scores` copies its input; `score_gene_sets` leaves it unchanged.\n- CLI `--demo` slices the first 60 feature names into four arbitrary sets. They exercise the pipeline, not biological pathways. The step below uses named PBMC lineage genes.\n\n## Key CLI\n\n```bash\n# Demo (built-in gene sets)\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Fsc_pathway_scoring.py --demo --output \u002Ftmp\u002Fsc_pw_demo\n\n# AUCell-R with MSigDB Hallmark, grouped by cell type\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Fsc_pathway_scoring.py \\\n  --input clustered.h5ad --output results\u002F \\\n  --gene-set-db hallmark --groupby cell_type\n\n# AUCell-Python (no R needed) with custom GMT\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Fsc_pathway_scoring.py \\\n  --input clustered.h5ad --output results\u002F \\\n  --method aucell_py --gene-sets pathways.gmt --groupby leiden\n\n# Scanpy score_genes for fast prototyping\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Fsc_pathway_scoring.py \\\n  --input clustered.h5ad --output results\u002F \\\n  --method score_genes_py --gene-sets pathways.gmt\n```\n\n## See also\n\n- `references\u002Fparameters.md` — every CLI flag, library aliases\n- `references\u002Fmethodology.md` — AUCell vs score_genes; gene-symbol expectations\n- `references\u002Foutput_contract.md` — `enrichment_scores.csv` schema; per-method differences\n- Adjacent skills: `sc-clustering` \u002F `sc-cell-annotation` (upstream — produce `--groupby` column for group-aware aggregates), `sc-enrichment` (parallel — bulk-style GSEA\u002FORA on DE tables, NOT per-cell scoring), `sc-gene-programs` (parallel — de-novo factorisation, NOT supervised scoring against curated sets), `sc-grn` (parallel — TF-target regulons; AUCell is shared underlying tech)\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`, `gseapy`, `matplotlib`, `numpy`, `pandas`, `scanpy`, `scipy`, `seaborn`\n\n## API\n\n\u003C!-- api:begin generated from _api.py; regenerate with run.py api \u003Cskill dir> --write -->\n\n### `score_gene_sets(adata, gene_sets, *, method: str='aucell_r', auc_max_rank: int | None=None, auc_threshold: float=0.05, ctrl_size: int=50, n_bins: int=25, random_state: int=42) -> pd.DataFrame`\n\nReturn cell-by-gene-set scores without changing adata.\n\naucell_py ranks X, breaking ties with random_state; auc_threshold is the\nfraction of ranked genes used. score_genes_py requires normalized X and\nuses Scanpy control genes. aucell_r requires AUCell\u002FGSEABase and uses\nnormalized X or an aligned raw matrix. R exchange files are temporary.\nGene sets with no matched features are skipped; all-unmatched input fails.\nAPI seeds default to 42. The historical score_genes CLI uses seed 0.\n\n### `load_gene_sets(source, *, species: str='human') -> dict[str, list[str]]`\n\nRead a GMT or JSON file, or download an Enrichr library.\n\nAliases belong to this skill: mouse KEGG resolves to KEGG_2021_Mouse.\nNamed libraries require gseapy and network access; local files do not.\n\n### `attach_scores(adata, scores: pd.DataFrame)`\n\nReturn a copy with enrich__ columns and the scoring run record in uns.\n\n### `gene_set_overlap(adata, gene_sets) -> pd.DataFrame`\n\nReturn matched feature counts and identifiers for every requested gene set.\n\n### `group_scores(adata, scores: pd.DataFrame, *, groupby: str) -> pd.DataFrame`\n\nReturn mean scores per obs group, retaining every scored gene set.\n\n### `top_pathways(scores: pd.DataFrame, *, n: int=20) -> pd.DataFrame`\n\nRank gene sets by mean absolute cell score, breaking ties by name.\n\n### `score_summary(adata, scores_df: pd.DataFrame, *, groupby: str | None, top_pathways: int) -> dict[str, object]`\n\nReturn top pathways, grouped means, high fractions and long-form scores.\n\n### `score_distribution_figure(scores: pd.DataFrame)`\n\nReturn a boxplot of per-cell scores without writing files.\n\n### `run_info(result, *, keep: bool=True) -> dict`\n\nReturn scoring provenance; keep=False removes the AnnData or table run record.\n\n\u003C!-- api:end -->\n","# sc-pathway-scoring\n\n## When to use\n\nThe user has a normalised scRNA AnnData and a gene-set library (GMT\nfile or one of the built-in DB aliases: `hallmark`, `kegg`, `reactome`,\n`go_bp`, ...) and wants per-cell scores quantifying how active each\ngene set is. Three methods:\n\n- `aucell_r` (default) — R-backed AUCell via `decoupler-py`-style\n  bridge. Best statistical foundation; requires R env.\n- `aucell_py` — Python AUCell (`--aucell-py-auc-threshold`). Pure\n  Python.\n- `score_genes_py` — Scanpy `tl.score_genes` per gene set. Lightest\n  and fastest.\n\nOutput: `tables\u002Fenrichment_scores.csv` (cells × gene_sets), plus\ngroup-mean \u002F group-high-fraction tables when `--groupby` is provided.\n\nFor *bulk-style* condition-vs-control GSEA \u002F ORA on a DE table use\n`sc-enrichment`. For de-novo gene-program discovery use\n`sc-gene-programs`.\n\n## Use in an analysis step\n\nUse `load_skill` from the notebook SDK; write returned objects with\n`write_output`. This runnable example is also in `examples\u002Fexample_step.py`.\nThe CLI remains available for standalone reports and galleries.\n\n```python\n# Score PBMC lineage gene sets with the Python AUCell implementation.\n# Reads pbmc3k_processed and uses its log-normalized raw snapshot.\n# Calls sc-pathway-scoring: score_gene_sets, group_scores, score_distribution_figure.\n\nfrom skills._sdk.notebook import load_demo, load_skill, write_output\n\npathways = load_skill('sc-pathway-scoring')\nadata = load_demo('pbmc3k_processed').raw.to_adata()\ngene_sets = {\n    'B_cell': ['MS4A1', 'CD79A', 'CD79B', 'CD74', 'HLA-DRA'],\n    'T_cell': ['CD3D', 'CD3E', 'CD3G', 'TRAC', 'IL7R'],\n    'Myeloid': ['LYZ', 'S100A8', 'S100A9', 'FCN1', 'CTSS'],\n}\n\nscores = pathways.score_gene_sets(adata, gene_sets, method='aucell_py')\nwrite_output(scores, 'tables\u002Fpathway_scores.csv')\nwrite_output(pathways.group_scores(adata, scores, groupby='louvain'), 'tables\u002Fgroup_scores.csv')\nwrite_output(pathways.score_distribution_figure(scores), 'figures\u002Fscore_distribution.png')\n\nassert scores.index.equals(adata.obs_names)\nassert set(scores.columns) == set(gene_sets)\nassert scores.max().max() > 0\nassert scores.min().min() >= 0\n```\n\n## Inputs & Outputs\n\nInput is an AnnData and gene sets keyed by name. The CLI reads H5AD plus a\nGMT file or an Enrichr library. Python scoring returns a cell-by-set\nDataFrame; `attach_scores` returns a copy with `obs[\"enrich__...\"]` columns.\n\nThe CLI writes `processed.h5ad`, `report.md`, `result.json`, and\n`tables\u002Fenrichment_scores.csv`, `gene_set_overlap.csv`, `top_pathways.csv`.\nGrouped runs also write `group_mean_scores.csv` and\n`group_high_fraction.csv`. Plot source tables live under `figure_data\u002F`,\nnot `tables\u002F`. R exchange matrices and AUCell CSVs are temporary.\n\n## Flow\n\n1. Load AnnData (`--input`) or build a demo.\n2. Load gene sets: parse `--gene-sets` GMT, OR fetch via `--gene-set-db \u003Calias>` and write a resolved GMT.\n3. Validate: at least one gene-set member overlaps the input features (`feature_label_source` chosen from `var_names` \u002F `var[\"gene_symbol\"]` \u002F etc.).\n4. Run preflight; resolve `--groupby` (auto-pick from `leiden` \u002F `louvain` \u002F `cell_type` if unset).\n5. Dispatch to method:\n   - `aucell_r`: shell out to bundled R script via `RScriptRunner`.\n   - `aucell_py`: AUCell-Python with `--aucell-py-auc-threshold`.\n   - `score_genes_py`: Scanpy `tl.score_genes` per gene set.\n6. Compute group-aware aggregates if `--groupby` is set.\n7. Save tables, figures, `processed.h5ad`, `report.md`, `result.json`.\n\n## Gotchas\n\n- `run_info(scores)[\"skipped_gene_sets\"]` lists sets with no matching features. Inspect `tables\u002Fgene_set_overlap.csv` before interpreting scores; all-unmatched Python input raises.\n- `score_gene_sets(..., method=\"score_genes_py\")` requires normalized X. AUCell ranks expression and can also use counts.\n- `load_gene_sets` downloads named libraries through gseapy. Local GMT\u002FJSON avoids network access. This skill's mouse `kegg` alias is `KEGG_2021_Mouse`, intentionally separate from sc-enrichment's aliases.\n- `aucell_r` needs AUCell and GSEABase. Its temporary result must contain a `Cell` column; otherwise the API raises instead of misaligning rows.\n- API scoring uses seed 42 by default. The CLI preserves its historical `score_genes_py` seed 0; its AUCell seed defaults to 42. Set `random_state=0` for API\u002FCLI score_genes comparisons.\n- `processed.h5ad` adds an `enrich__` obs column per gene set. `attach_scores` copies its input; `score_gene_sets` leaves it unchanged.\n- CLI `--demo` slices the first 60 feature names into four arbitrary sets. They exercise the pipeline, not biological pathways. The step below uses named PBMC lineage genes.\n\n## Key CLI\n\n```bash\n# Demo (built-in gene sets)\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Fsc_pathway_scoring.py --demo --output \u002Ftmp\u002Fsc_pw_demo\n\n# AUCell-R with MSigDB Hallmark, grouped by cell type\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Fsc_pathway_scoring.py \\\n  --input clustered.h5ad --output results\u002F \\\n  --gene-set-db hallmark --groupby cell_type\n\n# AUCell-Python (no R needed) with custom GMT\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Fsc_pathway_scoring.py \\\n  --input clustered.h5ad --output results\u002F \\\n  --method aucell_py --gene-sets pathways.gmt --groupby leiden\n\n# Scanpy score_genes for fast prototyping\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Fsc_pathway_scoring.py \\\n  --input clustered.h5ad --output results\u002F \\\n  --method score_genes_py --gene-sets pathways.gmt\n```\n\n## See also\n\n- `references\u002Fparameters.md` — every CLI flag, library aliases\n- `references\u002Fmethodology.md` — AUCell vs score_genes; gene-symbol expectations\n- `references\u002Foutput_contract.md` — `enrichment_scores.csv` schema; per-method differences\n- Adjacent skills: `sc-clustering` \u002F `sc-cell-annotation` (upstream — produce `--groupby` column for group-aware aggregates), `sc-enrichment` (parallel — bulk-style GSEA\u002FORA on DE tables, NOT per-cell scoring), `sc-gene-programs` (parallel — de-novo factorisation, NOT supervised scoring against curated sets), `sc-grn` (parallel — TF-target regulons; AUCell is shared underlying tech)\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`, `gseapy`, `matplotlib`, `numpy`, `pandas`, `scanpy`, `scipy`, `seaborn`\n\n## API\n\n\u003C!-- api:begin generated from _api.py; regenerate with run.py api \u003Cskill dir> --write -->\n\n### `score_gene_sets(adata, gene_sets, *, method: str='aucell_r', auc_max_rank: int | None=None, auc_threshold: float=0.05, ctrl_size: int=50, n_bins: int=25, random_state: int=42) -> pd.DataFrame`\n\nReturn cell-by-gene-set scores without changing adata.\n\naucell_py ranks X, breaking ties with random_state; auc_threshold is the\nfraction of ranked genes used. score_genes_py requires normalized X and\nuses Scanpy control genes. aucell_r requires AUCell\u002FGSEABase and uses\nnormalized X or an aligned raw matrix. R exchange files are temporary.\nGene sets with no matched features are skipped; all-unmatched input fails.\nAPI seeds default to 42. The historical score_genes CLI uses seed 0.\n\n### `load_gene_sets(source, *, species: str='human') -> dict[str, list[str]]`\n\nRead a GMT or JSON file, or download an Enrichr library.\n\nAliases belong to this skill: mouse KEGG resolves to KEGG_2021_Mouse.\nNamed libraries require gseapy and network access; local files do not.\n\n### `attach_scores(adata, scores: pd.DataFrame)`\n\nReturn a copy with enrich__ columns and the scoring run record in uns.\n\n### `gene_set_overlap(adata, gene_sets) -> pd.DataFrame`\n\nReturn matched feature counts and identifiers for every requested gene set.\n\n### `group_scores(adata, scores: pd.DataFrame, *, groupby: str) -> pd.DataFrame`\n\nReturn mean scores per obs group, retaining every scored gene set.\n\n### `top_pathways(scores: pd.DataFrame, *, n: int=20) -> pd.DataFrame`\n\nRank gene sets by mean absolute cell score, breaking ties by name.\n\n### `score_summary(adata, scores_df: pd.DataFrame, *, groupby: str | None, top_pathways: int) -> dict[str, object]`\n\nReturn top pathways, grouped means, high fractions and long-form scores.\n\n### `score_distribution_figure(scores: pd.DataFrame)`\n\nReturn a boxplot of per-cell scores without writing files.\n\n### `run_info(result, *, keep: bool=True) -> dict`\n\nReturn scoring provenance; keep=False removes the AnnData or table run record.\n\n\u003C!-- api:end -->\n",{"name":5,"tags":43,"trigger":46,"description":7},[44,45,24,25,23,22,27],"singlecell","scrna","pathway score, pathway scoring, gene set score, module score, pathway activity, signature score","main","90a3bec3e6549bc33dddbf67e4b23869736c49d1","skills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring",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-pathway-scoring",{"tool":61,"command":62},"bunx","bunx skills add TianGzlab\u002FOmicsClaw --skill sc-pathway-scoring",{"tool":64,"command":65},"pnpm","pnpm dlx skills add TianGzlab\u002FOmicsClaw --skill sc-pathway-scoring","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002FSKILL.md",true,[69,75,79,85,89,93,97,103,107,111,115],{"path":70,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":73,"sourceHtmlUrl":74},"_api.py","SCRIPT","脚本",24202,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002F_api.py",{"path":76,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":77,"sourceHtmlUrl":78},"examples\u002Fexample_step.py",1078,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Fexamples\u002Fexample_step.py",{"path":80,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":83,"sourceHtmlUrl":84},"references\u002Fmethodology.md","REFERENCE","参考文档",2954,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Freferences\u002Fmethodology.md",{"path":86,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":87,"sourceHtmlUrl":88},"references\u002Foutput_contract.md",1576,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Freferences\u002Foutput_contract.md",{"path":90,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":91,"sourceHtmlUrl":92},"references\u002Fparameters.md",2491,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Freferences\u002Fparameters.md",{"path":94,"resourceType":81,"resourceTypeDesc":82,"sizeBytes":95,"sourceHtmlUrl":96},"references\u002Fr_visualization.md",684,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Freferences\u002Fr_visualization.md",{"path":98,"resourceType":99,"resourceTypeDesc":100,"sizeBytes":101,"sourceHtmlUrl":102},"rscripts\u002Fsc_aucell.R","OTHER","其他",1267,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Frscripts\u002Fsc_aucell.R",{"path":104,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":105,"sourceHtmlUrl":106},"sc_pathway_scoring.py",25220,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Fsc_pathway_scoring.py",{"path":108,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":109,"sourceHtmlUrl":110},"tests\u002Ftest_pathway_api.py",3141,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Ftests\u002Ftest_pathway_api.py",{"path":112,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":113,"sourceHtmlUrl":114},"tests\u002Ftest_sc_pathway_scoring_methods.py",1185,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Ftests\u002Ftest_sc_pathway_scoring_methods.py",{"path":116,"resourceType":71,"resourceTypeDesc":72,"sizeBytes":117,"sourceHtmlUrl":118},"tests\u002Ftest_sc_pathway_scoring.py",2573,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-pathway-scoring\u002Ftests\u002Ftest_sc_pathway_scoring.py",[120,133,145,161,186,209],{"skillNo":121,"name":122,"nameZh":6,"description":123,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":124,"categories":125,"keywords":126,"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",[],[127,128,129,130,131,32,132],"demo skill","demo","tests","fixture","fixture skill","environment",{"skillNo":134,"name":135,"nameZh":6,"description":136,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":137,"categories":138,"keywords":139,"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",[],[140,141,142,129,130,143,144],"domains","fake domains","deployment","never","test",{"skillNo":146,"name":147,"nameZh":6,"description":148,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":149,"categories":150,"keywords":151,"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",[],[152,153,154,155,156,157,158,159,160],"me","replace me skill","template","directory","skill template","existing skill","new skill","bootstrap","scaffold",{"skillNo":162,"name":163,"nameZh":6,"description":164,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":165,"categories":166,"keywords":167,"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",[],[168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,32,29,185],"velocity","spatial velocity","Spatial","scvelo","input","starsolo","time","deep","RNA","kb-python","via","velocyto","rna-velocity","velovi","dynamics","upstream","kb","deterministic",{"skillNo":187,"name":188,"nameZh":6,"description":189,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":190,"categories":191,"keywords":192,"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",[],[170,193,194,195,196,197,198,199,178,200,201,202,203,204,168,205,32,206,207,208],"trajectory","spatial trajectory","state","terminal","lineage","diffusion","cellrank","palantir","dpt","pseudotime","probability","cell","default","branch","anndata","data",{"skillNo":210,"name":211,"nameZh":6,"description":212,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":213,"categories":214,"keywords":215,"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",[],[216,217,170,178,218,219,220,221,222,223,140,224,225,226,227,32,207,228,37,229],"spatial statistics","statistics","nhood-enrichment","co-occurrence","ripley","geary","moran","neighbourhood","ranking","autocorrelation","local","domain","detection","stats"]