Skip to content
scversePublic

About

A Python implementation of the DESeq2 pipeline.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

770 stars

Watchers

5 watching

Forks

Repository files navigation

PyDESeq2

Tests Documentation PyPI

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:

  1. Install the latest release of pydeseq2 from PyPI:

    pip install pydeseq2
  2. Install the latest release from Bioconda:

    conda install bioconda::pydeseq2
  3. Install the latest development version:

    pip install git+https://github.com/scverse/PyDESeq2.git@main

Release notes

See the release notes on GitHub.

Contact

For questions and help requests, you can reach out in the scverse discourse. If you found a bug, please use the issue tracker.

Citation

If you use PyDESeq2, please cite the PyDESeq2 paper:

@article{muzellec2023pydeseq2,
  title={PyDESeq2: a python package for bulk RNA-seq differential expression analysis},
  author={Muzellec, Boris and Telenczuk, Maria and Cabeli, Vincent and Andreux, Mathieu},
  year={2023},
  doi = {10.1093/bioinformatics/btad547},
  journal={Bioinformatics},
}

The citation page of the documentation lists the methods that PyDESeq2 implements.

Credits

PyDESeq2 has been originally developed by Boris Muzellec, Maria Teleńczuk, Vincent Cabeli, and Mathieu Andreux and funded by Owkin. In Dec 2025, the maintenance of PyDESeq2 was taken over by the scverse community.

About

A Python implementation of the DESeq2 pipeline.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

770 stars

Watchers

5 watching

Forks

Releases

Packages

Used by

Contributors

Languages