MosaicLev: Modified Levenshtein distance for mobile element-aware genome comparison

preprint OA: closed CC-BY-NC-ND-4.0

Abstract

Motivation Somatic genetic mosaicism arises when genomes diverge across cells during development, in part due to the activity of transposons (cut–paste) and retrotransposons (copy–paste). Standard sequence comparison methods are not motif-aware, penalizing mobile element insertions based on length rather than recognizing them as single biological events. Results We introduce a modified Levenshtein distance (mlev) that discounts mobile element insertions via a tunable parameter ( m ∈ [0, 1]). Validation on 67 Cluster G1 mycobacteriophage genomes demonstrates bidirectional discrimination between Mycobacteriophage Mobile Element 1 (MPME1) and MPME2 elements: using MPME1 as target yields ∼49% discount for MPME1 carriers but only ∼9% for MPME2 carriers, while using MPME2 reverses this pattern. This approach classifies 35 MPME1 carriers and 11 MPME2 carriers, and identifies 14 phages showing low discount with both motifs, consistent with absence of both elements. Availability and Implementation Python implementation with Numba JIT compilation freely available at https://doi.org/10.5281/zenodo.18452982 .
Full text 1,500 characters · extracted from oa-doi-fallback · 2 sections · click to expand

Abstract

Motivation Somatic genetic mosaicism arises when genomes diverge across cells during development, in part due to the activity of transposons (cut–paste) and retrotransposons (copy–paste). Standard sequence comparison methods are not motif-aware, penalizing mobile element insertions based on length rather than recognizing them as single biological events.

Results

We introduce a modified Levenshtein distance (mlev) that discounts mobile element insertions via a tunable parameter (m ∈ [0, 1]). Validation on 67 Cluster G1 mycobacteriophage genomes demonstrates bidirectional discrimination between Mycobacteriophage Mobile Element 1 (MPME1) and MPME2 elements: using MPME1 as target yields ∼49% discount for MPME1 carriers but only ∼9% for MPME2 carriers, while using MPME2 reverses this pattern. This approach classifies 35 MPME1 carriers and 11 MPME2 carriers, and identifies 14 phages showing low discount with both motifs, consistent with absence of both elements. Availability and Implementation Python implementation with Numba JIT compilation freely available at https://doi.org/10.5281/zenodo.18452982. Competing Interest Statement The authors have declared no competing interest. Footnotes Contact thomas.kuhlman{at}ucr.edu Supplementary information Supplementary data, analysis scripts, and pairwise distance matrices are available at the GitHub repository. Abbreviations - MPME - Mycobacteriophage Mobile Element - mlev - modified Levenshtein distance - DP - dynamic programming

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: oa-doi-fallback

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2026) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00
unpaywall
last seen: 2026-05-27T02:00:06.600101+00:00
License: CC-BY-NC-ND-4.0