Skip to content

LexicMap v0.10.1

Latest

Choose a tag to compare

@shenwei356 shenwei356 released this 17 Nov 13:13

v0.10.1 - 2026-11-17

  • lexicmap:
    • Prevent output paths, including temporary directories, from overwriting inputs or indexes.
    • Reject invalid index summaries and inconsistent seed chunk headers before writing results or rebuilding indexes, instead of crashing or silently missing matches.
  • lexicmap index:
    • Correct strand-dependent low-complexity seed filtering.
    • Reduce allocation overhead when indexing fragmented genomes or saving seed positions.
  • lexicmap search:
    • Improve alignment continuity by filling seed deserts on both orientations of queries longer than --fill-desert-threshold (default: 50 kb).
    • Fix removing duplicate final alignments produced by different seed chains, including with -a/--all.
    • Exit on search output errors, including broken pipes with streaming input, and remove temporary alignment files.
  • lexicmap genome search:
    • Increase the default -m/--masks from 1024 to 4096 and -n/--top-n-genomes from 10 to 100.
    • Reduce screening memory when many genomes have seed matches, without changing candidate scores or ANI/AF results.
    • Skip genomes matching fewer than 1% of selected masks before alignment, controlled by the new -M/--min-mask-frac (default 0.01; 0 disables filtering). Also applies to screening-only output (-S).
    • Keep the top N matches with -n, including all ties at the Nth ANI rounded to four decimal places.
  • lexicmap search, genome search/compare:
    • Fix strand-dependent low-complexity seed filtering that could change matches in repetitive regions.
    • Pseudoalignment:
      • Fix missed alignments supported by a single qualifying anchor, which may result in more short matches.
      • Fix missing terminal regions and some strand-dependent alignments in repetitive sequences that could reduce coverage, change ANI/AF, or remove matches after reverse complementation.
      • Speed up pseudoalignment, including alignments with many separate matching regions, without changing results.
      • Keep pseudoalignment matches within the requested query region and include its final base consistently.
    • Alignment:
      • Improve alignments in repetitive regions by correcting some unnecessarily gapped alignments.
      • Recover some missing matches and terminal alignment regions, including cases where reverse complementation changed query coverage or ANI/AF.
      • Apply --align-min-match-len after extension, including in genome search --OrthoANI.
      • Fix hangs in genome search and genome compare when aligning sequences with highly repetitive regions.
      • Fix crashes and invalid CIGAR strings in adaptive alignment.
  • lexicmap utils merge-search-results:
    • Skip empty result files with a warning. #41
    • Fix Top-N selection and ties for rounded identities and negative bit scores.
    • Warn when merging mixed 20- and 24-column results and report the output column count. Add -a/--all to force 24-column output, leaving missing alignment fields empty.
    • Merge large numbers of result files within a configurable --max-open-files budget (default 1024).
    • Reduce memory use when merging long alignments.
  • lexicmap utils 2sam:
    • Correct AS and MAPQ calculation, including nonpositive alignment scores.
    • Preserve primary/secondary flags and MAPQ across input files.
    • Reduce memory use when converting long alignments with many reference sequences or many hits per query.
  • lexicmap utils kmers:
    • Reduce memory use and speed up k-mer export.
  • lexicmap utils subseq:
    • Report ambiguous sequence IDs within a genome, including across chunks, instead of extracting incorrect subsequences.
    • Reduce memory use for parallel extraction from large indexes and speed up repeated extraction, especially with low file budgets or genomes stored in multiple chunks.
  • lexicmap utils seed-pos:
    • Restore missing seed positions and fix seed-count histograms.
    • Avoid overwriting distance plots for short genome chunks.