docs: add VCF pseudo-alignment support and refine phylo/estimate commands
Add documentation for the new `--vcf` output format in `phylo`, which implements
pseudo-alignment where columns represent k-mer families. Update `usage-index_command`
to clarify input file handling and add `--dense` option to `usage-merge` for controlling
output storage format. Refine `usage-estimate` to support comparing index sharing against
random models, and update `usage-phylo` with new SNP-based sampling options like
`--quartet` and `--pair-balance`.
- Add `formats-vcf.md` documenting the VCF pseudo-alignment output, including column
semantics (k-mer families), allele representation rules, and genotype conventions.
- Update `_Sidebar.md` to include a new "VCF pseudo-alignment" section under Formats.
- Modify `theory-kmer_indexing-kmers.md` to restrict k-mer size $k$ to odd values
between 11 and 31, clarify null probability calculations, and add references for
Karlin & Burge (1995) and Karlin et al. (1994).
- Update `theory-phylogeny-kmer_based-kmer_set_distances.md` to clarify that Hamming
distance is used without normalization and explain the nonlinear transformation of
Jaccard similarity in Mash.
- Modify `theory-phylogeny-snp_based-gamma_rate_heterogeneity.md` to clarify that the
method-of-moments estimator is an `obikmer` addition, not part of Jin & Nei's (1990)
correction, and update reference links.
- Update `theory-phylogeny-snp_based-sampling_design.md` to introduce `entropy4` calculation,
"Quartet restriction" logic, and "Pair balance" weighting to address small carrier set
issues and prevent weight growth.
- Modify `usage-estimate.md` to support two independent uses: estimating index parameters
before building an index and comparing existing index sharing against expected random
sharing via the new `--index` subcommand with CSV output.
- Update `usage-index_command.md` to document input file reading rules, including explicit
file handling, format detection, and directory extension filtering.
- Modify `usage-merge.md` to add `--dense` option for storing merged indexes in a dense
packed format, clarifying memory usage dependencies and merge source constraints.
- Update `usage-phylo.md` with new SNP-based options (`--n-sites`, `--free-loss`,
`--no-ambiguity`, `--quartet`, `--pair-balance`, `--entropy`), `--sample-stats` CSV
generation, and `--shannon-summary` for entropy distribution.
Refactor phylogenetic models and update usage documentation
This commit removes entries related to Kmer-based and SNP-based phylogenetic methods, refining the definitions for SNP models, and introducing new documentation for k-mer based set-based distances. Additionally, new configuration options and exclusion flags are added to clarify tree generation behavior.
Refactor Kmer indexing and add phylogenetic analysis features
This commit introduces a complete overhaul of the Kmer indexing architecture, including new support for 2-bit encoding, canonical super-kmer handling, and a partitioned processing pipeline. Additionally, it adds comprehensive phylogenetic capabilities, including multiple distance metrics, SNP correction models, and models for rate heterogeneity and sampling design.
This commit introduces new constraints for kmer size and minimizer selection, defines super-kmers, and adds extensive new command-line options for filtering, conversion, merging, and packing indices. Documentation across the codebase has also been updated.
Update sidebar separators and refine SNP model definitions
Modifies list item formatting in the sidebar to use double pipe separators. Also updates mathematical definitions and parameter sets for several SNP models, including new parameters for `snp-tn93`.
Implement advanced indexing architecture and query features
Introduces a partitioned, NUMA-aware indexing system, supports kmer filtering, evidence conversion, index packing, and advanced query capabilities including estimation and phylogenetic analysis.