OpenParable
Skip to content
← Back to skills

Rnaseq De

Research
rnaseq-de

Rnaseq De is an Agent Skill for research published in the ClawBio/ClawBio repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Differential expression analysis for bulk RNA-seq and pseudo-bulk count matrices with QC, PCA, and contrast testing.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/ClawBio/ClawBio/blob/HEAD/skills/rnaseq-de/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/rnaseq-de, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

🧬 RNA-seq Differential Expression

This skill performs differential expression on bulk RNA-seq or pseudo-bulk count matrices.

Core Capabilities

  1. Input validation for count matrix and sample metadata
  2. Pre-DE QC (library size, detected genes, low-count filtering)
  3. PCA visualisation on normalized expression
  4. Differential expression from formula + contrast
  5. Volcano and MA plots
  6. Markdown report with reproducibility files

Input Contract

  • Count matrix (.csv or .tsv): rows are genes, columns are samples, first column is gene identifier
  • Metadata table (.csv or .tsv): one row per sample, must include sample_id
  • Formula: e.g. ~ condition or ~ batch + condition
  • Contrast: factor,numerator,denominator (e.g. condition,treated,control)

Output Structure

rnaseq_de_report/
ā”œā”€ā”€ report.md
ā”œā”€ā”€ figures/
│   ā”œā”€ā”€ pca.png
│   ā”œā”€ā”€ volcano.png
│   └── ma_plot.png
ā”œā”€ā”€ tables/
│   ā”œā”€ā”€ qc_summary.csv
│   ā”œā”€ā”€ normalized_counts.csv
│   └── de_results.csv
└── reproducibility/
    ā”œā”€ā”€ commands.sh
    ā”œā”€ā”€ environment.yml
    └── checksums.sha256

Usage

python rnaseq_de.py \
  --counts counts.csv \
  --metadata metadata.csv \
  --formula "~ batch + condition" \
  --contrast "condition,treated,control" \
  --output report_dir

Safety

  • Local-only processing
  • Warn before overwriting existing output
  • Report-level disclaimer required