A python implementation of DESeq2.
Maintained. Last release 5 days ago, commits in 7 of the last 26 weeks.
pip install pydeseq2
PyDESeq2
PyDESeq2 is a Python implementation of the DESeq2 method for differential expression analysis with bulk RNA-seq data, originally written in R. It works on AnnData objects and is part of the scverse ecosystem.
Current features broadly correspond to the default settings of DESeq2 for single-factor and multi-factor analysis, with categorical or continuous factors, using Wald tests, plus an optional apeGLM log fold-change shrinkage step. Because PyDESeq2 is a reimplementation from scratch, you may see differences in retrieved values or available features.
Getting started
Please refer to the documentation, in particular the tutorials and the API documentation.
Installation
You need to have Python 3.12 or newer installed on your system. There are several options to install PyDESeq2: