differential-expression

differential-expression is a skill for Claude Code, Codex from zongtingwei/Bioclaw_Skills_Hub. It costs 31 tokens per session (963 once invoked), scanned A, original, MIT.

A workflow for finding genes whose activity differs between experimental groups using bulk RNA-sequencing count data. It checks the comparison design, fits a count-aware statistical model, and creates ranked results and common plots.

In plain words
What is it for?
Use it to compare treatments, conditions, or genotypes, model batch or pairing effects, rank changed genes, and export volcano plots, MA plots, and pathway-ready tables.
Why use it?
It helps avoid misleading comparisons caused by incorrect group definitions, batches, or paired samples. It also turns the statistical results into tables and plots suitable for follow-up analysis.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to compare treatments, conditions, or genotypes, model batch or pairing effects, rank changed genes, and export volcano plots, MA plots, and pathway-ready tables.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zongtingwei/bioclaw_skills_hub/differential-expression
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add zongtingwei/Bioclaw_Skills_Hub --skill differential-expression
Clone the repo
git clone --depth 1 https://github.com/zongtingwei/Bioclaw_Skills_Hub

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for differential-expression

README.md
[![agentmods](https://agentmods.dev/badge/skills/zongtingwei/bioclaw_skills_hub/differential-expression/github.svg)](https://agentmods.dev/skills/zongtingwei/bioclaw_skills_hub/differential-expression)
Your own site
<a href="https://agentmods.dev/skills/zongtingwei/bioclaw_skills_hub/differential-expression"><img src="https://agentmods.dev/badge/skills/zongtingwei/bioclaw_skills_hub/differential-expression/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for differential-expression

Your own site · 80×15
<a href="https://agentmods.dev/skills/zongtingwei/bioclaw_skills_hub/differential-expression"><img src="https://agentmods.dev/badge/skills/zongtingwei/bioclaw_skills_hub/differential-expression.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 963 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.00963
Opus 5 $0.00015 $0.00481
Sonnet 5 $0.00006 $0.00193
Haiku 4.5 $0.00003 $0.00096

Measured 9d ago against content hash 97a37fce6dc1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

differential-expression scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/transcriptomics/differential-expression/SKILL.md · 165 lines

How it starts

The opening of the file, as written. The whole thing — 165 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Differential Expression

Version Compatibility

Reference examples assume:

  • pydeseq2 0.4+
  • pandas 2.2+
  • numpy 1.26+
  • matplotlib 3.8+

Verify before use:

  • Python: python -c "import pydeseq2, pandas; print(pydeseq2.__version__, pandas.__version__)"

Overview

Use this skill for count-based DE from bulk RNA-seq or similar count matrices when the user needs:

  • robust model fitting
  • explicit contrasts
  • ranked gene tables
  • volcano and MA plots
  • pathway-ready output tables

When To Use This Skill

  • raw count matrix and sample metadata are available
  • the task is condition, treatment, or genotype comparison
  • batch or pairing terms may need explicit modeling

Quick Route

  • no replicates: do not pretend formal DE is robust
  • 2 replicates per group: possible but conservative interpretation
  • 3 or more replicates per group: standard starting point

Progressive Disclosure

Prerequisites

Requirement Recommendation
minimum replicates per group >= 2
preferred replicates per group >= 3
input values raw integer counts

Expected Inputs

  • raw count matrix
  • sample metadata
  • explicit contrast such as treated vs control

Expected Outputs

  • results/de_results.tsv
  • results/de_ranked_genes.tsv
  • figures/volcano.pdf
  • figures/ma_plot.pdf
  • qc/sample_pca.pdf

Starter Pattern

from pydeseq2.dds import DeseqDataSet
from pydeseq2.ds import DeseqStats

dds = DeseqDataSet(
    counts=counts_df,
    metadata=metadata_df,
    design_factors=["condition", "batch"],
)
dds.deseq2()
stats = DeseqStats(dds, contrast=("condition", "treated", "control"))
stats.summary()
res = stats.results_df.sort_values("padj")
res.to_csv("results/de_results.tsv", sep="\t")

Read the full file on GitHub · 165 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 165 lines · 31 tokens per session scan A 97a37fce6dc1

Subscribe to this mod's changes

differential-expression is a skill published in the GitHub repository zongtingwei/Bioclaw_Skills_Hub (26 stars, last pushed 5mo ago), licensed MIT. It adds 31 tokens to every session and 963 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

academic-paper-to-chinese-insight-pdf

Turn an academic paper PDF into a high-quality Chinese insight report and export it as a polished Chinese PDF. Use when asked to read a paper, translate or summarize a paper into Chinese, extract the paper's core ideas, produce original insights/opinions, explain the paper in simpler language, or deliver a Chinese PDF…

davidtoby/agent-skills · 113 tokens

chinese-pdf-document-workflows

Class-level workflow for extracting, converting, editing, and producing polished Chinese PDFs and document reports from PDFs, papers, webpages, markdown, and video transcripts. Use when asked to create Chinese PDF reports, fix Chinese font/glyph rendering, summarize academic papers into Chinese insight reports…

davidtoby/agent-skills · 83 tokens

jupyter-live-kernel

Iterative Python via live Jupyter kernel (hamelnb).

davidtoby/agent-skills · 19 tokens

ilya-sutskever-perspective

A thinking guide based on Ilya Sutskever’s public conversations, research papers, testimony, and recommended sources. It applies that material to AI research direction, technical reasoning, and safety questions.

davidtoby/agent-skills · 183 tokens

morph-ppt

Use this skill when the user wants a .pptx with smooth cross-slide animation — PowerPoint Morph transitions, Keynote-style continuous motion, shapes that grow / move / rotate as the slide advances. Trigger on: 'morph', 'morph transition', 'smooth transition', 'continuous animation across slides', 'Keynote-style…

iOfficeAI/OfficeCLI · 169 tokens

officecli-academic-paper

Use this skill to build academic-style .docx output: journal / conference / thesis chapters carrying formal citation style (APA, Chicago, IEEE, MLA), numbered equations, figure & table cross-references, footnotes/endnotes, bibliography, or multi-column journal layout. Trigger on: 'research paper', 'journal paper'…

iOfficeAI/OfficeCLI · 141 tokens