Skip to content

Include heavy-bucket positions in control-word widths - #100

Merged
jermp merged 7 commits into
jermp:masterfrom
ratschlab:upstream/heavy-bucket-width
Nov 27, 2026
Merged

jermp merged 7 commits into
jermp:masterfrom
ratschlab:upstream/heavy-bucket-width

Conversation

@adamant-pwn

Copy link
Copy Markdown
Contributor

Building all 8,000 distinct protein 3-mers with k=3 and m=1 fails the control-word width assertion. Heavy-bucket codes contain a position, a three-bit partition ID, and a two-bit status, but the allocated width accounts only for singleton and sparse buckets.

Include the heavy-bucket position range and its five tag bits when sizing control words. This allows dense minimizer buckets to be represented without truncation.

@jermp
jermp merged commit a1645a1 into jermp:master Nov 27, 2026
16 checks passed
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