Prophage border curation reveals horizontal transfer of lysogeny-related elements between filamentous and double jelly-roll phages Authors: Ruijie Ma, Rui Zhang Published: 2025 ABSTRACT AbstractWhile tailed bacteriophages dominate contemporary models of phage biology, non-tailed phages—particularly filamentous inoviruses and double jelly-roll (DJR) capsid phages—remain poorly understood, despite their environmental ubiquity and ecological importance. Here, we identify 515 inoviruses and 258 DJR prophages from 688 Vibrio spp. genomes and precisely annotate prophage–bacterium junctions. This curated dataset enables us to systematically classify genomic variations and characterize lysogeny-related elements for each prophage subtype. We discover a conserved lysogeny module shared by specific inoviral and DJR subtypes, which represents an evolutionary strategy where phylogenetically distinct phages use horizontal gene transfer to co-opt host mechanisms for integration. Comparative genomics reveal that phage-encoded hypervariable regions (pHVRs) are hotspots for weaponized genetic innovation, such as anti-phage systems and virulence factors. The significantly higher prevalence of pHVR-encoding prophages compared to their pHVR-deficient counterparts across Vibrio species indicates that acquiring these adaptive genes promotes prophage persistence through mutualistic fitness benefits. Because these non-tailed elements frequently form tandem arrays and existing tools struggle with their accurate characterization, we establish a refined methodology to enhance predictive accuracy.Subject terms: Bacteriophages, Viral genetics Introduction Tailed bacteriophages (Caudoviricetes) currently dominate the evolutionary and ecological models of phage–bacteria interactions. However, the often-overlooked non-tailed phages, particularly filamentous inoviruses and double jelly-roll (DJR) capsid phages, are ubiquitous in the environment and can profoundly reshape bacterial phenotypic characteristics1,2. The unique biological properties of these non-tailed phages, such as their sensitivity to chloroform and a buoyancy density outside the typical range for density gradient centrifugation, often lead to significant activity loss during standard laboratory purification procedures3,4. These technical challenges have long hampered our understanding of their ecological significance compared to tailed phages. Emerging genomic analyses are revealing that both inoviruses and DJR phages persist predominantly as integrated genomes (prophages) within microbial genomes. A previous computational study identified 13 DJR prophages in aquatic γ- and β-proteobacterial lineages5. More recently, a large-scale survey of microbial genomes and metagenomes estimated that inovirus hallmarks are present in 6% of bacterial and archaeal genomes, primarily within γ- and β-Proteobacteria2. These findings suggest a new strategy for investigating these enigmatic phage groups. The genus Vibrio serves as a valuable model system for the coexistence of inoviruses and DJR phages6. Studies of the inovirus CTXΦ have expanded our understanding of prophage-mediated pathogenesis: CTXΦ encodes the cholera toxin subunits CtxA/B (designated CTX+) and confers virulence to Vibrio cholerae through lysogenic conversion7,8. While CTX+ prophages are restricted to V. cholera and its close relative Vibrio mimicus9, CTX− variants (with core genetic modules but lacking CtxA/B10) are more broadly distributed, found in over 50% of Vibrio species11. Although research on the effects of CTX− prophages on host phenotypes has been limited, recent evidence implies they have positive roles in bacterial ecological adaptation12. DJR phages have been isolated from Vibrio only recently, yet evidence for their prevalence, life strategies, and impacts on hosts is rapidly accumulating. The study of Autolykiviridae family DJR phages has unveiled their ability to infect multiple Vibrio species3, and meanwhile, DJR elements can persist as extrachromosomal DNA or prophages in Vibrio with spontaneous induction activity. These observations characterize DJR phages as either predators (lytic growth) or parasites (lysogenic growth) of their bacterial hosts. In a recent study, DJR elements were detected in 39.6% of 931 strains of Vibrionaceae bacteria6, suggesting their distribution is more widespread than previously thought. Furthermore, lysogenizing Vibrio anguillarum with DJR phage No16 was found to increase bacterial virulence and biofilm formation13. Despite these advancements, current surveys of non-tailed (pro)phages largely overlook key characteristics of lysogeny-related elements, particularly phage attachment site (attP for encapsulated phage genomes) and left and right prophage–bacterium junctions (attL/R for integrated prophage genomes). This knowledge gap persists, even though a small number of prototypical inoviruses are involved in the lysogeny paradigm14. The application of automated bioinformatic tools has often led to the misidentification of phage genomic architecture and lysogeny mechanism due to ambiguous prophage boundaries. To overcome this challenge, we identified 515 inoviruses and 258 DJR phages from 688 high-quality Vibrio spp. genomes and manually verified the attL/R junctions for each prophage. The resulting well-curated dataset of non-tailed prophage genomes provides valuable insights into these phages and, specifically, led to (i) a systematic classification of genomic variations among non-tailed phages and a characterization of their lysogeny-related elements, (ii) the identification of a conserved lysogeny module shared by specific members within the two phage groups, and (iii) the application of a combined strategy that integrates marker-based prediction with dif-like motif detection that significantly enhances the accuracy of predicting non-tailed prophage elements in bacterial genomes. Results and discussion Identification of non-tailed prophages in Vibrio Vibrio genomes commonly harbor multiple homologous non-tailed prophages. However, Illumina-based short-read sequencing has a limited ability to resolve long repetitive regions, which hinders the reconstruction of complete prophage sequences from fragmented bacterial genomes (Supplementary Fig. 1). To comprehensively evaluate the evolutionary and ecological characteristics of these non-tailed prophages, we retrieved and analyzed 688 complete or chromosome-level Vibrio spp. genomes from the NCBI RefSeq database, with their unique identifiers recorded in Supplementary Data 1. Using a hidden Markov model (HMM)-based search strategy, we identified prophage regions by detecting clustered gene arrangements with significant homology to conserved phage markers. Each candidate region, as shown in Supplementary Data 1, was then manual curated to precisely delineate prophage genomic boundaries—specifically, the two prophage–bacterium junctions, attL and attR—to ensure the extraction of intact prophage genomes. This approach yielded a dataset of 515 inoviruses and 258 DJR prophages (Fig. 1a, b), with detailed genomic coordinates and attL/R junction annotations available in Supplementary Data 2. Inoviruses and DJR prophages in Vibrio spp. genomes. Phylogenetic trees of inoviruses (a) and DJR prophages (b) reconstructed from the translated sequences of the zonula occludens toxin (Zot) and major coat protein P2, respectively. Maximum-likelihood trees were inferred under the Q.pfam+G4 model, with branch supports assessed using ultrafast bootstrap. Branches with bootstrap support values ≥90% were emphasized in bold. The trees were midpoint-rooted and annotated with metadata including phage subtypes, host species, and tandem array status. c Prevalence of inoviruses and DJR prophages across the top 25 Vibrio species that harbor at least one non-tailed element (n = 596; representing 87% of the analyzed genomes). To minimize skewing by outliers (e.g., 0% or 100%), lysogeny incidence was calculated only for species with ≥20 genomes. Our analysis revealed that ~60% (415/688) of the analyzed genomes contained at least one inovirus or DJR prophage. Notably, our dataset reflected the inherent bias of the RefSeq database toward pandemic Vibrio genomes, particularly Vibrio parahaemolyticus and V. cholerae (Fig. 1c). To quantify prophage prevalence without this bias, we calculated the proportion of genomes per species harboring either inoviruses (54.11 ± 18.76%; mean ± s.d.) or DJR phages (33.24 ± 22.02%). Integration strategies of the two phage groups Inoviruses establish lysogeny through either of the two recombination pathways: integrase (Int)-mediated site-specific recombination or by co-opting host XerC/D recombinases2. In Vibrio species, identified inoviruses consistently use the XerC/D pathway, featuring dif-like sequences at the prophage’s attL/R junctions and the encapsulated phage genome’s attP sites14. These dif-targeting elements lack an endogenous integrase. Instead, they leverage host XerC/D recombinases for integration into host dif sites (5′-ATTTAACATAA(N)6TAATRCGHASY-3′; with the 5-bp inverted repeats underlined)15. For this reason, they have been termed “integrative mobile elements exploiting Xer (IMEXs)”16. Each of the two Vibrio chromosomes contains a dif site, where chromosome dimers are resolved by XerC/D during cell division. This conserved nature makes dif sites ideal for IMEX propagation17,18. By presenting a dif-like attP, Vibrio inoviruses mimic this host strategy, with one recombined junction regenerating the canonical dif-motif (Fig. 2a) to thereby maintain both host fitness and IMEX success. While Int-encoding inoviruses are not found in Vibrio, they can be identified from other genera of γ-Proteobacteria (Supplementary Fig. 2). Integration patterns of dif-targeting phages (inoviruses and dif-type DJR phages) and int-type DJR phages. a Sequence variations in dif-like attP among the two phage groups are visualized as percent bar charts. The attP–attB pairing is highlighted with gray intertwined shading, with the 11-bp XerC-binding (yellow outline) and XerD-binding sites (green outline) emphasized. Hybrid attL/R junctions are displayed with color-coded annotations: blue backgrounds denote nucleotides derived from the bacterial attB (the original dif), while pink backgrounds denote nucleotides derived from the phage attP. b The left panel maps the chromosomal integration sites of int-type DJR phages, using a fully sequenced Vibrio chromosome (RefSeq: NZ_CP009467.1) as a reference. The right panel presents the attP–attB alignment (gray shading) within bacterial (blue) and phage (pink) genomes. Central core nucleotides are marked in red, and the adjacent 5-bp inverted repeats, which serve as tyrosine recombinase recognition sites, are marked in orange. The inset figure offers a schematic illustration of integrase-mediated site-specific recombination. The colored circular markers near each attachment site illustrate the rearrangement of temperate phage genome after attP–attB homologous recombination. Notably, IMEX elements follow the same paradigm but co-opt host recombinases for integration. Likewise, the DJR prophages employ the two parallel integration strategies: (i) site-specific integration by encoding a complete recombination machinery, including Int, repressor, and occasionally an excisionase (Xis), or (ii) host XerC/D exploitation. These two variations, designated “int-type” and “dif-type”, respectively, coexist in Vibrio species. Both subtypes display overall similarity across core genomes, but differ in the lysogeny module, suggesting this variation arises from horizontal gene transfer (HGT) events. Prophage border curation revealed that dif-type members mimic full-length (28-bp), left-armed (17-bp), or right-armed (17-bp) dif-like attP (Fig. 2a) to target chromosomal dif-1 or dif-2 sites, which qualifies them as IMEXs as well. In contrast, int-type members show greater variation in their target site preferences. In addition to the previously described dusA locus encoding tRNA dihydrouridine synthase6, we identified five previously unrecognized integration loci on Vibrio chromosome I (Fig. 2b). The evolution of phages into IMEXs, which co-opt host recombination machinery rather than encoding their own, is a prime example of an evolutionary trade-off aimed at optimizing genomic resources. This strategy, which we term “evolutionary economy”, is particularly advantageous for inoviruses, which are characterized by minimalist genomes encoding multifunctional proteins. For example, the zonula occludens toxin (Zot) exhibits dual functions in morphogenesis (via its N-terminal) and toxin secretion (via its C-terminal)19. Comparative genomics revealed that Vibrio inoviruses possess highly compact genomes (8.6 ± 2.0 kb, n = 495; average ± s.d.). For context, several Int-encoding inoviruses identified in other taxa have larger genomes, including six from γ-Proteobacteria (9.7–14.4 kb), one from α-Proteobacteria (11.5 kb), and three from Archaea (10.5–20.7 kb) (Supplementary Figs. 2 and 3). Similarly, the dif-type DJR phages’ co-option of host recombination mechanisms contributes to their evolutionary economy compared to their int-type variants (12.9 ± 1.0 kb, n = 140 vs. 13.9 ± 0.9 kb, n = 97; Dunn–Bonferroni post-hoc test, p = 8.55e–13) (Fig. 3a, b). Genetic plasticity and evolutionary economy of DJR phages. a Genomic architecture of two temperate DJR phage subtypes and a lytic DJR lineage (Autolykivirus) in Vibrio. Terminal gene pairs unique to each temperate subtype are highlighted in yellow. A gradient of blue shades indicates the percent amino acid identity among homologous phage genes. Accession numbers of parental bacterial genomes are indicated. b Upper panel: comparative genomic lengths of dif-type vs. int-type DJR prophages, with boxplots showing the median (thick line), 75th percentile (upper box edge), and 25th percentile (lower box edge). Lower panel: the relative abundance of dif-type and int-type DJR prophages across Vibrio species. Phage life strategies enlightened by lysogeny element characterization Vibrio dif-type DJR variants share extensive genomic synteny with Pseudoalteromonas phage PM2, the first identified lipid-containing phage20 (Fig. 3a). Since the 1970s, PM2 has been intensively studied as a model for membrane morphogenesis, significantly advancing our understanding of lipid functions in phage capsid assembly and genome delivery21. Although historically classified as strictly virulent5, this designation lacks experimental support and is based solely on descriptive accounts. Our reanalysis indicates that this classification warrants reevaluation. Mechanistically, phage integration involves reciprocal recombination between a phage attP and a bacterial attB. This process generates hybrid attL/R junctions that demarcate prophage boundaries and reposition the attP-flanking genes as prophage termini22 (as illustrated in Fig. 2 inset). The putative attP site of PM2 should consequently lie between the p15 and p16 genes, which are the canonical termini of dif-targeting DJR prophages. Indeed, we identified a 17-bp left-armed dif-like attP (5′-ATTTAACATAATATAAA-3′; NC_000867.1: 747–763 nt) at this precise locus. This genomic configuration is functional during lysogeny, as prophage excision has been experimentally validated in Pseudoalteromonas phage Cr3958223, which harbors an identical 17-bp attP motif between p15 and p16. Of note, p16 (encoding a transcriptional repressor) and p15 (encoding a transcriptional regulator) form the sole leftward-transcribed operon in PM2-like genomes. Together with the dif-like attP, these elements appear to constitute a conserved lysogeny module. In contrast, autolykiviruses, which are capable of forming plaques across multiple Vibrio species3, lack detectable lysogeny elements and retain only structural and lysis genes homologous to those of dif-type and int-type DJR subtypes (Fig. 3a). This confirms their classification as obligate lytic specialists within DJR phages. Collectively, these findings highlight the necessity of systematically characterizing phage lysogeny modules to fully elucidate phage life strategies. pHVRs as evolutionary catalysts in prophage-bacterium symbiosis The appearance of phage-encoded hypervariable regions (pHVRs) in inoviral genomes was first described in 199824, yet their specific roles remain poorly understood. As the characterization of anti-phage defense mechanisms has advanced, recent genomic analyses of Vibrio non-tailed prophages imply that these pHVRs are accessory genes required for phage defense mechanisms6. Our independent evidence corroborates this hypothesis (Fig. 4 and Supplementary Data 3) and more specifically, our research clarifies which phage lineages encode pHVRs, along with their precise genomic locations, functions, and potential origins. Overview of pHVRs identified in CTX − I inoviruses and DJR phages. Ridgeline plots display the size distribution of pHVRs identified in CTX–I inoviruses and two DJR prophage subtypes, using kernel density estimation to depict the frequency and variation in pHVR length within each group. Pie charts show genetic systems sorted by occurrence and categorized by functional annotation, with color and pattern coding indicating their predicted roles. Attached gene cassettes are color-coded to indicate their detectable protein domain. T6SS Type VI Secretion System, PARIS Phage Anti-Restriction-Induced System, RM Restriction-Modification system, CBASS Cyclic oligonucleotide-Based Anti-phage Signaling System, Abi abortive infection factor, dGTPase deoxyguanosine triphosphatase, OLD overcoming lysogenization defect protein, TDH thermostable direct hemolysin. Through comparative genomics, we identified that the prevalence of pHVRs in inoviruses co-occur with the xafT gene (encoding the Xer recombination activation factor), leading us to categorize CTX−phages into two subtypes: CTX−I and CTX−II. Both subtypes begin their integrated genomes with the repressor gene rstR but exhibit distinct downstream genomic architectures (Fig. 5a): CTX−I variants contain pHVRs averaging 1.9 ± 1.3 kb in length, located between zot and xafT. CTX−II variants lack pHVRs and terminate with zot, with or without a few downstream pseudogenes. The framework to classify inoviruses targeting Vibrio can be based on the presence of CtxA/B and XafT: CTX+ (CtxA/B-positive and XafT-negative), CTX−I (CtxA/B-negative and XafT-positive), and CTX−II (CtxA/B-negative and XafT-negative). Genetic plasticity and evolutionary economy of inoviruses. a Genomic architecture of three inoviral subtypes. Terminal gene pairs unique to each subtype are highlighted in yellow. A gradient of blue shades indicates the percent amino acid identity among homologous phage genes. Accession numbers of parental bacterial genomes are indicated. b Upper panel: comparative genomic length of the three inoviral subtypes, with boxplots showing the median (thick line), 75th percentile (upper box edge), and 25th percentile (lower box edge). Lower panel: the relative abundance of inoviral subtypes across Vibrio species. CTX+ phages were excluded from comparisons due to their narrow host range within V. cholerae and V. mimicus, which led to deviations in the analysis. It is noteworthy that dif-type DJR prophages, which encode a xafT homolog (p15), also contain pHVRs (averaging 1.9 ± 1.2 kb in length) flanked by p15 and a specific lysis gene encoding endolysin or holin (p5, gp-k, etc.). The int-type variants have pHVRs between the int gene and a specific lysis gene, with an average length of 1.7 ± 0.9 kb (Figs. 3a, and 4). Collectively, these pHVRs are not randomly placed but are consistently found between the phage lysis and lysogeny modules. Despite the difference in genome size, no significant variation in pHVR length was observed among CTX–I inoviruses, dif-type, and int-type phages (Kruskal–Wallis test, p = 0.869; Fig. 4). This indicates that the genomic space saved by not encoding a full recombination system is not reallocated to expand these variable regions. This supports our hypothesis that utilizing the host recombination system may favor overall genome compaction. HGT represents a critical driver shaping pHVR composition. Gene clusters within these regions were found to have homologs from both bacterial contigs and other temperate phage genome (Supplementary Fig. 4), suggesting that pHVRs are hotspots for genetic exchange. Beyond diverse anti-phage roles, pHVRs may also aid the dissemination of virulence factors. For instance, several V. mimicus inoviruses encode the thermostable direct hemolysin (TDH)7, an exotoxin specific to V. parahaemolyticus, within their pHVRs (Supplementary Fig. 5). Nevertheless, the incorporation of pHVR can impose a genomic burden on streamlined phage genomes. Because of their presence, CTX−I prophages are significantly larger than CTX−II prophages (9.5 ± 1.7 kb versus 6.7 ± 0.7 kb, average ± s.d.; Dunn–Bonferroni post-hoc test, p = 7.69e–43), yet the former exhibits a 4-fold numerical advantage (n = 337) over the latter (n = 78). Their cross-species relative abundance further confirms a preference for the CTX−I subtype (paired t-test, p = 4.01e–05) (Fig. 5b), suggesting that the selective advantages gained from acquiring pHVRs outweigh the genomic burdens. Notably, we identified several degraded CTX−I elements lacking canonical phage features but retaining the pHVR signature (Supplementary Fig. 6), consistent with the evolutionary paradigm that phage relics often lose functional integrity but preserve host-adaptive genetic cargo25. In summary, pHVRs serve as adaptive hubs, mediating multi-directional genetic exchange between non-tailed phages, bacterial hosts, and other temperate phages. Evolutionarily, this represents a mutually beneficial compromise, with bacteria tolerating prophage colonization in exchange for weaponized genetic innovation. A conserved lysogeny module shared by CTX−I inoviruses and dif-type DJR phages Early characterizations of inovirus f126 and DJR phage PM220 in the 1960s established fundamental distinctions between the two phage types. Inoviruses possess single-stranded DNA (ssDNA) genomes that are packaged within filamentous capsids, and execute chronic (non-lytic) infections, releasing progeny via membrane-associated secretion complexes27. Conversely, DJR phages encapsulate their double-stranded DNA (dsDNA) genomes within icosahedron capsids and can execute lytic replication mediated by endolysin-holin systems for host cell lysis5. These divergences in genetic material, morphology, and replication strategies justify their classification as biologically and phylogenetically distinct phage groups. Despite these profound differences, comparative genomics has uncovered a strikingly conserved lysogeny module shared by CTX−I inoviruses and dif-type DJR phages, comprising three core components: P16/RstR (a transcriptional repressor), P15/XafT (a transcriptional regulator), and a dif-like attP site (Fig. 6a), with their protein sequences deposited in Supplementary Data 2. CTX−I RstR showed exclusive sequence homology to P16 of dif-type phages, with an average BLASTp identity of 30.6% ± 2.9% and bit-scores of 38.3 ± 4.8, while displaying no detectable similarity to RstR variants from CTX+ or CTX−II phages. Structural alignment of predicted P16 and CTX−I RstR protein chains confirmed their three-dimensional folds are highly conserved, with a root mean squared deviation (RMSD) value as low as 1.160. Phylogenetic reconstruction based on repressor structural models further supported their monophyletic origin (Fig. 6b), as P16 formed a distinct cluster alongside CTX−I RstR and showed no structural similarity to repressors from int-type DJR phages. The P15 and XafT regulators also fall into the same functional group despite their limited sequence similarity (BLASTp identities, 29.2% ± 2.3%; bit-scores, 36.8 ± 4.1) and moderate structural divergence (minimum RMSD, 2.979). Overall, the strong structural conservation between RstR/P16 and XafT/P15 pairs provides compelling evidence for their shared ancestry. Nevertheless, the relatively low sequence similarity suggests that any potential HGT event likely occurred in the distant past, allowing for substantial sequence divergence. Sequence similarity and structural conservation of lysogeny elements in CTX−I inoviruses and dif-type DJR phages. a An IMEX tandem array from V. alginolyticus, comprising a CTX−I inovirus and a dif-type DJR prophage, is displayed as an illustrative example. Transcriptional repressors RstR/P16 and regulators XafT/P15 are highlighted in green and blue, respectively. BLASTp-derived sequence identities between gene pairs are denoted by a gradient of blue shades. Predicted protein structures of XafT/P15 (left) and RstR/P16 (right) are superposed below, with RMSD values provided. b A phylogenetic tree of phage repressor structural models is shown, including representatives from inoviral subtypes (green/red), dif-type DJR phages (green), and int-type DJR phages (gray/purple). Superimposed structures from monophyletic clades are displayed, with conserved domains (orange outline) and unique domains (gray outline) highlighted. Annotation challenges in tandem arrays specific to non-tailed IMEXs The three inoviral subtypes (CTX−I, CTX−II, and CTX+) and dif-type DJR phages are all IMEXs that integrate into host dif sites (Fig. 2a). Their single or sequential integration can lead to tandem array formation16,18. Among the analyzed Vibrio spp. genomes, 12.6% contained at least one such array, and a substantial proportion of the identified non-tailed phages were part of these arrays (Fig. 1a, b): 19.9% of CTX–I inoviruses (67/337), 94.9% of CTX–II inoviruses (75/79), 45.7% of CTX+ inoviruses (43/94), and 25.6% of dif-type DJR phages (41/160). Two-unit arrays were the most common, accounting for 67.02% of all cases, whereas arrays with four to six units were considerably rarer (2.13%–1.06%; Supplementary Fig. 7 and Data 4). The combination of a CTX–I inovirus and a dif-type DJR phage represents approximately 43% of the two-unit arrays (27/63). It should be noted that accurate identification of prophage junctions remains challenging, as existing bioinformatic tools frequently misannotate adjacent prophages as a single entity. This mischaracterization of heterologous IMEX arrays underscores a significant source of ambiguity in related studies. Using our curated prophage dataset as a reference standard, the accuracy of three widely used tools, CheckV, Virsorter2, and geNomad28–30, was quantitatively measured using the intersection-over-union (IoU) metric (Fig. 7a, b). The tool geNomad demonstrated the best, with median IoU values of 77% (CTX−I), 26% (CTX−II), 31% (CTX+), 60% (dif-type DJR), and 88% (int-type DJR). The variability in IoU is primarily attributed to the tendency of specific phage subtypes in forming IMEX arrays. Indeed, geNomad’s prediction was significantly more accurate when analyzing int-type DJR prophages, which cannot form tandem repetitions but exist in solitude—resembling Int-encoding tailed phages that are either resistant to or displaced by superinfection with another phage encoding the same attP31. Performance evaluation of the combined marker-based and dif-like motif detection strategy against three bioinformatic tools for detecting inoviruses and DJR prophages in Vibrio spp. genomes. a A schematic illustrating the intersection-over-union (IoU) calculation when the actual and predicted prophage regions overlapped differently. b Left panel: comparative predictions of inovirus/DJR prophage counts by three automated tools. Right panel: the accuracy assessment of prophage region predictions. Violin plots display the median IoU (solid line), 75th percentile (upper dash line), and 25th percentile (lower dash line). A combined predictive strategy enhances IMEX prediction accuracy Precise identification of phage attL/R junctions enabled us to uncover important non-tailed phage evolutionary insights that were previously overlooked. However, manual curation of prophage borders proved time-consuming and labor-intensive, and most prophage studies must rely on automated bioinformatics tools. The growing availability of long-read sequencing data has unveiled the organizational complexity in IMEX arrays (Supplementary Fig. 8), underscoring the need for a refined methodology. To improve this limitation, we adopted a combined strategy that integrates marker-based prediction and dif-like motif detection to enhance IMEX identification (see Supplementary Note 1 for details). The marker-based approach leverages the conserved spatial organization of the IMEX attP and its flanking genes, which in turn form fixed terminal gene pairs after recombination (Fig. 2 inset). Specifically, CTX−I and dif-type DJR phages invariably have rstR (p16) and xafT (p15) as their terminal genes; CTX−II and CTX+ phages are defined by the conserved termini rstR and zot, and rstR and ctxB, respectively. Additionally, the detection of dif-like motifs flanking or located between individual units provides direct evidence for determining their exact boundaries. To enable this, we provide the Bash script find_Vibrio_dif_motif.sh for identifying full-length and shorter arm-specific dif-like motifs. The conserved motif used by the script achieved high coverage in manually curated attL/R sites: ~81% (811/1000) for inoviruses and 93% (275/296) for dif-type DJR phages. This enabled more precise identification of IMEX boundaries: among the analyzed inoviruses, 60% (312/515) retained both attL and attR sites, enabling reconstruction of complete prophage regions, and another 36% (187/515) retained one site, improving boundary definition initially provided by the marker-based approach. Similarly, among the dif-type DJR phages examined, 74% (119/160) retained both attL/R sites and 23% (37/160) retained one site. Benchmarking against existing tools revealed the superior performance of this strategy (Fig. 7b), which achieved median IoU values of 100% (CTX−I, n = 325), 90% (CTX−II, n = 76), 93% (CTX+, n = 94), and 100% (dif-type DJR, n = 135). However, this strategy is not recommended for the int-type DJR phages examined here. The automated detection of their attL/R sites remains challenging due to high sequence variability, a feature that nonetheless facilitates their integration into diverse genomic loci. Furthermore, unlike their dif-type counterparts, int-type elements typically possess only one invariant terminal marker (the int gene), while the other end lacks a conserved feature. A more precise solution involves manual BLASTn comparison between the parental bacterial genome and a prophage-free isogenic reference to precisely remove flanking host sequences and to refine prophage boundaries. Conclusions Filamentous inoviruses and DJR phages represent significant yet understudied components of Vibrio spp. genomes. Our precise curation of prophage genomic boundaries provides fresh insights into their evolutionary dynamics. We present here the evidence for horizontal transfer of lysogeny-related elements between these phylogenetically distinct phage groups. This allows them to utilize host machinery for integration and maximize their evolutionary economy—the ability to achieve complex functions with a minimal genetic footprint. The observation that some of these phages acquired weaponized genetic systems within specific genomic hotspots further exemplified this strategy. While our study is currently restricted to Vibrio, the combined strategy of marker-based prediction with dif-like motif detection for identifying these enigmatic elements is broadly applicable, poised to expand our knowledge of non-tailed phages across diverse microbial species. Materials and methods Identification of non-tailed prophages in Vibrio spp. genomes We obtained 688 complete or chromosome-level Vibrio spp. genomes from the NCBI RefSeq database (accessed on September 9, 2023). To begin, we analyzed the amino acid profiles of well-known inoviruses (CTXΦ and f237) and DJR phages (PM2 and No16) using InterProScan (https://www.ebi.ac.uk/interpro/) to recognize specific conserved domains. Protein sequences assigned to each of these domains within the genus Vibrio (taxonomy ID: 662) were then downloaded from the UniProt database. Multiple sequence alignments were generated using MAFFT32, and these were subsequently used to construct HMMs with hmmbuild (http://hmmer.org/) (E-value < 10−5). To facilitate access, a complete set of HMM profiles for key inovirus and DJR phage markers has been compiled into a ZIP archive available as Supplementary Data 5. We then searched these HMM profiles against translated ORFs from Vibrio spp. genomes using hmmsearch (E-value < 10−5). Putative prophage regions were delineated by expanding candidate hits ±20 genes upstream and downstream, retaining regions containing ≥4 functionally distinct homologs for further analysis. This process generates a list of genomic segments, each corresponding to a candidate prophage or a tandem prophage array, as documented in Supplementary Data 1. For manual determination of phage attL/R boundary, we employed genome-wide alignments of parental bacterial genomes and their isogenic prophage-free genomes, while computationally reconstructing attP based on known attB and attL/R sequences22. Consensus motifs of dif-like att sites were visualized using the SeqLogo plug-in in TBtools33. Palindrome analysis34 was used to identify key motifs in att sequences: short central overlaps flanked by 5-bp inverted repeats that serve as recognition sites35 for tyrosine recombinases such as XerC/D and DJR phage integrases. This pipeline successfully yielded 515 inoviruses and 258 DJR prophages with precisely annotated boundaries. Phylogenetic analysis of inoviruses and DJR phages Based on established computational studies2,5,6,36 and their high conservation and phylogenetic utility, Zot and major coat protein P2 were selected as phylogenetic markers for inoviruses and DJR phages, respectively. For inoviruses, the only conserved marker identified was the Zot N-terminal domain (InterPro entry IPR008900), also known as the morphogenesis (pI) protein. For DJR phages, both P2 and packaging ATPase P9 were considered; however, P9 showed higher mutability including instances of gene loss and pseudogenization. While P2 was chosen as the primary marker, phylogenetic trees based on P9 and a concatenated P2 and P9 alignment are provided in Supplementary Fig. 9. For phylogenetic reconstruction, the translated sequences of Zot or P2 were aligned with MAFFT32 and trimmed with trimAI37 to remove poorly aligned regions. According to the Bayesian Information Criterion (BIC), ModelFinder38 determined that the best-fit model for both alignments was Q.pfam+G4. Based on this optimal model, maximum-likelihood trees were generated using IQ-TREE39, with 1000 ultrafast bootstrap replicates to assess branch support. The resulting trees were visualized and annotated in iTOL40. Bioinformatic analysis of inoviruses and DJR phages Based on the presence or absence of CtxA/B and XafT markers, inoviruses were categorized into three subtypes: CTX+ (CtxA/B-positive and XafT-negative), CTX−I (CtxA/B-negative and XafT-positive), and CTX−II (CtxA/B-negative and XafT-negative). According to lysogeny genes, DJR phages were classified as dif-type (P15 and P16) or int-type (Int, repressor, and sometimes Xis). Phage gene arrow maps were generated using the R package gggenes41. AlphaFold 3-predicted protein structures42 were aligned with PyMOL43, using the align/cealign/super commands to calculate RMSD, and were structurally phylogenetically analyzed with FoldMason44. Identification and characterization of pHVRs Comparative genomic analysis revealed that pHVRs are located between pairs of phage marker genes transcribed in opposite directions, such as zot and xafT (CTX−I), gp-k and p15 (dif-type), and gp-k and int (int-type) (Figs. 3a and 5a). To identify and extract the pHVR genes, we followed the protocol established by Rousset et al.45 and made some minor modifications. Marker gene pairs were first identified using HMM-based searches, and the intervening genetic systems were clustered with MMseqs246 (parameters: --min-seq-id 0.5 -c 0.6), excluding pHVRs composed of proteins smaller than 120 amino acids. The genetic arrangement of each pHVR was represented by the sequential order of non-redundant protein representatives identified by MMseqs2, and the occurrence frequency of each arrangement type was calculated. All protein representatives were functionally annotated using InterProScan47, HHpred48, and DefenseFinder49. Transmembrane topology was predicted using Phobius50, given that transmembrane regions often function as effectors in abortive infection systems45. A complete list of pHVR genes identified in CTX−I inoviruses and DJR prophages is provided in Supplementary Data 3. Prophage recruitment by our refined strategy and three bioinformatic tools To facilitate the application of a combined strategy that integrates marker-based prediction with dif-like motif detection, we provide a step-by-step protocol in Supplementary Note 1. This guide includes practical examples for annotating inoviral and DJR elements, as well as their tandem arrays, from bacterial genomic data. Briefly, for retained genomic clusters with at least 4 functionally distinct homologs—each corresponding to a candidate prophage or a tandem prophage array—we established coordinate benchmarks based on characteristic terminal gene pairs for different IMEX types: rstR/p16 and xafT/p15 (CTX−I/dif-type), rstR and ctxB (CTX+), and rstR and zot (CTX−II). Additionally, we defined a conserved motif from manually curated dif-like attL/R sequences as “NYKNWMCATAA(N)6–12TAATRYGHABY” and developed the Bash script find_Vibrio_dif_motif.sh (provided in Supplementary Data 5). Using this script, we scanned 688 Vibrio spp. genomes for dif-like motifs and identified attL/R sites that flank or lie between individual prophage units, with the output file included in Supplementary Data 5. Bona fide prophage regions, with their attL/R junctions precisely manually curated, were used as the gold standard. This allowed us to quantify the prediction accuracy of our refined predictive strategy and three bioinformatic tools, CheckV, Virsorter2, and geNomad28–30, measured by the IoU. This metric compares the length of the intersection of the predicted and bona fide prophage regions to the length of their union. Statistical analyses To assessed differences in genomic length among the CTX−I, CTX−II, and CTX+ variants, as well as dif-type and int-type variants, we first evaluated data normality using Shapiro–Wilk tests. As all groups significantly deviated from normality (p < 0.05), non-parametric analyses were employed. Using Kruskal–Wallis rank-sum tests, we revealed significant overall differences in genomic length across the groups (p < 0.001). Dunn’s post-hoc tests with Bonferroni correction were then used for pairwise comparisons. To compare relative abundances of phage subtypes across Vibrio species, data normality was similarly assessed via Shapiro–Wilk tests. Normally distributed data (p ≥ 0.05) were analyzed using paired t-tests, while non-normal data (p < 0.05) were evaluated with Wilcoxon signed-rank tests. All analyses were performed in R (v4.3.1) using the stats and FSA packages. The data analyzed and generated during the statistical analysis process can be found in Supplementary Data 6. Reporting summary Further information on research design is available in the Nature Portfolio Reporting Summary linked to this article. Supplementary information Supplementary Information Description of Additional Supplementary Files Supplementary Data 1 Supplementary Data 2 Supplementary Data 3 Supplementary Data 4 Supplementary Data 5 Supplementary Data 6 Reporting Summary Acknowledgements R.M. discloses support for the research of this work from the National Natural Science Foundation of China [grant number 32400014] and the China Postdoctoral Science Foundation [grant number 2023M742393]. R.Z. discloses support for the research of this work from the Guangdong Major Project of Basic and Applied Basic Research [grant number 2023B0303000017], the Innovation Team Project of Universities in Guangdong Province [grant number 2023KCXTD028], and the Science and Technology Development Fund of Macau [grant number FDCT-0055/2023/RIB2]. We thank Huiying Zhong and Dr. Bu Xu of Shenzhen University for their assistance with data analysis and their valuable comments on the manuscript. Author contributions R.M. developed ideas and organized the study; R.M. and R.Z. supervised the project; R.M. analyzed and interpreted the data; R.M. wrote the manuscript; R.M. and R.Z. revised the manuscript. All the authors reviewed the results and approved the manuscript. Peer review Peer review information Communications Biology thanks the anonymous reviewers for their contribution to the peer review of this work. Primary Handling Editors: Pei Hao and Mengtan Xing. Data availability The datasets supporting the conclusions of this article are included within the article and its additional files. Code availability The computational code for marker-based prediction and dif-like motif detection are detailed in Supplementary Note 1 that has been included as part of the Supplementary Information. The associated resources, including the complete set of HMM profiles (for inoviruses and DJR prophages) and the ready-to-use Bash script find_Vibrio_dif_motif.sh (provided with a README.md file and an exemplary output from our analysis of 688 Vibrio spp. genomes), are available in Supplementary Data 5. Competing interests The authors declare no competing interests. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. Contributor Information Ruijie Ma, Email: ruijiema92@gmail.com. Rui Zhang, Email: ruizhang@szu.edu.cn. Supplementary information The online version contains supplementary material available at 10.1038/s42003-025-09276-1. References Associated Data Supplementary Materials Supplementary Information Description of Additional Supplementary Files Supplementary Data 1 Supplementary Data 2 Supplementary Data 3 Supplementary Data 4 Supplementary Data 5 Supplementary Data 6 Reporting Summary Data Availability Statement The datasets supporting the conclusions of this article are included within the article and its additional files. The computational code for marker-based prediction and dif-like motif detection are detailed in Supplementary Note 1 that has been included as part of the Supplementary Information. The associated resources, including the complete set of HMM profiles (for inoviruses and DJR prophages) and the ready-to-use Bash script find_Vibrio_dif_motif.sh (provided with a README.md file and an exemplary output from our analysis of 688 Vibrio spp. genomes), are available in Supplementary Data 5.