docs: rename project to obiskim and expand documentation

Rename the project from "obikmer" to "obiskim" across all documentation, user guides, and developer notes. Add extensive new theoretical and implementation documentation covering chance sharing, sibling partition unification, pair-coverage sampling, MPHF batch queries, merge scaling, and hot resume/memoization. Update navigation structures to reflect these new topics and the new project name.

- Rename "obikmer" to "obiskim" in all HTML titles, headers, navigation labels, and code examples across `DevDoc/` and `doc/` directories.
- Add new navigation links for "Chance sharing across genomes", "Sibling partition unification", "Pair-coverage-biased family sampling", "MPHF batch queries", "Merge mmap audit", "Merge scaling", and "Hot resume and memoization" throughout the documentation site.
- Move `DevDoc/architecture/numa_worker_pools/index.html` to `DevDoc/architecture/hot_resume_memoization/index.html` and update content to focus on hot resume and memoization strategies.
- Move `DevDoc/implementation/evidence_elimination/index.html` to `DevDoc/implementation/merge_mmap_audit/index.html` and update content to detail merge mmap audit findings and plans.
- Move `DevDoc/implementation/superkmer.refs/index.html` to `DevDoc/implementation/merge_scaling/index.html` and update content to discuss merge scaling costs and dependencies.
- Move `DevDoc/theory/indexing/index.html` to `DevDoc/theory/chance_sharing/index.html` and rewrite content to discuss chance sharing across genomes and null models.
- Move `DevDoc/theory/minimizer/index.html` to `DevDoc/theory/sibling_partition_unification/index.html` and update content to discuss sibling partition unification and Can3 masked canonical form.
- Add new `DevDoc/implementation/mphf_batch_queries/index.html` documenting MPHF batch query performance and inventory.
- Add new `DevDoc/theory/pair_coverage_sampling/index.html` documenting pair-coverage-biased family sampling theory and diagnostics.
- Update `DevDoc/architecture/query/index.html` to describe `by_partition` using `Vec<PartitionKmers>` instead of `HashMap` for reduced memory usage.
- Update `DevDoc/implementation/merge/index.html` to describe bootstrap output logic selecting base source by largest `unitigs.bin` size and using `MatrixBuilder::resume`.
- Update `DevDoc/implementation/unitig_evidence/index.html` to change `MAX_KMERS_PER_CHUNK` from 256 to 128 and update rank field documentation.
- Update `DevDoc/implementation/obipipeline/index.html` to reflect that `obiskim` uses `make_pipe!` and `.apply()` instead of `make_pipeline!` / `WorkerPool`.
- Update `DevDoc/implementation/filtering/index.html` to change `FilterArgs` inheritance to `obiskim::cmd::predicate::FilterArgs`.
- Update `DevDoc/implementation/partition_layer_cache/index.html` to reflect new crate dependency structure requiring external reachability for algorithm implementation traits.
- Update `doc/formats/index_layout/index.html` to describe new directory structure for index files including `part_NNNNN/index/layer_X/` and updated merging/packing logic.
- Update `doc/formats/vcf/index.html` to use `obiskim` prefixes for contigs and update VCF header source.
- Update `doc/usage/estimate/index.html` to add "Comparing an index with random sharing" section and clarify `--index` and `--presence-threshold` options.
- Update `doc/usage/phylo/index.html` to clarify that running `obiskim phylo` twice draws independent samples and update `--sibling-annex` behavior.
- Update `doc/usage/select/index.html` to clarify that `select` always writes to a new output directory and explains hard-linking mechanism.
- Add new BibTeX entries for Karlin et al. and Bennett et al. in `doc/references.bib`.
- Delete `scripts/smoke_test_index2.sh` which contained end-to-end smoke tests for `obikmer2 index` and `obikmer query`.
- Update `src/Cargo.lock` to bump "obiskim" package dependency from 1.4.8 to 1.4.9.
This commit is contained in:
Eric Coissac committed 2026-12-02 16:12:54 +01:00
1 parent 917cb26186
commit f1b4b4ebda
102 files changed
+27255 -1226

No files matched your search

