Skip to content

Differential expression analysis for bulk RNA-seq with PyDESeq2, using explicit replicates, contrasts, and FDR control.

CCM score
75 of 100
skills.sh installs
2.2K
GitHub stars
58.9K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers count validation, formula designs, explicit contrasts, Wald tests, FDR correction, LFC shrinkage, and result plots
  • Includes scripts/run_deseq2_analysis.py, which writes results, significant-gene tables, an AnnData snapshot, a manifest, and optional volcano and MA plots
  • Enforces equal sample sets, nonnegative integer counts, full-rank designs, and missing p-values kept distinct from zeros
  • Designed for bulk RNA-seq workflows where cells or repeated measures from one donor are not treated as independent replicates

Install

$ npx -y skills add k-dense-ai/scientific-agent-skills --skill pydeseq2 -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

PyDESeq2

Use this skill for bulk RNA-seq negative-binomial GLMs, with explicit biological replicates, covariates, and comparisons. Cells, sequencing lanes, and repeated measurements from the same donor are not independent biological replicates. Donor-level pseudobulk can be appropriate when its aggregation and design match the scientific question; this is not a single-cell per-cell testing workflow.

Current PyDESeq2 0.5.4 provides Wald tests and apeGLM-style coefficient shrinkage. Do not assume every feature or numerical result of current R DESeq2 is implemented identically. See API and tested versions for supported calls, AnnData storage, and source/runtime verification limits.

Analysis contract

Details

Repository
github.com/k-dense-ai/scientific-agent-skills
Categories
Data Science & Analytics, Research & Academic
First seen
Jun 3, 2026

Questions

What does the pydeseq2 skill do for bulk RNA-seq analysis?

The pydeseq2 skill runs differential gene expression analysis on bulk RNA-seq data using PyDESeq2. It covers formula designs, explicit contrasts, Wald tests, FDR correction, coefficient-matched LFC shrinkage, and result visualization. It requires Python 3.11 or newer and PyDESeq2 0.5.4.

How do I install the pydeseq2 skill?

Run npx -y skills add k-dense-ai/scientific-agent-skills --skill pydeseq2 -y in your project. This installs the skill so your agent can use PyDESeq2 workflows for differential expression.

Which skills lead the Data Science & Analytics category on Claude Marketplaces?

The pydeseq2 skill sits in the Data Science & Analytics category alongside azure-kusto, analyze-project, run-train, explore-run and add-analytics-instrumentation. It focuses on differential expression of bulk RNA-seq counts, which sets it apart from those general analytics skills.

What inputs does pydeseq2 need to run?

It needs a counts CSV of nonnegative integer counts and a metadata CSV with matching sample IDs, plus a design formula and a contrast. Counts such as TPM or FPKM are not valid model inputs, and the skill rejects unequal sample sets and zero-count samples.

More from k-dense-ai/scientific-agent-skills

All 132