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`.
1.6 KiB
1.6 KiB
query
Query an index with sequences and annotate each query with the kmer matches found.
obiskim query INDEX INPUTS... [OPTIONS]
Arguments
| Argument | Description |
|---|---|
INDEX |
Index directory to query against |
INPUTS... |
Input sequence files (FASTA/FASTQ, gzip optional); at least one required |
Options
| Option | Default | Description |
|---|---|---|
--detail |
off | Report per-position, per-genome coverage vectors in the output |
--count-missing |
off | Also count query kmers absent from the index |
--force-presence |
off | Report presence (0/1) per genome instead of raw counts |
--presence-threshold |
1 |
Minimum accumulated count to declare a genome present (implies --force-presence) |
-z, --findere-z |
derived from the index metadata | Override the Findere z parameter |
-T, --threads |
detected core count | Number of worker threads |
--chunk-size |
auto-sized (available RAM ÷ threads, clamped to 4–256 MiB) | I/O chunk size, in MiB |
--max-open-files |
threads / 4 (min 1) |
Maximum number of input files open simultaneously |
Output
FASTA on stdout, one record per query, annotated in the OBITools-style header format >id {"key":value,...}:
kmer_count: total number of kmers matchedkmer_missing: number of query kmers absent from the index (only with--count-missing)kmer_strict_matches: per-genome match countscoverage: per-position, per-genome coverage vectors (only with--detail)
--mismatch is accepted by the CLI but not currently functional; using it produces a warning and is ignored.