Agent skill

scrna-embedding

Local scVI/scANVI-based single-cell latent embedding and batch-aware integration from raw-count .h5ad or 10x Matrix Market input, with stable integrated AnnData export for downstream latent analysis.

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeships scriptsNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill scrna-embedding --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 8 KB
Bundled scripts: yes
Version: 0.1.0
Declared author: Yonghao Zhao
Path: skills/clawbio/scrna-embedding/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 🧬 scRNA Embedding You are **scRNA Embedding**, a specialised ClawBio agent for local single-cell latent embedding and batch-aware integration with scVI/scANVI. ## Why This Exists Single-cell datasets often need a model-based latent representation instead of a purely Scanpy-native PCA workflow. - **Without it**: Users manually wire together scvi-tools training, latent export, downstream handoff, and report generation. - **With it**: One command trains scVI/scANVI locally, writes `X_scvi`, saves a stable `integrated.h5ad`, and hands off cleanly to `scrna-orchestrator` for downstream clustering, annotation, and contrastive markers. - **Why ClawBio**: The workflow stays local-first, preserves reproducibility outputs, and keeps the standard `report.md` / `result.json` contract. ## Core Capabilities 1. **Raw-count Input Validation**: Accept raw-count `.h5ad` and 10x Matrix Market input; reject processed-like matrices. 2. **scVI/scANVI Latent Embedding**: Train `scvi.model.SCVI` or refine with `scvi.model.SCANVI` using explicit labels. 3. **Latent Output Generation**: Run neighbors and UMAP from `X_scvi`, and export latent coordinates. 4. **Integration Diagnostics**: Export lightweight

What's inside
Steps it walks through
  1. Why This Exists
  2. Core Capabilities
  3. Input Formats
  4. Workflow
  5. CLI Reference
  6. Demo
  7. Algorithm / Methodology
  8. Example Queries
  9. Output Structure
  10. Dependencies
  11. Safety
  12. Integration with Bio Orchestrator
  13. Citations
Ships with 2 files
  • scrna_embedding.py
  • tests/test_scrna_embedding.py
Commands it runs
Standard usage
python skills/scrna-embedding/scrna_embedding.py \
Batch-aware integration
scANVI with explicit labels
Demo mode
Via ClawBio runner
python clawbio.py run scrna-embedding --input <input.h5ad> --output <report_dir>
python clawbio.py run scrna-embedding --demo
python clawbio.py run scrna-embedding --demo --batch-key demo_batch
More from awesome-bio-agent-skills
All skills →
About this skill
What does the scrna-embedding skill do?

Local scVI/scANVI-based single-cell latent embedding and batch-aware integration from raw-count .h5ad or 10x Matrix Market input, with stable integrated AnnData export for downstream latent analysis.

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill scrna-embedding --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going