Page:
usage convert
Pages
Home
architecture
formats index_layout
installation
theory encoding
theory entropy_filter
theory indexing_architecture
theory kmer_indexing encoding
theory kmer_indexing entropy_filter
theory kmer_indexing indexing_architecture
theory kmer_indexing kmers
theory kmer_indexing minimizer_selection
theory kmer_indexing superkmers
theory kmers_and_superkmers
theory minimizer_selection
theory phylogeny kmer_based distance_metrics
theory phylogeny kmer_based kmer_set_distances
theory phylogeny snp_based central_snp_model
theory phylogeny snp_based gamma_rate_heterogeneity
theory phylogeny snp_based sampling_design
theory phylogeny snp_based sankoff_model
usage annotate
usage convert
usage dump
usage estimate
usage filter
usage index_command
usage merge
usage pack
usage phylo
usage predicates
usage query
usage select
usage superkmer
usage unitig
usage utils
Clone
4
usage convert
Eric Coissac edited this page 2026-09-12 14:00:23 +02:00
convert
Convert an existing index's evidence representation in place, between exact, approximate, and hybrid.
obikmer convert INDEX (--exact-evidence | --approx-evidence BITS | --hybrid-evidence) [OPTIONS]
Arguments
| Argument | Description |
|---|---|
INDEX |
Index directory to convert (modified in place) |
Options
Exactly one of the first three is required:
| Option | Description |
|---|---|
--exact-evidence |
Convert to exact evidence (zero false positives) |
--approx-evidence BITS |
Convert to approximate (fingerprint-only) evidence; BITS = fingerprint bits per slot (b) |
--hybrid-evidence |
Convert to hybrid evidence (both exact and approximate bundles kept) |
--evidence-bits BITS |
Fingerprint bits per slot (b) — required with --hybrid-evidence when the source index is currently exact; rejected otherwise (the source already fixes b) |
-z, --findere-z Z |
Findere z parameter: number of consecutive stored kmers that must all match to confirm a hit. This does not shorten the indexed kmer length (fixed forever at index build time) — it extends the effective match window: on a k=31 index, z=2 requires 32 consecutive matching bases, not 30 |
--fp FP |
Target false-positive rate per z-window (e.g. 0.01); derives b or z when one of them isn't given directly |
--block-size N |
Block size for exact evidence's on-disk index (unitigs per block). Ignored when converting to pure approximate evidence. Default 1 |
See index for the exact/approximate trade-off and the underlying false-positive model, and estimate to explore parameters beforehand. The index directory is locked for exclusive access during conversion.
Wiki sidebar
Theory
Kmer indexing
- DNA encoding
- Kmers
- Minimizer selection
- Super-kmers
- Partitioning and indexing architecture
- Low-complexity kmer filter
Phylogeny
Kmer-based
SNP-based
Usage
- superkmer
- index
- merge
- filter
- select
- query
- dump
- annotate
- phylo
- unitig
- estimate
- convert
- utils
- pack
- Predicates and taxonomy paths