Replace references to OBIKmer with obiskim in k-mer indexing documentation and clarify technical constraints. The changes align the documentation with the current implementation details, including representation limits and ordering rules.
- Update `.crate-kit/VERSION` from 0.3.6+0.1.1 to 0.3.7+0.1.1.
- Modify `Makefile` `clean-doc-user` target to delete existing wiki markdown files before regeneration and clarify that wiki commits are manual.
- Rename `OBIKmer` to `obiskim` in `UserDocMD/theory/kmer_indexing/kmers.md` and update k-mer constraints to reflect obiskim's two-bit-per-nucleotide representation ($k \leq 32$, odd $k$).
- Update `UserDocMD/theory/kmer_indexing/minimizer_selection.md` to reference obiskim and specify ordering via deterministic hash function $H$.
- Apply corresponding terminology and constraint updates in `doc/theory/kmer_indexing/kmers/index.html`, including the $11 \leq k \leq 31$ range rationale.
- Update `doc/theory/kmer_indexing/minimizer_selection/index.html` to reference obiskim and the deterministic hash ordering rule.
Remove the `sorted_slots` parameter from `nonzero_triples` and update
callers to always sort slots internally. Introduce `MEMBERS_DIR` to
workspace scripts to support scanning subdirectories for Cargo manifests.
Bump crate-kit version to 0.1.1.
- Remove `sorted_slots` field from `nonzero_triples` in
`src/obicompactvec/src/views.rs` and always sort permutation by slot
values internally.
- Update `nonzero_iter` in `src/obicompactvec/src/intmatrix.rs` and
`src/obicompactvec/src/bitmatrix/persistent.rs` to call
`nonzero_triples` without the `false` argument, passing column views
directly.
- Add `MEMBERS_DIR` variable to `Makefile` and export it in
`.crate-kit/dev-patch.mk` to define the workspace folder for member
scanning.
- Update `.crate-kit/scripts/deps-lib.sh` and
`.crate-kit/scripts/dev-patch.sh` to check for `Cargo.toml` files
relative to `$MEMBERS_DIR`, excluding the root manifest.
- Change version in `.crate-kit/VERSION` from 0.3.4 to 0.1.1.
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`.
Introduce the `.crate-kit` infrastructure to standardize build, testing,
and release workflows using Jujutsu and Cargo. Add CeCILL-2.1 license
files and update all workspace crate manifests with license and repository
metadata.
- Add `.crate-kit/` directory with `VERSION`, `crate.mk`, `dev-patch.mk`,
`jj.mk`, and `org.mk` to define build targets, Jujutsu helpers, and
registry configuration for the workspace.
- Add 21 shell scripts in `.crate-kit/scripts/` for API tracking,
dependency checking, version bumping, publishing, tagging, and wiki
generation, including `common.sh` with shared utility functions.
- Add `scripts/jj-tag.sh` to support tagging commits with version strings
derived from the current crate version.
- Add `LICENSE` and `LICENSE.en` files containing the CeCILL-2.1 free
software license agreement in French and English.
- Update `Makefile` with new targets for building, testing, formatting,
CI, and releasing, integrating with `.crate-kit` scripts and updating
the wiki directory path to `obiskim`.
- Update `.gitignore` to ignore `.cargo/config.toml` files generated by
the development patch system.
- Add `license = "CECILL-2.1"` and
`repository = "https://forge.metabarcoding.org/obi/obiskim"` to all
`Cargo.toml` files in the workspace, including `obicompactvec`,
`obidebruinj`, `obifastwrite`, `obikalgorithm`, `obikdump`,
`obikentropy`, `obikfilter`, `obikidxcache`, `obikindex`,
`obikindexer`, `obikmer`, `obikmerge`, `obikphylo`, `obikquery`,
`obikrebuild`, `obikrope`, `obikselect`, `obikseq`, `obiksession`,
`obikstats`, `obipipeline`, `obiread`, `obiskbuilder`, `obiskio`,
`obisys`, and `obitaxonomy`.
- Update `src/obikrope/Cargo.toml` to use `criterion2` version 3 with
the `cargo_bench_support` feature.
- Update `src/obikseq/Cargo.toml` to replace the "OnceLock-based params"
feature with a new feature description involving thread-local storage.
- Update `src/Cargo.lock` to reflect the version bump of `obikmer` from
1.4.7 to 1.4.8.
Remove the `migrate-mphf` tool entirely, as its functionality is no longer needed or has been superseded. Update the `phylo` sibling annex logic to build missing annexes on demand under an exclusive lock, ensuring safe concurrent access. Adjust documentation and CI workflows to reflect the removal of the migration tool and clarify sibling annex behavior.
- Delete the entire `tools/migrate-mphf` directory, including `Cargo.toml`, `Cargo.lock`, and source files (`main.rs`, `layer.rs`, `plan.rs`, `data.rs`, `commit.rs`, `old.rs`, `verify.rs`, `util.rs`), removing functions such as `convert`, `build`, `permute_all`, `finish`, and `check`.
- Update `.gitignore` to remove patterns for `tools/migrate-mphf/target`, `data-stress`, `*.fasta`, and `*.fasta.gz`.
- Modify `Makefile` to remove the `migrate-mphf` and `clean-migrate-mphf` phony targets and associated build commands.
- Update `.gitea/workflows/release.yml` to remove the "Build migrate-mph (static)" job and the artifact upload step, and adjust the `linux-musl-cargo` job key to hash only `src/Cargo.lock`.
- Refactor `src/obikphylo/src/siblings/extensions/sibling_builder.rs` to update `build_family_annexes` documentation, noting that it builds the sibling annex from `siblings.psib` if missing and runs under the index's exclusive lock.
- Update `src/obikphylo/src/siblings/siblingannex.rs` documentation to clarify that `open` reports absent files differently when annexes were set aside by `migrate-mphf` or never built.
- Update `UserDocMD/usage/phylo.md` to clarify that `--sibling-annex` prepares the quartet annex on demand under an exclusive lock, and update descriptions for `--sibling-stats` and `--sibling-hist` to specify output file formats and contents.
- Update `DevDocMD/implementation/mphf_batch_queries.md` to reflect changes in batched query logic, `ptr_hash` versioning, and benchmark descriptions, noting that stale indexes with `ptr_hash` 1.x MPHFs fail on current binaries.
- Add `prompts/obi-migration.md` to document the context, decisions, and required actions for the `obikmer` project migration.
- Bump `obikmer` package version from 1.4.7 to 1.4.8 in `src/obikmer/Cargo.toml` and update `src/Cargo.lock` accordingly.
Add a new `estimate --index` command to compare observed k-mer sharing against
a random-sequence model using a Poisson-binomial distribution. Introduce the
`row_presence_histogram` API to support this analysis across various matrix
types. Update documentation and dependencies accordingly.
- Add `src/obikstats/src/null_model.rs` implementing `SharingNullModel` and
`SharingRow` for computing cumulative probabilities and false discovery rates
based on a Poisson-binomial distribution.
- Add `src/obikstats/src/sharing.rs` defining `GenomeSharing` and `SharingSpectrum`
to compute k-mer sharing spectra using parallel map-reduce.
- Add `src/obikmer/src/cmd/estimate/sharing.rs` with `run` and `write_csv` to
execute sharing estimation and output CSV results containing observed, expected,
and deviation metrics.
- Modify `src/obikmer/src/cmd/estimate/mod.rs` to support the new `--index`
subcommand, adding `EstimateArgs` fields for index path, presence threshold,
and output file.
- Add `src/obicompactvec/src/row_histogram.rs` implementing `row_presence_histogram`
for `PersistentIntMatrix`, `PersistentBitMatrix`, and sparse matrices to count
rows present in exactly $j$ columns.
- Update `src/obikindex/src/layer/content_layer.rs` and `src/obikindex/src/layer/typed_layer.rs`
to expose the new `row_presence_histogram` method, dispatching based on layer type.
- Add tests in `src/obicompactvec/src/tests/bitmatrix.rs`, `intmatrix.rs`, and
`sparse.rs` to verify `count_geq` and `row_presence_histogram` against naive
implementations for various matrix structures.
- Update `UserDocMD/theory/kmer_indexing/kmers.md` to document the Poisson-binomial
approach, $D_r$ bounds, and FDR calculations, replacing previous binomial approximations.
- Update `UserDocMD/usage/estimate.md` to describe the two uses of `estimate`:
parameter estimation and index comparison via `--index`.
- Add `wiki` target to `Makefile` for regenerating documentation from user docs.
- Bump `obikmer` package version from 1.4.5 to 1.4.6 in `Cargo.toml` and `Cargo.lock`.
Refactors sparse matrix handling to implement row permutation logic and introduces a standalone tool for migrating indexes from MPHF 1.x to 2.x formats.
Rename the distance CLI subcommand to phylo across the codebase, documentation, and build configurations. Relocate source files from cmd/distance/ to a dedicated cmd/phylo/ module, update all internal routing references, and adjust benchmark scripts and Makefile targets to reflect the new command name.
Introduces a comprehensive documentation set covering theoretical foundations, CLI usage, installation, and system architecture. Adds MkDocs configuration and Makefile targets to generate, serve with live reload, and clean the documentation site. Includes citation styles and bibliography files for academic references.
Restrict the CI pipeline to pull request events only by removing the unconfigured push trigger and eliminating a duplicate pull_request block in the workflow file. Update the Makefile to suppress stderr from the aichat command and introduce a fallback release tag message for robust version tagging. Additionally, bump the obikmer crate version to 1.1.19.
Refactor the Gitea release pipeline to generate releases via API and upload binaries using a shared ID. Automate changelog generation by fetching recent commits with `jj log` and producing markdown notes via `aichat`. Convert `hwlocality` to an optional dependency gated by a default `numa` feature, providing fallback implementations for graceful degradation when NUMA support is disabled. Bump obikmer to 1.1.18.
Update the obikmer crate version from 1.1.12 to 1.1.13 in Cargo.toml. Additionally, change the Makefile's Git revision specifier from @- to @ to ensure the version tag is applied to the current commit before pushing.
Update Cargo.toml to 1.1.12 for a semver patch release. Refactor the Makefile release target to explicitly retrieve the parent commit hash via `jj log` and apply the tag, replacing implicit working directory tagging. Remove `jj auto-describe` and `--change @` in favor of an explicit `git push origin` for the version tag.
Bumps the obikmer crate version from 0.1.4 to 1.1.6 in Cargo.toml and Cargo.lock. Updates the Makefile release target to automatically extract the version, create a Git tag, and push it to the remote repository, extending the existing workflow with standard Git publishing steps.
Adds Gitea Actions for continuous integration and tagged releases, including static musl binary compilation and artifact upload. Introduces a Makefile target to automate semantic version bumping and publishing. Bumps the package version to 0.1.1 and enables automatic `--version` output via Clap.
Introduces a Make-based orchestration for simulating, indexing, merging, filtering, and verifying k-mer counts and presence. Exposes internal builder and iterator APIs publicly, enforces mandatory leading slashes for predicate patterns, registers the `obitaxonomy` crate, and updates tooling configurations alongside documentation.
- Remove redundant validation logic in login handler
- Consolidate session token generation into a single utility function
- Update error handling to use consistent HTTP status codes