Agent skill

Bulkrna Deconvolution

by TianGzlab in TianGzlab/OmicsClaw

Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or signature-matrix reference.

Apache-2.0Auto-check passedResearch & Science

Install Bulkrna Deconvolution

skills CLI
$ npx skills add TianGzlab/OmicsClaw --skill bulkrna-deconvolution -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TianGzlab/OmicsClaw bulkrna-deconvolution --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TianGzlab/OmicsClaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/bulkrna/bulkrna-deconvolution .claude/skills/bulkrna-deconvolution && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
bulkrna-deconvolution
GitHub stars
161
Token cost
~757 tokens
SKILL.md length
207 words
Files
10 (incl. references)
Skills in repo
88
Repo updated
First seen
Licence
Apache-2.0

At a glance

Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or signature-matrix reference.

  • Tasks that involve Bioinformatics
  • SKILL.md covers When to use, Use from a step, API and Methods and parameters, plus 5 more sections
  • Runs Python scripts from its folder; calls python

What it does

Bulkrna Deconvolution is an agent skill from TianGzlab/OmicsClaw. 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).

Its SKILL.md is about 760 tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including reference files (for example `_api.py`, `bulkrna_deconvolution.py` and `examples/example_step.py`).

It sits in Research & Science, covering Bioinformatics. The repository describes itself as: Conversational & memory-enabled AI research partner for multi-omics analysis. CLI + Desktop App (installers in Releases). From biological idea to full research paper. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Bioinformatics

Example prompts

  • “/bulkrna-deconvolution”

Requirements

  • Python 3

What it can do on your machine

Read from SKILL.md and the folder at commit 90a3bec. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • python

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Bulkrna Deconvolution loads about 757 tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 63 tokens; SKILL.md has 207 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~63
When it runs · the whole SKILL.md, loaded when a task matches
~757
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from TianGzlab/OmicsClaw at commit 90a3bec, republished under its Apache-2.0 licence (© TianGzlab). 207 words, ~757 tokens.

