scverse / scverse/PyDESeq2

[BUG] Discrepancies between DESeq2/pyDESeq2

Open
#217 5 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Python
Stars
761
Forks
90
Avg merge
25m
Merged PRs (30d)
10

Description

We are experiencing issues where specific datasets yield dramatically different results (p-values) between the R and pyDESeq2 implementations. Given that other datasets yield very similar fits and p-values, don't think this is caused by different parameters, issues with precision, etc. Happy to provide a fully reproducible example, just curious if this is a known issue or if anyone else has encountered the same issue and if there is a workaround.

Python: 3.12
pydeseq2: 0.4.3
OS: Ubuntu 22.04.3 LTS

Dataset, everything behaving as expected:
image

Dataset, discordant python/R results:
image

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is identified. Start by reproducing the discrepancy in the reported Python 3.12, pydeseq2 0.4.3, and Ubuntu 22.04.3 environment, using a fully reproducible dataset and comparison with the R DESeq2 results; done would require identifying and documenting the cause or a reliable workaround.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, r
Domain
bioinformatics
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.