What problem does it solve?
PyDESeq2 turns bulk RNA-seq count matrices into differential expression results by estimating normalization factors and dispersions, running Wald tests, and controlling false discoveries with FDR correction.
Core Features & Use Cases
- End-to-end DE analysis for bulk RNA-seq: Takes a counts table and sample metadata, fits the DESeq2 model, and produces gene-level statistics (log2 fold change, p-values, and FDR-adjusted p-values).
- Flexible experimental designs: Supports single-factor and multi-factor models (e.g., batch effects, covariates, and interaction terms) using Wilkinson-style design formulas.
- Interpretation-ready outputs: Generates results dataframes suitable for filtering by padj, ranking by significance/effect size, and creating volcano/MA plots; also supports optional LFC shrinkage for cleaner visualization.
- Use Case: Compare treated vs control bulk RNA-seq samples while accounting for batch effects, then export significant genes (padj < 0.05) for downstream pathway or validation work.
Quick Start
Use the pydeseq2 skill to run differential expression on your bulk RNA-seq counts from counts.csv with sample annotations in metadata.csv for a treated vs control contrast, producing results as a CSV of tested genes.