Rename the `obikmer` binary, crate, and documentation to `obiskim`. This change updates all references in source code, build scripts, CI workflows, and user documentation to reflect the new tool name. - Move `src/obikmer` to `src/obiskim`, renaming the package and binary in `Cargo.toml` and updating `main.rs` and `cli.rs` to use the new name. - Update `src/Cargo.toml` and `src/Cargo.lock` to replace the `obikmer` workspace member with `obiskim`. - Update `Makefile` targets (`build`, `release`, `debug`, `profile-build`) and variables (`CARGO_TOML`, `bump-version`) to build and manage `obiskim`. - Update `.gitea/workflows/release.yml` to build and upload `obiskim` artifacts for Linux and macOS. - Rename all files in `src/obiskim/src/cmd/` from `obikmer` to `obiskim` paths, updating error messages and help text in `index/mod.rs`, `phylo/args/mod.rs`, and `phylo/tnt.rs`. - Update documentation in `UserDocMD/` (including `index.md`, `installation.md`, `architecture.md`, and usage guides) to reference `obiskim` commands and behavior. - Update `benchmark/` scripts and Python verification tools to use `obiskim` binary paths and arguments. - Update `scripts/` (including `smoke_test_*.sh`, `bench_merge_oracle.sh`, and Docker debug scripts) to test and build `obiskim`. - Update comments and error messages in library crates (`obicompactvec`, `obifastwrite`, `obikentropy`, `obikfilter`, `obikindex`, `obikindexer`, `obikphylo`, `obikselect`, `obikseq`, `obiread`, `obisys`) to reference `obiskim`.
26 lines
849 B
Markdown
26 lines
849 B
Markdown
# annotate
|
|
|
|
Add or update genome metadata of an index from a CSV file, or dump the current metadata as CSV.
|
|
|
|
```bash
|
|
obiskim annotate INDEX --csv FILE [OPTIONS]
|
|
obiskim annotate INDEX --dump
|
|
```
|
|
|
|
## Arguments
|
|
|
|
| Argument | Description |
|
|
|---|---|
|
|
| `INDEX` | Index directory to annotate (modified in place) |
|
|
|
|
## Options
|
|
|
|
| Option | Default | Description |
|
|
|---|---|---|
|
|
| `--csv` | — | CSV file of metadata to apply (must contain an id column); required unless `--dump` is used |
|
|
| `--sep` | `,` | CSV field separator |
|
|
| `--id-col` | `id` | Name of the column containing genome labels |
|
|
| `--na-value` | `NA` | Value meaning "remove this field" (deletes the existing key if present) |
|
|
| `--no-overwrite` | off | Do not overwrite existing metadata keys |
|
|
| `--dump` | off | Print all genome metadata as CSV to stdout instead of applying a file |
|