tiangzlab/omicsclaw/bulkrna-deconvolution
Claude Code and agent skill by tiangzlab/omicsclaw
- community
Checking that the SKILL.md file is still in the repository.
Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or
Install
npx vskill@latest install tiangzlab/omicsclaw/bulkrna-deconvolutionSKILL.md
bulkrna-deconvolution
When to use
Estimate bulk cell-type proportions with an explicit signature matrix. See the description for adjacent skills.
Use from a step
The synthetic worked step is in examples/example_step.py.
API
<!-- api:begin generated from _api.py; regenerate with run.py api <skill dir> --write -->
deconvolve(counts, *, signature)
Estimate sample proportions without changing either input.
:param counts: Nonnegative gene-by-sample expression DataFrame. :param signature: Required gene-by-cell-type reference, matching the CLI --reference. :returns: Sample-by-cell-type DataFrame; diagnostics contain residuals and shared genes. :raises ValueError: Matrices have invalid values, duplicate labels or no shared genes.
run_info(result, *, keep=True)
Read reference overlap and reconstruction diagnostics.
:param result: DataFrame returned by deconvolve. :param keep: Default True; False removes diagnostics from attrs. :returns: Diagnostic dictionary, empty after removal.
proportions_figure(result)
Plot estimated cell-type proportions per sample.
:param result: Sample-by-cell-type DataFrame from deconvolve. :returns: A matplotlib Figure, without writing files. :raises ValueError: The table cannot be plotted as numeric proportions.
<!-- api:end -->
Methods and parameters
See parameters and methodology.
Gotchas
deconvolverequires shared gene identifiers and nonnegative matrices.run_info()['residuals']measures fit to the supplied reference, not confidence intervals.- NNLS is the only backend;
deconvolvedoes not call CIBERSORTx or MuSiC.
Inputs and outputs
The library returns objects without file writes. CLI inventory:
Inputs
- File types:
.csv
Outputs
tables/dominant_types.csvtables/proportions.csvfigures/mean_proportions_pie.pngfigures/proportions_heatmap.pngfigures/proportions_stacked.pngreport.mdresult.json
CLI
See also
Dependencies
matplotlib, numpy, pandas, scipy
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/bulkrna/bulkrna-deconvolution/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/tiangzlab/omicsclaw/bulkrna-deconvolution)