theory phylogeny snp_based gamma_rate_heterogeneity
Eric Coissac edited this page 2026-11-20 14:21:57 +01:00
Clone

Wiki Page Revisions

2 Commits

Author SHA1 Message Date
Eric Coissac d0009f1292 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.
2026-11-20 14:21:57 +01:00
Eric Coissac 97fe82159a 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.
2026-09-12 17:45:11 +02:00