feat: Implement query subcommand for sequence-to-genome mapping

This change introduces the `query` CLI command and its supporting infrastructure for sequence-to-genome mapping and k-mer matching. It adds a `QueryLayer` abstraction backed by MPHF and persistent matrices, exposes the index partition for direct querying, and implements `Hash`/`Eq` for `RoutableSuperKmer`. The command ingests sequence batches, deduplicates superkmers, routes them to index partitions for parallel exact or 1-mismatch matching, and outputs results as FASTA records annotated with JSON metadata. Includes `serde_json` dependency addition, module exports, and documentation updates.
This commit is contained in:
Eric Coissac committed 2026-05-21 18:56:41 +02:00
1 parent c8e591fc78
commit 13599dd444
13 files changed
+762 -19

No files matched your search

+1
View File
@@ -19,6 +19,7 @@ obisys = { path = "../obisys" }
obiskio = { path = "../obiskio" }
obikindex = { path = "../obikindex" }
clap = { version = "4", features = ["derive"] }
serde_json = "1"
kodama = "0.2"
speedytree = "0.1"
rayon = "1"