bulkrna-batch-correcti…
Load when correcting batch effects in bulk expression using R sva ComBat or the legacy Python parametric approximation. Skip…
Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or
Claude Code
$ npx -y skills add tiangzlab/omicsclaw --skill bulkrna-deconvolution --agent claude-code
Codex
$ npx skills add tiangzlab/omicsclaw --skill bulkrna-deconvolution -a codex -y
Cursor
$ npx skills add tiangzlab/omicsclaw --skill bulkrna-deconvolution -a cursor -y
Gemini CLI
$ npx skills add tiangzlab/omicsclaw --skill bulkrna-deconvolution -a gemini-cli -y
GitHub Copilot
$ npx skills add tiangzlab/omicsclaw --skill bulkrna-deconvolution -a github-copilot -y
OpenCode
$ npx skills add tiangzlab/omicsclaw --skill bulkrna-deconvolution -a opencode -y
Windsurf
$ npx skills add tiangzlab/omicsclaw --skill bulkrna-deconvolution -a windsurf -y
name: bulkrna-deconvolution description: Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or signature-matrix reference. Skip when the data is already single-cell (no deconvolution needed); spatial deconvolution (use spatial-deconv). trigger: bulk deconvolution, cell type proportion, NNLS, CIBERSORTx, bulk deconv, cell fraction tags: - bulkrna - deconvolution - NNLS - cell-type-proportion
Estimate bulk cell-type proportions with an explicit signature matrix. See the description for adjacent skills.
from skills._sdk.notebook import load_skill, read_input, write_output
library = load_skill("bulkrna-deconvolution")
# Supply DataFrames read with read_input(..., reader=...) for your CSV layout.
result = library.deconvolve(counts, signature=signature)
write_output(result, "tables/result.csv")The synthetic worked step is in `examples/example_step.py`.
<!-- api:begin generated from _api.py; regenerate with run.py api <skill dir> --write -->
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.
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.
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 -->
See [parameters](references/parameters.md) and [methodology](references/methodology.md).
The library returns objects without file writes. CLI inventory:
**Inputs**
**Outputs**
python skills/bulkrna/bulkrna-deconvolution/bulkrna_deconvolution.py --demo --output /tmp/bulkrna-deconvolution
`matplotlib`, `numpy`, `pandas`, `scipy`
Conversational & memory-enabled AI research partner for multi-omics analysis. CLI + Desktop App (installers in Releases). From biological idea to full research paper.
Load when correcting batch effects in bulk expression using R sva ComBat or the legacy Python parametric approximation. Skip…
Load when discovering bulk gene co-expression modules and hub genes with R WGCNA. Skip direct expression contrasts (use…
Load when comparing gene expression between two conditions in bulk RNA-seq count data. Skip
Load when running pathway / GO term enrichment on a bulk RNA-seq DE result list. Skip when
Load when converting Ensembl, Entrez or symbol IDs in a bulk RNA count matrix using an explicit mapping or a small human demo…
Load when querying STRING for the protein-protein interaction neighborhood of a bulk
Use this skill when the user requests to review, analyze, critique, or summarize academic papers, research articles, preprints,…
Research what people actually say about any topic in the last 30 days. Pulls posts and engagement from Reddit, X, YouTube,…
Estimates intracellular metabolic fluxes from steady-state carbon-13 isotope-tracing measurements using validated atom maps,…
Search literature across sources, verify or manage citations, and build MeSH strategies or citation-impact audits. Use for…