Download SKILL.mdSave it as .claude/skills/bulkrna-deconvolution/SKILL.md (or your agent's skills folder). This skill also uses 9 other files; get the full folder from GitHub.
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

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

python
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

<!-- 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

  • deconvolve requires shared gene identifiers and nonnegative matrices.
  • run_info()['residuals'] measures fit to the supplied reference, not confidence intervals.
  • NNLS is the only backend; deconvolve does 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.csv
  • tables/proportions.csv
  • figures/mean_proportions_pie.png
  • figures/proportions_heatmap.png
  • figures/proportions_stacked.png
  • report.md
  • result.json

CLI

bash
python skills/bulkrna/bulkrna-deconvolution/bulkrna_deconvolution.py --demo --output /tmp/bulkrna-deconvolution

See also

Dependencies

matplotlib, numpy, pandas, scipy

© TianGzlab, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 9 other files (references) in skills/bulkrna/bulkrna-deconvolution of TianGzlab/OmicsClaw.

  • SKILL.md
  • _api.py
  • bulkrna_deconvolution.py
  • examples/example_step.py
  • references/methodology.md
  • references/output_contract.md
  • references/parameters.md
  • tests/__init__.py
  • tests/test_api.py
  • tests/test_bulkrna_deconvolution.py

Open the folder on GitHubat commit 90a3bec

Compare with similar skills

Bulkrna Deconvolution next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Bulkrna Deconvolution compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Bulkrna Deconvolution this skillTianGzlab/OmicsClaw161—~757Automated safety check: PassApache-2.0
Dbsnp Databasegoogle-deepmind/science-skills3.2k3 repos~3.4kAutomated safety check: NotesApache-2.0
Metabolic Study Planneraiming-lab/AutoResearchClaw15k—~1.9kAutomated safety check: PassMIT
13C Metabolic Flux AnalysisK-Dense-AI/scientific-agent-skills48k1 repos~3.2kAutomated safety check: PassMIT
Alphagenome Single Variant Analysisgoogle-deepmind/science-skills3.2k2 repos~3kAutomated safety check: NotesApache-2.0
MFA Pipeline Orchestratoraiming-lab/AutoResearchClaw15k—~923Automated safety check: PassMIT

Similar skills

  • Dbsnp Database

    google-deepmind/science-skills

    A skill your agent uses when you want to look up, map, and search for short genetic variants (SNPs, indels) in NCBI's dbSNP database.

    3.2k GitHub starsUsed in 3 repos~3.4k tokens
    Research & ScienceAuto-check: notes
  • Metabolic Study Planner

    aiming-lab/AutoResearchClaw

    Turns a broad metabolic modelling topic into a concrete, paper-shaped plan with organism, model, perturbations, metrics and figures before any FBA code is written.

    15k GitHub stars~1.9k tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed
  • 13C Metabolic Flux Analysis

    K-Dense-AI/scientific-agent-skills

    Estimates reaction fluxes inside cells from steady-state carbon-13 labeling data with a bundled mfapy-based solver, and reports which fluxes the data pin down.

    48k GitHub starsUsed in 1 repo~3.2k tokens
    Research & ScienceAuto-check passed
  • Alphagenome Single Variant Analysis

    google-deepmind/science-skills

    Analyzes genetic variant effects on gene expression (RNA-seq), chromatin accessibility (DNASE), histone marks (ChIP), and transcription factors using the AlphaGenome API.

    3.2k GitHub starsUsed in 2 repos~3k tokens
    Research & ScienceAuto-check: notes
  • MFA Pipeline Orchestrator

    aiming-lab/AutoResearchClaw

    Runs a metabolic flux analysis from model loading to phenotype prediction and figures by handing work to four sub-agents in sequence.

    15k GitHub stars~923 tokensUpdated 1 mo ago
    Research & ScienceAuto-check passed
  • Singlecell Qc

    xuzhougeng/wisp-science

    A skill your agent uses when designing, reviewing, or implementing single-cell RNA-seq QC in Python or R with a human-in-the-loop, data-driven approach.

    1k GitHub stars~1.6k tokensUpdated today
    Research & ScienceAuto-check passed

More from TianGzlab/OmicsClaw

All 88 skills in this repo
  • Bulkrna De

    TianGzlab/OmicsClaw

    Load when comparing gene expression between two conditions in bulk RNA-seq count data.

    161 GitHub starsUsed in 1 repo~867 tokens
    Auto-check passed
  • Bulkrna Cosinor Rhythm

    TianGzlab/OmicsClaw

    Load when the user needs Deterministic fixed-period 24-hour single-component cosinor OLS rhythm analysis for a bulk RNA time-course CSV.

    161 GitHub stars~840 tokensUpdated today
    Auto-check passed
  • Bulkrna Qc

    TianGzlab/OmicsClaw

    Load when checking a bulk RNA-seq count matrix for library-size outliers, gene detection rates, and sample-sample correlation before DE.

    161 GitHub starsUsed in 1 repo~789 tokens
    Auto-check passed
  • Sc Fastq Qc

    TianGzlab/OmicsClaw

    Load when checking raw single-cell FASTQ read quality (Phred / GC / adapter / length) before counting.

    161 GitHub starsUsed in 1 repo~1k tokens
    Auto-check passed
  • Sc Filter

    TianGzlab/OmicsClaw

    Load when removing low-quality cells and lowly-detected genes from a single-cell AnnData using QC-derived thresholds or tissue presets.

    161 GitHub starsUsed in 1 repo~2.1k tokens
    Auto-check passed
  • Sc Markers

    TianGzlab/OmicsClaw

    Load when ranking cluster-level marker genes from a clustered single-cell AnnData via Scanpy Wilcoxon / t-test / logreg or COSG specificity.

    161 GitHub starsUsed in 1 repo~2.2k tokens
    Auto-check passed

Questions about Bulkrna Deconvolution

What does Bulkrna Deconvolution do?

Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or signature-matrix reference. Bulkrna Deconvolution is an agent skill from TianGzlab/OmicsClaw. Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or signature-matrix reference.

When should I use Bulkrna Deconvolution?

Bulkrna Deconvolution fits situations like: tasks that involve Bioinformatics.

How do I install Bulkrna Deconvolution in Claude Code?

Run `npx skills add TianGzlab/OmicsClaw --skill bulkrna-deconvolution -a claude-code`. Or copy the skill folder (skills/bulkrna/bulkrna-deconvolution in TianGzlab/OmicsClaw) into .claude/skills/bulkrna-deconvolution in your project. Claude Code loads it when a task matches its description.

How do I install Bulkrna Deconvolution in Codex?

Run `npx skills add TianGzlab/OmicsClaw --skill bulkrna-deconvolution -a codex`. Or copy the skill folder (skills/bulkrna/bulkrna-deconvolution in TianGzlab/OmicsClaw) into .agents/skills/bulkrna-deconvolution in your project. Codex loads it when a task matches its description.

Can I use Bulkrna Deconvolution in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TianGzlab/OmicsClaw --skill bulkrna-deconvolution -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/bulkrna-deconvolution, .gemini/skills/bulkrna-deconvolution, .github/skills/bulkrna-deconvolution and .opencode/skills/bulkrna-deconvolution in your project.

What does Bulkrna Deconvolution need to run?

Going by SKILL.md and its folder, Bulkrna Deconvolution needs Python for the scripts in its folder and the command-line tools its instructions call (python). Our summary lists: Python 3.

Does Bulkrna Deconvolution access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Bulkrna Deconvolution safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Bulkrna Deconvolution use?

Bulkrna Deconvolution is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Bulkrna Deconvolution use?

About 757 tokens (SKILL.md is roughly 3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1k tokens, read only when the agent opens those files.

What are the alternatives to Bulkrna Deconvolution?

Skills that share tags, products or a category with Bulkrna Deconvolution: Dbsnp Database (google-deepmind/science-skills, 3.2k stars), Metabolic Study Planner (aiming-lab/AutoResearchClaw, 15k stars), 13C Metabolic Flux Analysis (K-Dense-AI/scientific-agent-skills, 48k stars) and Alphagenome Single Variant Analysis (google-deepmind/science-skills, 3.2k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Bulkrna Deconvolution?

TianGzlab (a GitHub organization) maintains it in TianGzlab/OmicsClaw, which has 161 GitHub stars. The repository holds 88 skills in this directory. The repository was last updated on October 7, 2026.

Source: TianGzlab/OmicsClaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.