Skip to content

chore: Split hp into core rlib + optional python layer - #1485

Open
adRn-s wants to merge 3 commits into
masterfrom
deeptools-core-split
Open

adRn-s wants to merge 3 commits into
masterfrom
deeptools-core-split

Conversation

@adRn-s

@adRn-s adRn-s commented Oct 14, 2026

Copy link
Copy Markdown
Collaborator

This would enable to vendor-in deeptools core into other packages/ extensions (outlook: single-cell deeptools.)

  • crate-type rlib + cdylib; new 'python' feature (default on) gates pyo3 and the five command modules (bamcoverage, bamcompare, computematrix, alignmentsieve, multibamsummary). calc, covcalc, filehandler, filtering and normalization are pure Rust and build without python.
  • Verified: cargo build with and without the feature; cargo test (51 pass)

- crate-type rlib + cdylib; new 'python' feature (default on) gates pyo3
  and the five command modules (bamcoverage, bamcompare, computematrix,
  alignmentsieve, multibamsummary). calc, covcalc, filehandler, filtering
  and normalization are pure Rust and build without python.
- Verified: cargo build with and without the feature; cargo test (51 pass)
@adRn-s
adRn-s requested a review from WardDeb October 19, 2026 13:44

@WardDeb WardDeb left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks ok to me. Two things need fixing:

In case you want to have a separate crate, the version in cargo would need to be put under release-please control (right now just a 0.1.0 placeholder AFAIK), as I think it'd make sense to have these in sync.

'hp' was ok given that we don't have it as a separate crate, deeptools-core or something among those lines would be more appropriate

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants