feat: add annotate CLI command for applying genome metadata via CSV

Introduces the `annotate` subcommand to apply genome metadata from an external CSV file to a pre-built k-mer index. The command supports configurable field separators, ID columns, and null markers, while providing a `--dump` option to export current index metadata as sorted CSV. Supporting changes include minor internal refactoring in `obikindex` to use object-level directory accessors and updates to the `csv` dependency.
This commit is contained in:
Eric Coissac
2026-08-22 17:23:39 +02:00
parent fb31a35c76
commit fba9c65b1a
7 changed files with 219 additions and 26 deletions
+1
View File
@@ -1654,6 +1654,7 @@ name = "obikmer2"
version = "1.2.2"
dependencies = [
"clap",
"csv",
"obifastwrite",
"obikalgorithm",
"obikindex",