scrna-orchestrator
Local Scanpy pipeline for single-cell RNA-seq QC, optional doublet detection, clustering, marker discovery, optional CellTypist annotation, optional latent…
Skill by Yonghao Zhao
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/clawbio-scrna-orchestrator
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: data
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/scrna-orchestrator
What's inside
- Skill name
scrna-orchestrator- Description
- Local Scanpy pipeline for single-cell RNA-seq QC, optional doublet detection, clustering, marker discovery, optional CellTypist annotation, optional latent downstream mode from integrated.h5ad/X_scvi, and optional dataset-level plus within-cluster contrastive marker analysis from raw-count .h5ad or 10x Matrix Market input.
- License
- MIT
- Metadata
- author: Yonghao Zhao · version: 0.1.0
- Instructions
- 227 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (3)
- SKILL.md
- scrna_orchestrator.py
- test_scrna_orchestrator.py · tests/
SKILL.md (first lines)
# 🦖 scRNA Orchestrator You are **scRNA Orchestrator**, a specialised ClawBio agent for local single-cell RNA-seq analysis with Scanpy. ## Why This Exists Single-cell workflows are easy to misconfigure and hard to reproduce when run ad hoc. - **Without it**: Users manually stitch QC, normalization, clustering, marker analysis, and latent downstream interpretation with inconsistent defaults. - **With it**: One command produces a consistent `report.md`, figures, tables, structured metadata, and a reproducibility bundle, whether the graph is built from PCA or `X_scvi`. - **Why ClawBio**: The workflow is local-first, explicit about assumptions (raw counts), and ships machine-readable outputs. ## Core Capabilities 1. **QC and Filtering**: Mitochondrial percentage filtering and min genes/cells thresholds. 2. **Optional Doublet Detection**: Scrublet on QC-filtered raw counts before downstream analysis. 3. **Preprocessing**: Library-size normalization, `log1p`, and HVG selection. 4. **Embedding and Clustering**: PCA or latent-representation neighbors graph, UMAP, Leiden clustering. 5. **Cluster Markers**: Wilcoxon cluster-vs-rest marker detection on normalized full-gene expression. 6. **Optional Cell Type Annotation**: Local-only CellTypist annotation aggregated to cluster-level putative labels. 7. **Optional Dataset-Level Contrasts**: All-pairs Wilcoxon contrastive marker analysis across the observed values of any `obs` column. 8. **Optional Within-Cluster Contrasts**: All-pairs Wilcoxon contrastive marker analysis inside each Leiden cluster or another chosen partition column. 9. **Reporting**: Markdown report, CSV/TSV tables, PNG figures, and reproducibility files. ## Input Formats | Format | Extension | Required Fields | Example | |--------|-----------|-----------------|---------| | AnnData raw counts or latent downstream artifact | `.h5ad` | Raw count matrix in `X` or recoverable raw counts in `layers["counts"]`; optional latent rep in `obsm["X_scvi"]`; cell metadata in `obs`; gene metadata in `var` | `pbmc_raw.h5ad`, `integrated.h5ad` | | 10x Matrix Market | directory, `.mtx`, `.mtx.gz` | `matrix.mtx(.gz)` plus matching `barcodes.tsv(.gz)` and `features.tsv(.gz)` or `genes.tsv(.gz)` | `filtered_feature_bc_matrix/` | | Demo mode | n/a | none | `python clawbio.py run scrna --demo` | Notes: - Processed/normalized/scaled `.h5ad` inputs are rejected unless they are a recoverable latent downstream artifact with raw counts preserved in `layers["counts"]`. - 10x input can be passed as the containing directory or directly as `matrix.mtx(.gz)`. - `pbmc3k_processed`-style inputs are out of scope for this skill. ## Workflow When the user asks for scRNA QC/clustering/markers/annotation/contrastive markers: 1. **Validate**: Check raw-count `.h5ad` or 10x Matrix Market input (or `--demo`), and reject processed-like matrices. 2. **Filter**: Run QC filtering, and optionally remove predicted doublets with Scrublet. 3. **Process**: Normalize, `log1p`, select HVGs, and build the graph from PCA or a latent rep such as `X_scvi`. 4. **Analyze**: - Always run cluster marker analysis (`leiden`, Wilcoxon). - Optionally run CellTypist on the normalized full-gene matrix. - Optionally run dataset-level contrasts, within-cluster contrasts, or both when `--contrast-groupby` is provided. 5. **Generate**: Write `report.md`, `result.json`, tables, figures, and reproducibility bundle. ## CLI Reference ```bash # Standard usage python skills/scrna-orchestrator/scrna_orchestrator.py \ --input <input.h5ad> --output <report_dir> # 10x Matrix Market directory python skills/scrna-orchestrator/scrna_orchestrator.py \ --input <filtered_feature_bc_matrix_dir> --output <report_dir> # Direct matrix.mtx(.gz) path python skills/scrna-orchestrator/scrna_orchestrator.py \ --input <matrix.mtx.gz> --output <report_dir> # Demo mode python skills/scrna-orchestrator/scrna_orchestrator.py \ --demo --output <report_dir> # Optional doublet detection python skills/scrna-orchestrator/scrna_orchestrator.py \ --input <input.h5ad> --output <report_dir> \ --doublet-method scrublet # Optional CellTypist annotation python skills/scrna-orchestrator/scrna_orchestrator.py \ --input <input.h5ad> --output <report_dir> \ --annotate celltypist --annotation-model Immune_All_Low # Optional dataset-level pairwise contrasts python skills/scrna-orchestrator/scrna_orchestrator.py \ --input <input.h5ad> --output <report_dir> \ --contrast-groupby <obs_column> --contrast-scope dataset # Optional dataset-level + within-cluster contrasts together python skills/scrna-orchestrator/scrna_orchestrator.py \ --input <input.h5ad> --output <report_dir> \ --contrast-groupby <obs_column> --contrast-scope both \ --contrast-clusterby leiden # Optional latent downstream mode python skills/scrna-orchestrator/scrna_orchestrator.py \ --input <integrated.h5ad> --output <report_dir> \ --use-rep X_scvi # Via ClawBio runner python clawbio.py run scrna --input <input.h5ad> --output <report_dir> python clawbio.py run scrna --input <filtered_feature_bc_matrix_dir> --output <report_dir> python clawbio.py run scrna --demo ``` ## Demo ```bash python clawbio.py run scrna --demo python clawbio.py run scrna --demo --doublet-method scrublet ``` Expected output: - `report.md` with QC, clustering, markers, and optional annotation/contrast summaries - figure files (`qc_violin.png`, `umap_leiden.png`, `marker_dotplot.png`) - marker, doublet, annotation, dataset-level contrast, and within-cluster contrast tables when enabled - reproducibility bundle ## Algorithm / Methodology 1. **QC**: - Compute QC metrics (`n_genes_by_counts`, `total_counts`, `pct_counts_mt`)
From ClawBio/ClawBio, MIT.
More from ClawBio/ClawBio
- 0.825score
polars-bio
ClawBio (adapted from K-Dense scientific-agent-skills/polars-bio)
Fast genomic interval operations (overlap, nearest, merge, coverage, cluster, complement, subtract, count-overlaps), multi-format bioinformatics I/O…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
ena-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download sequencing data from the European Nucleotide Archive (ENA) via the Portal and Browser APIs.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
protocols-io
ClawBio Contributors
Search, browse, and retrieve scientific protocols from protocols.io via REST API.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
geo-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from the NCBI Gene Expression Omnibus (GEO).
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
ukb-ppp-region-fetch
ClawBio
Fetch a regional slice of plasma pQTL summary statistics from the UK Biobank Pharma Proteomics Project (UKB-PPP; Sun 2023 Nature) for a specific (protein…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
wgs-prs
David de Lorenzo
End-to-end WGS to polygenic risk score pipeline.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
gi-expression
ClawBio + Genomic Intelligence
Predict tissue / cell-type expression (log TPM + TPM) from 9,198–500,000 bp of DNA around a TSS, at least 4,599 bp each side (anything but exactly 9,198 bp…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
gwas-sumstats-harmonize
AlsammanAlsamman
Harmonize GWAS summary statistics from any common format (GWAS-Catalog SSF, PLINK 1.9/2, REGENIE, METAL, BOLT, SAIGE) to one canonical table (SNP CHR BP EA…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
prs-applicability-gate
Rinat Rizvanov
Deterministic gate for ONE already-computed polygenic score result and ONE person: returns SUPPORTED (raw score, standardised score and reference percentile…
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
pride-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from the PRIDE Archive, EMBL-EBI's proteomics identifications database, via the PRIDE Archive REST API v3.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
eqtl-catalogue-region-fetch
ClawBio
Fetch a region of cis-eQTL summary statistics from EBI eQTL Catalogue v7+ via tabix-on-FTP.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.822score
biostudies-fetch
Nikolai Hecker, UK Dementia Research Institute
Query metadata and download data from EMBL-EBI BioStudies, the database that describes biological studies and links their data across collections…
SkillAFreshness: A★ 1.2KClaude Code +9
Compare and alternatives
Featured in
Signals
- Stars
- 1,166
- Forks
- 288
- Open issues
- 27
- Last commit (this folder)
- Apr 24, 2026 (6 months ago)
- Last release
- Sep 11, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- Version
- 0.1.0
- License
- MIT
- Repository
- github.com/ClawBio/ClawBio
- Website
- clawbio.github.io/ClawBio/
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from Yonghao Zhao
- 0.815score
diff-visualizer
Yonghao Zhao
Rich downstream visualisation and reporting for bulk RNA-seq differential expression and scRNA marker/contrast outputs.
SkillAFreshness: A★ 1.2KClaude Code +9 - 0.773score
scrna-embedding
Yonghao Zhao
Local scVI/scANVI-based single-cell latent embedding and batch-aware integration from raw-count .h5ad or 10x Matrix Market input, with stable integrated…
SkillBFreshness: B★ 1.2KClaude Code +9
Cite this page
scrna-orchestrator skill. Agent Mart. https://agentmart.dev/skills/clawbio-scrna-orchestrator (last updated 2026-10-24)