Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Use `AnnData` as a component rather than a superclass of `DeseqDataSet`

Open
#331 3 comments 2 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Stale
Tech stack
python

Research direction

Start by locating the DeseqDataSet implementation and understanding how it currently inherits from AnnData. Review the existing serialization and loading behavior, especially the stated pickle and lazy-loading limitations. Done means the relationship is changed to composition while preserving the class’s existing behavior and supporting externally stored or lazily loaded AnnData.

Written by the indexing model from the issue text.

Description

enhancement

This would offer more flexibility and robustness wrt future AnnData development.

E.g., as pointed out by @grst, his would also allow storing the anndata if the user has stored that elsewhere, and using lazy loading on the h5ad which is not possible using pickle.

Beside, composition is usually better practice than inheritance.

Dominant language
Python
Stars
763
Forks
90
Avg merge
23m
Merged PRs (30d)
11

Getting set up

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.

More from scverse/PyDESeq2

All issues in scverse/PyDESeq2

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.