What problem does it solve?
PyDESeq2 helps you identify differentially expressed genes from bulk RNA-seq count matrices using DESeq2-style normalization, dispersion modeling, Wald tests, and FDR correction so you can turn raw counts into statistically validated gene-level results.
Core Features & Use Cases
- Bulk RNA-seq differential expression: Fit DESeq2 workflows in Python from data loading through dispersion and log fold-change estimation.
- Flexible experimental designs: Support single-factor and multi-factor designs (e.g., batch, covariates, and interaction terms) using a Wilkinson formula.
- Reliable hypothesis testing: Compute Wald test statistics with multiple-testing correction (Benjamini-Hochberg), with optional Cook’s-distance and independent filtering.
- Visualization-ready outputs: Provide result columns (baseMean, log2FoldChange, pvalue, padj) and recommend LFC shrinkage for more stable volcano/MA plots.
Quick Start
Use PyDESeq2 to analyze bulk RNA-seq DE by running a full pipeline on a samples × genes count DataFrame with a matching samples × variables metadata DataFrame, then extracting significant genes where padj < 0.05.