+207 -11
View File
@@ -21,7 +21,7 @@
<title>obikmer</title>
<title>obiskim</title>
@@ -62,7 +62,7 @@
<div data-md-component="skip">
<a href="#obikmer" class="md-skip">
<a href="#obiskim" class="md-skip">
Skip to content
</a>
@@ -78,7 +78,7 @@
<header class="md-header md-header--shadow" data-md-component="header">
<nav class="md-header__inner md-grid" aria-label="Header">
<a href="." title="obikmer" class="md-header__button md-logo" aria-label="obikmer" data-md-component="logo">
<a href="." title="obiskim" class="md-header__button md-logo" aria-label="obiskim" data-md-component="logo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
@@ -92,7 +92,7 @@
<div class="md-header__ellipsis">
<div class="md-header__topic">
<span class="md-ellipsis">
obikmer
obiskim
</span>
</div>
<div class="md-header__topic" data-md-component="header-topic">
@@ -136,13 +136,13 @@
<nav class="md-nav md-nav--primary" aria-label="Navigation" data-md-level="0">
<label class="md-nav__title" for="__drawer">
<a href="." title="obikmer" class="md-nav__button md-logo" aria-label="obikmer" data-md-component="logo">
<a href="." title="obiskim" class="md-nav__button md-logo" aria-label="obiskim" data-md-component="logo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M12 8a3 3 0 0 0 3-3 3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3m0 3.54C9.64 9.35 6.5 8 3 8v11c3.5 0 6.64 1.35 9 3.54 2.36-2.19 5.5-3.54 9-3.54V8c-3.5 0-6.64 1.35-9 3.54"/></svg>
</a>
obikmer
obiskim
</label>
<ul class="md-nav__list" data-md-scrollfix>
@@ -496,6 +496,34 @@
<li class="md-nav__item">
<a href="theory/chance_sharing/" class="md-nav__link">
<span class="md-ellipsis">
Chance sharing across genomes (discussion)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="theory/evolutionary_distances/" class="md-nav__link">
@@ -518,6 +546,62 @@
<li class="md-nav__item">
<a href="theory/sibling_partition_unification/" class="md-nav__link">
<span class="md-ellipsis">
Sibling partition unification (discussion)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="theory/pair_coverage_sampling/" class="md-nav__link">
<span class="md-ellipsis">
Pair-coverage-biased family sampling (discussion)
</span>
</a>
</li>
</ul>
</nav>
@@ -774,6 +858,34 @@
<li class="md-nav__item">
<a href="implementation/mphf_batch_queries/" class="md-nav__link">
<span class="md-ellipsis">
MPHF batch queries (inventory)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="implementation/unitig_evidence/" class="md-nav__link">
@@ -970,6 +1082,62 @@
<li class="md-nav__item">
<a href="implementation/merge_mmap_audit/" class="md-nav__link">
<span class="md-ellipsis">
Merge mmap audit (2026-11)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="implementation/merge_scaling/" class="md-nav__link">
<span class="md-ellipsis">
Merge scaling (open)
</span>
</a>
</li>
<li class="md-nav__item">
<a href="implementation/filtering/" class="md-nav__link">
@@ -1248,6 +1416,34 @@
<li class="md-nav__item">
<a href="architecture/hot_resume_memoization/" class="md-nav__link">
<span class="md-ellipsis">
Hot resume and memoization
</span>
</a>
</li>
<li class="md-nav__item">
<a href="architecture/numa_worker_pools/" class="md-nav__link">
@@ -1403,8 +1599,8 @@
<h1 id="obikmer">obikmer</h1>
<p><code>obikmer</code> is a Rust tool for manipulation, counting, indexing, and set operations on DNA sequences represented as kmer sets.</p>
<h1 id="obiskim">obiskim</h1>
<p><code>obiskim</code> is a Rust tool for manipulation, counting, indexing, and set operations on DNA sequences represented as kmer sets.</p>
<h2 id="subcommands">Subcommands</h2>
<table>
<thead>
@@ -1444,7 +1640,7 @@
</tr>
<tr>
<td><code>phylo</code></td>
<td>Compute pairwise evolutionary-distance proxies between genomes (<code>--metric jaccard\|mash\|hamming\|bray-curtis\|relfreq-bray-curtis\|euclidean\|relfreq-euclidean\|hellinger\|hellinger-euclidean</code>); optionally build NJ/UPGMA trees; <code>--presence-threshold N</code> sets the minimum count to consider a k-mer present when computing Jaccard/Mash on count indexes (default 1); optionally a central-position SNP/Sankoff calibration with exports for TNT/PhyG/IQ-TREE (see <a href="theory/evolutionary_distances/">evolutionary distances</a>)</td>
<td>Genome-vs-genome distances, trees and SNP-based pseudo-alignments. <code>--distance</code> selects either a whole-genome distance computed from k-mer content (<code>jaccard</code>, <code>mash</code>, <code>hamming</code>, <code>bray-curtis</code>, <code>relfreq-bray-curtis</code>, <code>euclidean</code>, <code>relfreq-euclidean</code>, <code>hellinger</code>, <code>hellinger-euclidean</code>; <code>--presence-threshold N</code> converts counts to presence for Jaccard/Mash/Hamming on count indexes) or a <code>snp-*</code> distance (<code>snp-raw</code>, <code>snp-jc</code>, <code>snp-k2p</code>, <code>snp-k81</code>, <code>snp-f81</code>, <code>snp-t92</code>, <code>snp-tn93</code>, <code>snp-tv</code>; optional <code>--gamma-shape</code>) computed from central-position SNPs of k-mer families. <code>--nj</code>/<code>--upgma</code> build trees (Jaccard if no <code>--distance</code>); <code>--shared-kmers</code> writes the shared-k-mer count matrix on its own. SNP analyses read the sibling annex, built on demand (<code>--sibling-annex</code> forces it), with site selection/sampling options (<code>--n-sites</code>, <code>--quartet</code>, <code>--pair-balance</code>, <code>--entropy</code>, <code>--free-loss</code>, <code>--no-ambiguity</code>/<code>--only-diploid</code>, <code>--session</code>), a pseudo-alignment export (<code>--pseudo-alignment</code>, <code>--fasta</code>, <code>--vcf</code>) and Sankoff cost calibration with TNT/PhyG/IQ-TREE exports. See <a href="theory/evolutionary_distances/">evolutionary distances</a></td>
</tr>
<tr>
<td><code>unitig</code></td>
@@ -1459,8 +1655,8 @@
<td>Estimate approximate-index parameters (z, evidence bits, FP rates) before indexing</td>
</tr>
<tr>
<td><code>reindex</code></td>
<td>Convert an index's evidence in-place: exact ↔ approx</td>
<td><code>convert</code></td>
<td>Convert an index's evidence representation (exact / approximate / hybrid), in place</td>
</tr>
<tr>
<td><code>utils</code></td>