tiangzlab/omicsclaw/bulkrna-qc

Claude Code and agent skill by tiangzlab/omicsclaw

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Load when checking a bulk RNA-seq count matrix for library-size outliers, gene detection

Install

npx vskill@latest install tiangzlab/omicsclaw/bulkrna-qc

SKILL.md

bulkrna-qc

When to use

Assess raw integer count matrices before bulk differential expression. 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-qc")
# Supply DataFrames read with read_input(..., reader=...) for your CSV layout.
result = library.assess(counts)
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 -->

assess(counts)

Measure library size and detection on raw counts without changing input.

:param counts: Gene-by-sample nonnegative integer DataFrame with unique labels. :returns: Sample-indexed DataFrame with QC metrics and diagnostic attrs. :raises ValueError: The matrix is invalid or a sample has no counts.

run_info(result, *, keep=True)

Read QC diagnostics and auxiliary matrices.

:param result: DataFrame returned by assess. :param keep: Default True; False removes diagnostics from result.attrs. :returns: A diagnostic dictionary, empty when no record remains.

normalized_counts(result)

Return CPM for visualization, not differential-expression input.

:param result: DataFrame returned by assess with its diagnostics retained. :returns: New gene-by-sample CPM DataFrame. :raises KeyError: QC diagnostics have been removed.

library_figure(result)

Plot total counts per sample without saving files.

:param result: QC table returned by assess. :returns: A matplotlib Figure; the caller saves and closes it. :raises KeyError: total_counts is missing.

<!-- api:end -->

Methods and parameters

See parameters and methodology.

Gotchas

  • assess rejects empty libraries instead of producing undefined CPM.
  • normalized_counts returns CPM for figures, not DE input.
  • run_info()['outlier_samples'] is correlation-based; check biological groups before removing samples.

Inputs and outputs

The library returns objects without file writes. CLI inventory:

Inputs

  • File types: .csv

Outputs

  • tables/cpm_normalized.csv
  • tables/sample_stats.csv
  • figures/expression_density.png
  • figures/gene_detection.png
  • figures/library_sizes.png
  • figures/sample_correlation.png
  • report.md
  • result.json

CLI

bash
python skills/bulkrna/bulkrna-qc/bulkrna_qc.py --demo --output /tmp/bulkrna-qc

See also

Dependencies

matplotlib, numpy, pandas, scipy

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
0

Refreshed 8 Oct 2026, 28 days ago.

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
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tiangzlab/omicsclaw/bulkrna-qc/badge)](https://verified-skill.com/skills/tiangzlab/omicsclaw/bulkrna-qc)

Something wrong with this skill or its page? Tell us.