Page:
usage merge
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
2
usage merge
Eric Coissac edited this page 2026-09-12 14:00:23 +02:00
merge
Merge multiple built indexes into a single index.
obikmer merge -o OUTPUT SOURCE... [OPTIONS]
Arguments
| Argument | Description |
|---|---|
SOURCE... |
Index directories to merge (at least one required) |
Options
| Option | Default | Description |
|---|---|---|
-o, --output |
— (required) | Output index directory |
--force |
off | Overwrite an existing output directory |
--force-presence |
off | Store the merged index as presence/absence even if all sources have counts |
--rename-duplicates |
off | Disambiguate duplicate genome labels (.1, .2, …) instead of failing |
--budget-fraction |
0.5 |
Fraction of available RAM reserved as the memory budget for parallel partition merging |
Behaviour
The output mode is chosen automatically: if every source index stores counts, the merged index stores counts too; otherwise it is presence/absence. --force-presence forces presence/absence regardless of the sources.
By default, merging two indexes that share a genome label fails with an error; --rename-duplicates instead appends a numeric suffix to keep both copies.
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