[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DTGV8GF0HPHESQVRE1J653":3,"skill-same:01M6DTGV8GF0HPHESQVRE1J653":111},{"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":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":46,"ownerHtmlUrl":47,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":48,"install":49,"resources":62},"01M6DTGV8GF0HPHESQVRE1J653","sc-doublet-detection",null,"Load when annotating putative doublets in single-cell RNA-seq using Scrublet, DoubletDetection, DoubletFinder, scDblFinder, or scds. Skip when ambient RNA is the contamination problem (use sc-ambient-removal); before counts exist (use sc-fastq-qc).","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-doublet-detection\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34],"sc doublet detection","detection","FASTQ","scdblfinder","doubletfinder","scrublet","doublet","contamination","ambient","singlecell","single-cell","scrna","qc","problem","cell","RNA","use","2026-11-10 10:12:30",false,"---\nname: sc-doublet-detection\ndescription: Load when annotating putative doublets in single-cell RNA-seq using Scrublet, DoubletDetection,\n  DoubletFinder, scDblFinder, or scds. Skip when ambient RNA is the contamination problem (use sc-ambient-removal);\n  before counts exist (use sc-fastq-qc).\ntags:\n- singlecell\n- scrna\n- doublet\n- scrublet\n- doubletfinder\n- scdblfinder\n---\n\n# sc-doublet-detection\n\n## When to use\n\nThe user has filtered (or at least QC'd) single-cell counts and wants\nto flag putative doublet barcodes before clustering \u002F annotation.\nFive backends share one CLI: `scrublet` (default, Python), `doubletdetection`\n(Python), `doubletfinder` (R), `scdblfinder` (R), `scds` (R).  Per-cell\nscores + binary calls land in `obs`; this skill annotates, it does not\nremove cells (filter downstream with `obs[\"predicted_doublet\"]`).\n\n## Use from a step\n\n```python\ndoublets = load_skill(\"sc-doublet-detection\")\nadata = doublets.detect_doublets(read_input(\"filtered.h5ad\"), random_state=0)\nwrite_output(doublets.doublet_calls_table(adata), \"tables\u002Fdoublet_calls.csv\")\nwrite_output(doublets.doublet_score_figure(adata), \"figures\u002Fdoublet_scores.png\")\nwrite_output(adata, \"intermediate\u002Fadata_doublets.h5ad\")\n```\n\nDetection annotates the input in place; it never removes cells. To remove\nthe calls, pass the result to `sc-filter`. See `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### `detect_doublets(adata, *, method: str='scrublet', expected_doublet_rate: float=0.06, threshold: float | None=None, batch_key: str | None=None, n_iters: int=10, standard_scaling: bool=False, scds_mode: str='cxds', random_state: int=0)`\n\nAnnotate doublets in place using counts from layers['counts'], raw or X.\n\nNo observations or features are removed. Pass the result to sc-filter\nwhen doublets should be removed. A DoubletFinder failure may fall back to\nscDblFinder; a failed scds mode may fall back to cxds. run_info records both.\n\n:param adata: AnnData containing a count-like matrix.\n:param method: scrublet, doubletdetection, doubletfinder, scdblfinder or scds.\n:param expected_doublet_rate: Expected doublet fraction; default 0.06.\n:param threshold: Scrublet score cutoff; None keeps its automatic calls.\n:param batch_key: Scrublet batches in obs; None analyzes all cells together.\n:param n_iters: DoubletDetection iterations; default 10.\n:param standard_scaling: DoubletDetection standard scaling; default False.\n:param scds_mode: cxds, bcds or hybrid; default cxds.\n:param random_state: Seed passed to the selected backend; default 0.\n:returns: The same AnnData with doublet_score, predicted_doublet and\n    doublet_classification in obs, plus JSON diagnostics in uns.\n:raises ValueError: A method, rate, threshold or batch column is invalid.\n:raises ImportError: A Python backend is missing; use install_skill_deps.\n:raises RuntimeError: An R method and any documented fallback fail.\n\n### `run_info(adata, *, keep: bool=True) -> dict`\n\nRead doublet method diagnostics from adata.uns.\n\n:param adata: AnnData annotated by detect_doublets.\n:param keep: False removes the JSON diagnostics after reading; default True.\n:returns: Method, counts, matrix source and any fallback details.\n\n### `doublet_calls_table(adata, *, groupby: str | None=None) -> pd.DataFrame`\n\nReturn per-cell scores and calls in observation order.\n\n:param adata: AnnData annotated by detect_doublets.\n:param groupby: Optional obs column to include in the table.\n:returns: A DataFrame with cell_id, scores, calls and classification.\n\n### `doublet_summary(adata) -> pd.DataFrame`\n\nReturn singlet and doublet counts and percentages from obs calls.\n\n:param adata: AnnData with predicted_doublet in obs.\n:returns: A DataFrame with one row per classification.\n\n### `group_summary_table(adata, *, groupby: str) -> pd.DataFrame`\n\nSummarize doublet counts and scores for an obs grouping column.\n\n:param adata: AnnData annotated by detect_doublets.\n:param groupby: Existing obs column defining the groups.\n:returns: A DataFrame with counts, median and mean scores, and rates.\n:raises ValueError: The grouping column is missing.\n\n### `doublet_score_figure(adata)`\n\nPlot the doublet score distribution and return the Figure.\n\n:param adata: AnnData with doublet_score in obs.\n:returns: A matplotlib Figure; the caller saves it with write_output.\n\n\u003C!-- api:end -->\n\n## Methods and parameters\n\n- `method=\"scrublet\"` and `expected_doublet_rate=0.06` retain the CLI defaults.\n  Set the rate from loading density and the experimental design.\n- `threshold=None` retains Scrublet's automatic calls; a numeric threshold\n  applies only to Scrublet. `batch_key` runs Scrublet by that `obs` column;\n  it does not make the other backends batch-aware.\n- DoubletDetection retains `n_iters=10` and `standard_scaling=False`.\n- R backends use `Rscript` and temporary gene-by-cell MTX plus CSV metadata;\n  they do not need a Python environment inside R. DoubletFinder requires\n  Seurat, DoubletFinder and Matrix; scDblFinder\u002Fscds require their matching\n  package, SingleCellExperiment and Matrix.\n- `random_state=0` now reaches every backend, including Scrublet and R.\n  Previously the CLI ignored this parameter for Scrublet; scDblFinder used\n  a fixed R seed of 42. Missing Python packages raise an import error.\n\n## Inputs & Outputs\n\n**Inputs**\n\n- Modalities: scrna\n- File types: `.h5ad`\n\n**Outputs**\n\n- `tables\u002Fdoublet_calls.csv`\n- `tables\u002Fsummary.csv`\n- `tables\u002Fgroup_summary.csv` when a comparison group is available\n- `figures\u002Fdoublet_score_distribution.png`; embedding plots when an embedding is available\n- `figure_data\u002F` and its manifest, for the generated plots\n- `figures\u002Fr_enhanced\u002F` only for successful `--r-enhanced` renders\n- `processed.h5ad`\n- `report.md`\n- `result.json`\n- Processed AnnData (`saves_h5ad`) — adds `obs`: `doublet_score`, `predicted_doublet`, `doublet_classification`\n\n## Flow\n\n1. Load AnnData; resolve `--method` against the `METHOD_REGISTRY`.\n2. Run the chosen backend on the selected count-like matrix.\n3. DoubletFinder may fall back to scDblFinder; a failed scds mode may fall back to cxds. Other failures propagate.\n4. Apply the chosen `--threshold` (or method default) to score → call.\n5. Write `obs[\"predicted_doublet\"]` + `obs[\"doublet_score\"]`; emit tables and the score-distribution figure.\n6. Save `processed.h5ad` + `report.md` + `result.json`.\n\n## Gotchas\n\n- Check `run_info(adata)[\"executed_method\"]`, `fallback_reason` and, for scds,\n  `executed_scds_mode`. The CLI mirrors these diagnostics in `result.json[\"summary\"]`.\n- **No cells are removed.** This skill annotates barcodes; downstream filtering on `obs[\"predicted_doublet\"]` is the user's responsibility.  If `sc-filter` was already run, doublets re-introduce themselves to the cluster graph if not filtered after this step.\n- `tables\u002Fgroup_summary.csv` requires a comparison column: `--batch-key`\n  takes precedence over an available annotation or cluster column.\n- **Embedding pre-flight is non-fatal.** `sc_doublet.py` logs `\"Preview embedding computation failed\"` and continues; the score-distribution figure still renders without the embedding overlay.  When the figure looks sparse vs documented examples, check the warning log before assuming a bug.\n- **Unsupported method → hard fail.** `sc_doublet.py` raises `ValueError(\"Unsupported method: ...\")` for typos like `--method scrubblet`.\n\n## Key CLI\n\n```bash\n# Demo (Scrublet)\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Fsc_doublet.py --demo --output \u002Ftmp\u002Fsc_doublet_demo\n\n# Default Scrublet, with batch-aware grouping\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Fsc_doublet.py \\\n  --input filtered.h5ad --output results\u002F --batch-key sample_id\n\n# scDblFinder with a custom expected rate\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Fsc_doublet.py \\\n  --input filtered.h5ad --output results\u002F \\\n  --method scdblfinder --expected-doublet-rate 0.1 --random-state 0\n```\n\n## See also\n\n- `references\u002Fparameters.md` — every CLI flag and per-method tuning hint\n- `references\u002Fmethodology.md` — when each backend wins, R vs Python tradeoffs\n- `references\u002Foutput_contract.md` — `obs` keys added + table schemas\n- Adjacent skills: `sc-ambient-removal` (parallel — fixes ambient RNA, complementary to doublet removal), `sc-filter` (upstream — typically run before this), `sc-clustering` (downstream — filter doublets out before clustering)\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`, `doubletdetection`, `matplotlib`, `numpy`, `pandas`, `scanpy`, `scipy`, `scrublet`, `seaborn`\n","# sc-doublet-detection\n\n## When to use\n\nThe user has filtered (or at least QC'd) single-cell counts and wants\nto flag putative doublet barcodes before clustering \u002F annotation.\nFive backends share one CLI: `scrublet` (default, Python), `doubletdetection`\n(Python), `doubletfinder` (R), `scdblfinder` (R), `scds` (R).  Per-cell\nscores + binary calls land in `obs`; this skill annotates, it does not\nremove cells (filter downstream with `obs[\"predicted_doublet\"]`).\n\n## Use from a step\n\n```python\ndoublets = load_skill(\"sc-doublet-detection\")\nadata = doublets.detect_doublets(read_input(\"filtered.h5ad\"), random_state=0)\nwrite_output(doublets.doublet_calls_table(adata), \"tables\u002Fdoublet_calls.csv\")\nwrite_output(doublets.doublet_score_figure(adata), \"figures\u002Fdoublet_scores.png\")\nwrite_output(adata, \"intermediate\u002Fadata_doublets.h5ad\")\n```\n\nDetection annotates the input in place; it never removes cells. To remove\nthe calls, pass the result to `sc-filter`. See `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### `detect_doublets(adata, *, method: str='scrublet', expected_doublet_rate: float=0.06, threshold: float | None=None, batch_key: str | None=None, n_iters: int=10, standard_scaling: bool=False, scds_mode: str='cxds', random_state: int=0)`\n\nAnnotate doublets in place using counts from layers['counts'], raw or X.\n\nNo observations or features are removed. Pass the result to sc-filter\nwhen doublets should be removed. A DoubletFinder failure may fall back to\nscDblFinder; a failed scds mode may fall back to cxds. run_info records both.\n\n:param adata: AnnData containing a count-like matrix.\n:param method: scrublet, doubletdetection, doubletfinder, scdblfinder or scds.\n:param expected_doublet_rate: Expected doublet fraction; default 0.06.\n:param threshold: Scrublet score cutoff; None keeps its automatic calls.\n:param batch_key: Scrublet batches in obs; None analyzes all cells together.\n:param n_iters: DoubletDetection iterations; default 10.\n:param standard_scaling: DoubletDetection standard scaling; default False.\n:param scds_mode: cxds, bcds or hybrid; default cxds.\n:param random_state: Seed passed to the selected backend; default 0.\n:returns: The same AnnData with doublet_score, predicted_doublet and\n    doublet_classification in obs, plus JSON diagnostics in uns.\n:raises ValueError: A method, rate, threshold or batch column is invalid.\n:raises ImportError: A Python backend is missing; use install_skill_deps.\n:raises RuntimeError: An R method and any documented fallback fail.\n\n### `run_info(adata, *, keep: bool=True) -> dict`\n\nRead doublet method diagnostics from adata.uns.\n\n:param adata: AnnData annotated by detect_doublets.\n:param keep: False removes the JSON diagnostics after reading; default True.\n:returns: Method, counts, matrix source and any fallback details.\n\n### `doublet_calls_table(adata, *, groupby: str | None=None) -> pd.DataFrame`\n\nReturn per-cell scores and calls in observation order.\n\n:param adata: AnnData annotated by detect_doublets.\n:param groupby: Optional obs column to include in the table.\n:returns: A DataFrame with cell_id, scores, calls and classification.\n\n### `doublet_summary(adata) -> pd.DataFrame`\n\nReturn singlet and doublet counts and percentages from obs calls.\n\n:param adata: AnnData with predicted_doublet in obs.\n:returns: A DataFrame with one row per classification.\n\n### `group_summary_table(adata, *, groupby: str) -> pd.DataFrame`\n\nSummarize doublet counts and scores for an obs grouping column.\n\n:param adata: AnnData annotated by detect_doublets.\n:param groupby: Existing obs column defining the groups.\n:returns: A DataFrame with counts, median and mean scores, and rates.\n:raises ValueError: The grouping column is missing.\n\n### `doublet_score_figure(adata)`\n\nPlot the doublet score distribution and return the Figure.\n\n:param adata: AnnData with doublet_score in obs.\n:returns: A matplotlib Figure; the caller saves it with write_output.\n\n\u003C!-- api:end -->\n\n## Methods and parameters\n\n- `method=\"scrublet\"` and `expected_doublet_rate=0.06` retain the CLI defaults.\n  Set the rate from loading density and the experimental design.\n- `threshold=None` retains Scrublet's automatic calls; a numeric threshold\n  applies only to Scrublet. `batch_key` runs Scrublet by that `obs` column;\n  it does not make the other backends batch-aware.\n- DoubletDetection retains `n_iters=10` and `standard_scaling=False`.\n- R backends use `Rscript` and temporary gene-by-cell MTX plus CSV metadata;\n  they do not need a Python environment inside R. DoubletFinder requires\n  Seurat, DoubletFinder and Matrix; scDblFinder\u002Fscds require their matching\n  package, SingleCellExperiment and Matrix.\n- `random_state=0` now reaches every backend, including Scrublet and R.\n  Previously the CLI ignored this parameter for Scrublet; scDblFinder used\n  a fixed R seed of 42. Missing Python packages raise an import error.\n\n## Inputs & Outputs\n\n**Inputs**\n\n- Modalities: scrna\n- File types: `.h5ad`\n\n**Outputs**\n\n- `tables\u002Fdoublet_calls.csv`\n- `tables\u002Fsummary.csv`\n- `tables\u002Fgroup_summary.csv` when a comparison group is available\n- `figures\u002Fdoublet_score_distribution.png`; embedding plots when an embedding is available\n- `figure_data\u002F` and its manifest, for the generated plots\n- `figures\u002Fr_enhanced\u002F` only for successful `--r-enhanced` renders\n- `processed.h5ad`\n- `report.md`\n- `result.json`\n- Processed AnnData (`saves_h5ad`) — adds `obs`: `doublet_score`, `predicted_doublet`, `doublet_classification`\n\n## Flow\n\n1. Load AnnData; resolve `--method` against the `METHOD_REGISTRY`.\n2. Run the chosen backend on the selected count-like matrix.\n3. DoubletFinder may fall back to scDblFinder; a failed scds mode may fall back to cxds. Other failures propagate.\n4. Apply the chosen `--threshold` (or method default) to score → call.\n5. Write `obs[\"predicted_doublet\"]` + `obs[\"doublet_score\"]`; emit tables and the score-distribution figure.\n6. Save `processed.h5ad` + `report.md` + `result.json`.\n\n## Gotchas\n\n- Check `run_info(adata)[\"executed_method\"]`, `fallback_reason` and, for scds,\n  `executed_scds_mode`. The CLI mirrors these diagnostics in `result.json[\"summary\"]`.\n- **No cells are removed.** This skill annotates barcodes; downstream filtering on `obs[\"predicted_doublet\"]` is the user's responsibility.  If `sc-filter` was already run, doublets re-introduce themselves to the cluster graph if not filtered after this step.\n- `tables\u002Fgroup_summary.csv` requires a comparison column: `--batch-key`\n  takes precedence over an available annotation or cluster column.\n- **Embedding pre-flight is non-fatal.** `sc_doublet.py` logs `\"Preview embedding computation failed\"` and continues; the score-distribution figure still renders without the embedding overlay.  When the figure looks sparse vs documented examples, check the warning log before assuming a bug.\n- **Unsupported method → hard fail.** `sc_doublet.py` raises `ValueError(\"Unsupported method: ...\")` for typos like `--method scrubblet`.\n\n## Key CLI\n\n```bash\n# Demo (Scrublet)\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Fsc_doublet.py --demo --output \u002Ftmp\u002Fsc_doublet_demo\n\n# Default Scrublet, with batch-aware grouping\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Fsc_doublet.py \\\n  --input filtered.h5ad --output results\u002F --batch-key sample_id\n\n# scDblFinder with a custom expected rate\npython skills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Fsc_doublet.py \\\n  --input filtered.h5ad --output results\u002F \\\n  --method scdblfinder --expected-doublet-rate 0.1 --random-state 0\n```\n\n## See also\n\n- `references\u002Fparameters.md` — every CLI flag and per-method tuning hint\n- `references\u002Fmethodology.md` — when each backend wins, R vs Python tradeoffs\n- `references\u002Foutput_contract.md` — `obs` keys added + table schemas\n- Adjacent skills: `sc-ambient-removal` (parallel — fixes ambient RNA, complementary to doublet removal), `sc-filter` (upstream — typically run before this), `sc-clustering` (downstream — filter doublets out before clustering)\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`, `doubletdetection`, `matplotlib`, `numpy`, `pandas`, `scanpy`, `scipy`, `scrublet`, `seaborn`\n",{"name":5,"tags":40,"description":7},[27,29,24,23,22,21],"main","90a3bec3e6549bc33dddbf67e4b23869736c49d1","skills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection",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":50,"prompt":60,"zipAvailable":61},[51,54,57],{"tool":52,"command":53},"npx","npx skills add TianGzlab\u002FOmicsClaw --skill sc-doublet-detection",{"tool":55,"command":56},"bunx","bunx skills add TianGzlab\u002FOmicsClaw --skill sc-doublet-detection",{"tool":58,"command":59},"pnpm","pnpm dlx skills add TianGzlab\u002FOmicsClaw --skill sc-doublet-detection","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002FSKILL.md",true,[63,69,73,79,83,87,91,95,99,103,107],{"path":64,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":67,"sourceHtmlUrl":68},"_api.py","SCRIPT","脚本",18433,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002F_api.py",{"path":70,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":71,"sourceHtmlUrl":72},"examples\u002Fexample_step.py",983,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Fexamples\u002Fexample_step.py",{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"references\u002Fmethodology.md","REFERENCE","参考文档",1684,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Freferences\u002Fmethodology.md",{"path":80,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Foutput_contract.md",1160,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Freferences\u002Foutput_contract.md",{"path":84,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fparameters.md",2480,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Freferences\u002Fparameters.md",{"path":88,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fr_visualization.md",688,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Freferences\u002Fr_visualization.md",{"path":92,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":93,"sourceHtmlUrl":94},"sc_doublet.py",27033,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Fsc_doublet.py",{"path":96,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":97,"sourceHtmlUrl":98},"tests\u002F__init__.py",0,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Ftests\u002F__init__.py",{"path":100,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":101,"sourceHtmlUrl":102},"tests\u002Ftest_doublet_api.py",3664,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Ftests\u002Ftest_doublet_api.py",{"path":104,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":105,"sourceHtmlUrl":106},"tests\u002Ftest_doublet_r.py",3552,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Ftests\u002Ftest_doublet_r.py",{"path":108,"resourceType":65,"resourceTypeDesc":66,"sizeBytes":109,"sourceHtmlUrl":110},"tests\u002Ftest_sc_doublet.py",1979,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fsinglecell\u002Fscrna\u002Fsc-doublet-detection\u002Ftests\u002Ftest_sc_doublet.py",[112,125,137,153,178,200],{"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":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",[],[119,120,121,122,123,34,124],"demo skill","demo","tests","fixture","fixture skill","environment",{"skillNo":126,"name":127,"nameZh":6,"description":128,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":129,"categories":130,"keywords":131,"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",[],[132,133,134,121,122,135,136],"domains","fake domains","deployment","never","test",{"skillNo":138,"name":139,"nameZh":6,"description":140,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":141,"categories":142,"keywords":143,"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",[],[144,145,146,147,148,149,150,151,152],"me","replace me skill","template","directory","skill template","existing skill","new skill","bootstrap","scaffold",{"skillNo":154,"name":155,"nameZh":6,"description":156,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":157,"categories":158,"keywords":159,"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",[],[160,161,162,163,164,165,166,167,33,168,169,170,171,172,173,174,175,34,176,177],"velocity","spatial velocity","Spatial","scvelo","input","starsolo","time","deep","kb-python","via","velocyto","rna-velocity","velovi","dynamics","upstream","kb","python","deterministic",{"skillNo":179,"name":180,"nameZh":6,"description":181,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":182,"categories":183,"keywords":184,"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",[],[162,185,186,187,188,189,190,191,169,192,193,194,195,32,160,196,34,197,198,199],"trajectory","spatial trajectory","state","terminal","lineage","diffusion","cellrank","palantir","dpt","pseudotime","probability","default","branch","anndata","data",{"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,162,169,209,210,211,212,213,214,132,215,216,217,218,34,198,19,219,220],"spatial statistics","statistics","nhood-enrichment","co-occurrence","ripley","geary","moran","neighbourhood","ranking","autocorrelation","local","domain","enrichment","stats"]