feat: introduce genome metadata tracking and CSV export #2

Merged
coissac merged 1 commits from push-zrlrptrsrlkk into main 2026-05-22 07:36:11 +00:00
Owner

This commit replaces raw string genome labels with a structured GenomeInfo type for better metadata tracking. It adds a --meta flag to the index command, and implements a new annotate CLI subcommand to import metadata from CSV files or export it via --dump. Distance and shared-count matrices are now serialized to CSV, with UPGMA clustering trees exported as Newick files. Query outputs now include per-genome k-mer match counts in JSON, while fixing syntax and variable naming issues in index merging and dump generation.

This commit replaces raw string genome labels with a structured `GenomeInfo` type for better metadata tracking. It adds a `--meta` flag to the index command, and implements a new `annotate` CLI subcommand to import metadata from CSV files or export it via `--dump`. Distance and shared-count matrices are now serialized to CSV, with UPGMA clustering trees exported as Newick files. Query outputs now include per-genome k-mer match counts in JSON, while fixing syntax and variable naming issues in index merging and dump generation.
coissac added 1 commit 2026-05-22 07:36:02 +00:00
This commit replaces raw string genome labels with a structured `GenomeInfo` type for better metadata tracking. It adds a `--meta` flag to the index command, and implements a new `annotate` CLI subcommand to import metadata from CSV files or export it via `--dump`. Distance and shared-count matrices are now serialized to CSV, with UPGMA clustering trees exported as Newick files. Query outputs now include per-genome k-mer match counts in JSON, while fixing syntax and variable naming issues in index merging and dump generation.
coissac merged commit 3d58a32613 into main 2026-05-22 07:36:11 +00:00
coissac deleted branch push-zrlrptrsrlkk 2026-05-22 07:36:11 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: OBIKmers/obikmer#2