Skip to content

Expose indexed minimizer positions through a callback - #102

Open
adamant-pwn wants to merge 8 commits into
jermp:masterfrom
ratschlab:upstream/minimizer-positions
Open

adamant-pwn wants to merge 8 commits into
jermp:masterfrom
ratschlab:upstream/minimizer-positions

Conversation

@adamant-pwn

Copy link
Copy Markdown
Contributor

Allow C++ clients to enumerate indexed positions for a canonical encoded minimizer. This supports candidate generation from the existing index without maintaining a second positional index. Callbacks receive absolute character offsets; occurrences not selected as minimizers are excluded.

Share sparse-bucket decoding with ordinary lookup and extend the bucket iterator to traverse heavy-bucket positions. Heavy-bucket lengths are not stored, so verify each candidate’s minimizer to reject absent keys and stop at the next bucket.

Name the packed status and partition fields and share their decoding helpers. Full-k-mer lookup retains its single-candidate skew-index path, and the serialized layout is unchanged.

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.

1 participant