[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DTHK6EP447WKBDTZYTBK3X":3,"skill-same:01M6DTHK6EP447WKBDTZYTBK3X":98},{"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":30,"linkOnly":31,"markdownContent":32,"markdownBody":33,"frontMatter":34,"refName":36,"commitSha":37,"skillDirectory":38,"forksCount":39,"repositoryHtmlUrl":40,"repositoryHomepageUrl":41,"ownerHtmlUrl":42,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":43,"install":44,"resources":57},"01M6DTHK6EP447WKBDTZYTBK3X","sc-gene-programs",null,"Load when extracting gene programs (NMF \u002F cNMF factorisation) and per-cell program usage scores from a non-negative scRNA AnnData. Skip when ranking marker genes per cluster (use sc-markers); inferring TF → target regulons (use sc-grn).","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-gene-programs\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29],"sc gene programs","anndata","use","cell","ranking","scrna","singlecell","markers","gene-programs","nmf","cnmf","factorisation","2026-11-10 10:12:30",false,"---\nname: sc-gene-programs\ndescription: Load when extracting gene programs (NMF \u002F cNMF factorisation) and per-cell program usage\n  scores from a non-negative scRNA AnnData. Skip when ranking marker genes per cluster (use sc-markers);\n  inferring TF → target regulons (use sc-grn).\ntags:\n- singlecell\n- scrna\n- gene-programs\n- nmf\n- cnmf\n- factorisation\n---\n\n# sc-gene-programs\n\n## When to use\n\nThe user has a non-negative scRNA AnnData (raw counts or log-normalised\nexpression) and wants to decompose it into K gene programs (latent\nfactors) plus a per-cell usage matrix. Two methods:\n\n- `cnmf` (default) — consensus NMF (multiple runs + clustering of\n  factors) for stable programs. Auto-falls back to `nmf` if the `cnmf`\n  package isn't installed.\n- `nmf` — sklearn NMF, single run.\n\nOutput: `tables\u002Fprogram_usage.csv` (cells × K), `tables\u002Fprogram_weights.csv`\n(programs × genes), `tables\u002Ftop_program_genes.csv` (top-N genes per program).\n\nFor per-cluster marker discovery use `sc-markers`; for TF → target\nregulons use `sc-grn`; for per-cell pathway scores against curated\ngene sets use `sc-pathway-scoring`.\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# Extract six NMF programs from the log-normalized PBMC68k snapshot.\n# Reads pbmc68k_reduced.\n# Calls sc-gene-programs: find_programs, top_program_genes, usage_figure.\n\nfrom skills._sdk.notebook import load_demo, load_skill, write_output\n\nprograms = load_skill('sc-gene-programs')\nadata = load_demo('pbmc68k_reduced').raw.to_adata()\n\nresult = programs.find_programs(adata, method='nmf')\ntop = programs.top_program_genes(result, n=10)\nwrite_output(result, 'intermediate\u002Fprograms.h5ad')\nwrite_output(top, 'tables\u002Ftop_program_genes.csv')\nwrite_output(programs.usage_figure(result), 'figures\u002Fprogram_usage.png')\n\nassert result.obsm['X_gene_programs'].shape == (adata.n_obs, 6)\nassert (result.obsm['X_gene_programs'] >= 0).all()\nassert top['program'].nunique() == 6\nassert set(top.gene).issubset(adata.var_names)\n```\n\n## Inputs & Outputs\n\nInput is a non-negative AnnData expression matrix; `layer` selects another\nmatrix. PCA and neighbors are not required. `find_programs` returns a copy\nwith `obsm[\"X_gene_programs\"]` and tables exposed by the API helpers.\n\nThe CLI writes `processed.h5ad`, `report.md`, `result.json`,\n`tables\u002Fprogram_usage.csv` (cells × programs),\n`tables\u002Fprogram_weights.csv` (programs × genes), and\n`tables\u002Ftop_program_genes.csv`. cNMF additionally writes\n`tables\u002Fprogram_tpm.csv`. Gallery figures are `mean_program_usage.png`\nand, for multiple programs, `program_correlation.png`. Figure source\ntables, including program correlations, live under `figure_data\u002F`.\n\n## Flow\n\n1. Auto-fallback check: try `import cnmf`; if it fails, switch to `nmf` and record the fallback.\n2. Load AnnData (`--input`) or build a demo.\n3. Preflight: pick source matrix per `--layer` (auto-prefer `layers[\"counts\"]` for cnmf when `--layer` is unset); reject negative values; warn if `n_genes \u003C 50` or running NMF on raw counts without `--layer counts`.\n4. Run cNMF (consensus NMF with `--n-iter` iterations per factorization) or sklearn NMF (single run, `--seed`).\n5. Build top-genes-per-program table; compute per-program correlation matrix.\n6. Detect degenerate output → record diagnostics; do NOT raise.\n7. Save tables, figures, `processed.h5ad`, `report.md`, `result.json`.\n\n## Gotchas\n\n- `run_info(result)` records requested and executed methods and the reason when missing cNMF falls back to sklearn NMF. CLI `result.json[\"summary\"][\"backend\"]` reports the executed backend.\n- CLI preflight rejects negative input. The API retains the existing solver's negative-to-zero clipping; use a non-negative matrix for interpretable `program_weights`.\n- cNMF prefers `layers[\"counts\"]` when `layer` is unset; NMF uses X. A missing cNMF backend falls back to NMF's matrix selection.\n- `n_iter` \u002F `--n-iter` is the maximum number of iterations per factorization, not the number of consensus replicates. `run_info` includes the cNMF replicate count when used.\n- CLI `result.json[\"summary\"][\"degenerate_output\"]` reports collapsed programs without making the run fail. Inspect the flag and `degenerate_issues` before using the tables.\n\n## Key CLI\n\n```bash\n# Demo (cNMF on synthetic data, falls back to NMF if cnmf missing)\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Fsc_gene_programs.py --demo --output \u002Ftmp\u002Fsc_gp_demo\n\n# cNMF with 8 programs on raw counts\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Fsc_gene_programs.py \\\n  --input clustered.h5ad --output results\u002F \\\n  --method cnmf --n-programs 8 --n-iter 200 --layer counts\n\n# NMF on log-normalised .X (faster, less stable)\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Fsc_gene_programs.py \\\n  --input normalized.h5ad --output results\u002F \\\n  --method nmf --n-programs 10 --top-genes 50\n```\n\n## See also\n\n- `references\u002Fparameters.md` — every CLI flag, NMF \u002F cNMF tunables\n- `references\u002Fmethodology.md` — when consensus NMF wins; layer-selection guide\n- `references\u002Foutput_contract.md` — `obsm[\"X_gene_programs\"]` \u002F `tables\u002Fprogram_*.csv` schemas\n- Adjacent skills: `sc-preprocessing` (upstream — produces a non-negative `.X` or `layers[\"counts\"]`), `sc-markers` (parallel — cluster markers, NOT latent factors), `sc-pathway-scoring` (parallel — supervised program scoring against curated gene sets), `sc-grn` (parallel — TF → target regulons; complementary to gene programs)\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`, `cnmf`, `matplotlib`, `numpy`, `pandas`, `scanpy`, `scikit-learn`, `scipy`\n\n## API\n\n\u003C!-- api:begin generated from _api.py; regenerate with run.py api \u003Cskill dir> --write -->\n\n### `find_programs(adata, *, method: str='cnmf', n_programs: int=6, n_iter: int=400, layer: str | None=None, top_genes: int=30, random_state: int=0)`\n\nReturn a copy with per-cell usage in obsm['X_gene_programs'].\n\ncNMF uses counts when available; missing cNMF falls back to sklearn NMF,\nrecorded by run_info. NMF uses X unless layer is set. Negative values are\nclipped to zero by the existing solver. n_iter limits each factorization's\niterations, not the number of cNMF replicates. Both methods use random_state.\nProgram weights and ranked genes are available through the table helpers.\n\n### `program_weights(adata) -> pd.DataFrame`\n\nReturn program-by-gene weights from find_programs.\n\n### `top_program_genes(adata, *, n: int | None=None) -> pd.DataFrame`\n\nReturn ranked genes and weights; n optionally limits genes per program.\n\n### `program_correlation(adata) -> pd.DataFrame`\n\nReturn Pearson correlations between per-cell program usages.\n\n### `usage_figure(adata)`\n\nReturn a heatmap figure of cells by program usage, without writing files.\n\n### `run_info(adata, *, keep: bool=True) -> dict`\n\nReturn methods and solver diagnostics; keep=False removes the run record.\n\n\u003C!-- api:end -->\n","# sc-gene-programs\n\n## When to use\n\nThe user has a non-negative scRNA AnnData (raw counts or log-normalised\nexpression) and wants to decompose it into K gene programs (latent\nfactors) plus a per-cell usage matrix. Two methods:\n\n- `cnmf` (default) — consensus NMF (multiple runs + clustering of\n  factors) for stable programs. Auto-falls back to `nmf` if the `cnmf`\n  package isn't installed.\n- `nmf` — sklearn NMF, single run.\n\nOutput: `tables\u002Fprogram_usage.csv` (cells × K), `tables\u002Fprogram_weights.csv`\n(programs × genes), `tables\u002Ftop_program_genes.csv` (top-N genes per program).\n\nFor per-cluster marker discovery use `sc-markers`; for TF → target\nregulons use `sc-grn`; for per-cell pathway scores against curated\ngene sets use `sc-pathway-scoring`.\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# Extract six NMF programs from the log-normalized PBMC68k snapshot.\n# Reads pbmc68k_reduced.\n# Calls sc-gene-programs: find_programs, top_program_genes, usage_figure.\n\nfrom skills._sdk.notebook import load_demo, load_skill, write_output\n\nprograms = load_skill('sc-gene-programs')\nadata = load_demo('pbmc68k_reduced').raw.to_adata()\n\nresult = programs.find_programs(adata, method='nmf')\ntop = programs.top_program_genes(result, n=10)\nwrite_output(result, 'intermediate\u002Fprograms.h5ad')\nwrite_output(top, 'tables\u002Ftop_program_genes.csv')\nwrite_output(programs.usage_figure(result), 'figures\u002Fprogram_usage.png')\n\nassert result.obsm['X_gene_programs'].shape == (adata.n_obs, 6)\nassert (result.obsm['X_gene_programs'] >= 0).all()\nassert top['program'].nunique() == 6\nassert set(top.gene).issubset(adata.var_names)\n```\n\n## Inputs & Outputs\n\nInput is a non-negative AnnData expression matrix; `layer` selects another\nmatrix. PCA and neighbors are not required. `find_programs` returns a copy\nwith `obsm[\"X_gene_programs\"]` and tables exposed by the API helpers.\n\nThe CLI writes `processed.h5ad`, `report.md`, `result.json`,\n`tables\u002Fprogram_usage.csv` (cells × programs),\n`tables\u002Fprogram_weights.csv` (programs × genes), and\n`tables\u002Ftop_program_genes.csv`. cNMF additionally writes\n`tables\u002Fprogram_tpm.csv`. Gallery figures are `mean_program_usage.png`\nand, for multiple programs, `program_correlation.png`. Figure source\ntables, including program correlations, live under `figure_data\u002F`.\n\n## Flow\n\n1. Auto-fallback check: try `import cnmf`; if it fails, switch to `nmf` and record the fallback.\n2. Load AnnData (`--input`) or build a demo.\n3. Preflight: pick source matrix per `--layer` (auto-prefer `layers[\"counts\"]` for cnmf when `--layer` is unset); reject negative values; warn if `n_genes \u003C 50` or running NMF on raw counts without `--layer counts`.\n4. Run cNMF (consensus NMF with `--n-iter` iterations per factorization) or sklearn NMF (single run, `--seed`).\n5. Build top-genes-per-program table; compute per-program correlation matrix.\n6. Detect degenerate output → record diagnostics; do NOT raise.\n7. Save tables, figures, `processed.h5ad`, `report.md`, `result.json`.\n\n## Gotchas\n\n- `run_info(result)` records requested and executed methods and the reason when missing cNMF falls back to sklearn NMF. CLI `result.json[\"summary\"][\"backend\"]` reports the executed backend.\n- CLI preflight rejects negative input. The API retains the existing solver's negative-to-zero clipping; use a non-negative matrix for interpretable `program_weights`.\n- cNMF prefers `layers[\"counts\"]` when `layer` is unset; NMF uses X. A missing cNMF backend falls back to NMF's matrix selection.\n- `n_iter` \u002F `--n-iter` is the maximum number of iterations per factorization, not the number of consensus replicates. `run_info` includes the cNMF replicate count when used.\n- CLI `result.json[\"summary\"][\"degenerate_output\"]` reports collapsed programs without making the run fail. Inspect the flag and `degenerate_issues` before using the tables.\n\n## Key CLI\n\n```bash\n# Demo (cNMF on synthetic data, falls back to NMF if cnmf missing)\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Fsc_gene_programs.py --demo --output \u002Ftmp\u002Fsc_gp_demo\n\n# cNMF with 8 programs on raw counts\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Fsc_gene_programs.py \\\n  --input clustered.h5ad --output results\u002F \\\n  --method cnmf --n-programs 8 --n-iter 200 --layer counts\n\n# NMF on log-normalised .X (faster, less stable)\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Fsc_gene_programs.py \\\n  --input normalized.h5ad --output results\u002F \\\n  --method nmf --n-programs 10 --top-genes 50\n```\n\n## See also\n\n- `references\u002Fparameters.md` — every CLI flag, NMF \u002F cNMF tunables\n- `references\u002Fmethodology.md` — when consensus NMF wins; layer-selection guide\n- `references\u002Foutput_contract.md` — `obsm[\"X_gene_programs\"]` \u002F `tables\u002Fprogram_*.csv` schemas\n- Adjacent skills: `sc-preprocessing` (upstream — produces a non-negative `.X` or `layers[\"counts\"]`), `sc-markers` (parallel — cluster markers, NOT latent factors), `sc-pathway-scoring` (parallel — supervised program scoring against curated gene sets), `sc-grn` (parallel — TF → target regulons; complementary to gene programs)\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`, `cnmf`, `matplotlib`, `numpy`, `pandas`, `scanpy`, `scikit-learn`, `scipy`\n\n## API\n\n\u003C!-- api:begin generated from _api.py; regenerate with run.py api \u003Cskill dir> --write -->\n\n### `find_programs(adata, *, method: str='cnmf', n_programs: int=6, n_iter: int=400, layer: str | None=None, top_genes: int=30, random_state: int=0)`\n\nReturn a copy with per-cell usage in obsm['X_gene_programs'].\n\ncNMF uses counts when available; missing cNMF falls back to sklearn NMF,\nrecorded by run_info. NMF uses X unless layer is set. Negative values are\nclipped to zero by the existing solver. n_iter limits each factorization's\niterations, not the number of cNMF replicates. Both methods use random_state.\nProgram weights and ranked genes are available through the table helpers.\n\n### `program_weights(adata) -> pd.DataFrame`\n\nReturn program-by-gene weights from find_programs.\n\n### `top_program_genes(adata, *, n: int | None=None) -> pd.DataFrame`\n\nReturn ranked genes and weights; n optionally limits genes per program.\n\n### `program_correlation(adata) -> pd.DataFrame`\n\nReturn Pearson correlations between per-cell program usages.\n\n### `usage_figure(adata)`\n\nReturn a heatmap figure of cells by program usage, without writing files.\n\n### `run_info(adata, *, keep: bool=True) -> dict`\n\nReturn methods and solver diagnostics; keep=False removes the run record.\n\n\u003C!-- api:end -->\n",{"name":5,"tags":35,"description":7},[24,23,26,27,28,29],"main","90a3bec3e6549bc33dddbf67e4b23869736c49d1","skills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs",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":45,"prompt":55,"zipAvailable":56},[46,49,52],{"tool":47,"command":48},"npx","npx skills add TianGzlab\u002FOmicsClaw --skill sc-gene-programs",{"tool":50,"command":51},"bunx","bunx skills add TianGzlab\u002FOmicsClaw --skill sc-gene-programs",{"tool":53,"command":54},"pnpm","pnpm dlx skills add TianGzlab\u002FOmicsClaw --skill sc-gene-programs","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002FSKILL.md",true,[58,64,68,74,78,82,86,90,94],{"path":59,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":62,"sourceHtmlUrl":63},"_api.py","SCRIPT","脚本",4013,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002F_api.py",{"path":65,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":66,"sourceHtmlUrl":67},"examples\u002Fexample_step.py",839,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Fexamples\u002Fexample_step.py",{"path":69,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":72,"sourceHtmlUrl":73},"references\u002Fmethodology.md","REFERENCE","参考文档",2719,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Freferences\u002Fmethodology.md",{"path":75,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":76,"sourceHtmlUrl":77},"references\u002Foutput_contract.md",1463,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Freferences\u002Foutput_contract.md",{"path":79,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":80,"sourceHtmlUrl":81},"references\u002Fparameters.md",305,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Freferences\u002Fparameters.md",{"path":83,"resourceType":70,"resourceTypeDesc":71,"sizeBytes":84,"sourceHtmlUrl":85},"references\u002Fr_visualization.md",696,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Freferences\u002Fr_visualization.md",{"path":87,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":88,"sourceHtmlUrl":89},"sc_gene_programs.py",23190,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Fsc_gene_programs.py",{"path":91,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":92,"sourceHtmlUrl":93},"tests\u002Ftest_programs_api.py",1314,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Ftests\u002Ftest_programs_api.py",{"path":95,"resourceType":60,"resourceTypeDesc":61,"sizeBytes":96,"sourceHtmlUrl":97},"tests\u002Ftest_sc_gene_programs_methods.py",437,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-gene-programs\u002Ftests\u002Ftest_sc_gene_programs_methods.py",[99,112,124,140,166,187],{"skillNo":100,"name":101,"nameZh":6,"description":102,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":103,"categories":104,"keywords":105,"publishedAt":30},"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",[],[106,107,108,109,110,20,111],"demo skill","demo","tests","fixture","fixture skill","environment",{"skillNo":113,"name":114,"nameZh":6,"description":115,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":116,"categories":117,"keywords":118,"publishedAt":30},"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",[],[119,120,121,108,109,122,123],"domains","fake domains","deployment","never","test",{"skillNo":125,"name":126,"nameZh":6,"description":127,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":128,"categories":129,"keywords":130,"publishedAt":30},"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",[],[131,132,133,134,135,136,137,138,139],"me","replace me skill","template","directory","skill template","existing skill","new skill","bootstrap","scaffold",{"skillNo":141,"name":142,"nameZh":6,"description":143,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":144,"categories":145,"keywords":146,"publishedAt":30},"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",[],[147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,20,164,165],"velocity","spatial velocity","Spatial","scvelo","input","starsolo","time","deep","RNA","kb-python","via","velocyto","rna-velocity","velovi","dynamics","upstream","kb","python","deterministic",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":30},"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",[],[149,173,174,175,176,177,178,179,157,180,181,182,183,21,147,184,20,185,19,186],"trajectory","spatial trajectory","state","terminal","lineage","diffusion","cellrank","palantir","dpt","pseudotime","probability","default","branch","data",{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":30},"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",[],[194,195,149,157,196,197,198,199,200,201,119,22,202,203,204,20,19,205,206,207],"spatial statistics","statistics","nhood-enrichment","co-occurrence","ripley","geary","moran","neighbourhood","autocorrelation","local","domain","detection","enrichment","stats"]