Files
obitools4/pkg
Eric Coissac c6e04265f1 Add sparse index support for KDI files with fast seeking
This commit introduces sparse index support for KDI files to enable fast random access during k-mer matching. It adds a new .kdx index file format and updates the KDI reader and writer to handle index creation and seeking. The changes include:

- New KdxIndex struct and related functions for loading, searching, and writing .kdx files
- Modified KdiReader to support seeking with the new index
- Updated KdiWriter to create .kdx index files during writing
- Enhanced KmerSetGroup.Contains to use the new index for faster lookups
- Added a new 'match' command to annotate sequences with k-mer match positions

The index is created automatically during KDI file creation and allows for O(log N / stride) binary search followed by at most stride linear scan steps, significantly improving performance for large datasets.
2026-02-10 13:24:24 +01:00
..
2025-11-06 15:43:13 +01:00
2025-11-18 15:30:20 +01:00
2024-05-14 08:16:12 +02:00
2025-01-27 17:23:07 +01:00
2025-06-17 09:06:42 +02:00
2025-06-04 09:48:10 +02:00
2023-12-05 15:28:29 +01:00
2025-11-18 15:30:20 +01:00
2025-11-18 15:30:20 +01:00