henhaobio
Sign in

Lecture notes in computer scienceEvolutionary BiologyPeer-reviewed journal article

tMHG-Finder: Tree-guided Maximal Homologous Group Finder for Bacterial Genomes

Yongze YiniD, Bryce L. KilleiD, Huw A. OgilvieiD, Todd J. TreangeniD, Luay K. NakhlehiD

PDFDOIPreprintCode

Abstract

A maximal homologous group, or MHG, as a group of sequences with a shared evolutionary ancestry, shifts the focus from a genecentric view to a homology-centric view in comparative genomic studies. Each MHG is formed by identifying and grouping all homologous sequences, which ensures that evolutionary events, such as horizontal gene transfer, gene duplication and loss, or de novo sequence evolution, are encapsulated within the same MHG. However, the current MHG computation tool, MHG-Finder, faces challenges in scalability to handle large datasets and lacks the ability to provide detailed insights into intermediate MHGs involving subsets of input genomes. We present tMHG-Finder (https://github.com/yongze-yin/tMHG-Finder), a new method that improves our previous method, MHG-Finder, by utilizing a guide tree to significantly improve scalability and provide more informative biological results. We also introduce a new measure, fractionalization (available at https://github.com/yongze-yin/Fract-Calculator), to assess the accuracy of delineated MHGs compared to ground truth data. Our results show that tMHG-Finder scales linearly with the number of taxa, requiring a small fraction of the computational time of MHG-Finder. Furthermore, according to the fractionalization measure, tMHG-Finder outperforms four state-of-the-art whole-genome aligners on simulated data. Applying tMHG-Finder to a phylum of extreme-environment-resistant bacteria, we validated our results through the encapsulation of 16S rRNA sequences within MHGs. We further investigated how evolutionary rates change with phylogenetic distance and explored the functional roles of genes captured by conserved MHGs, demonstrating the broader utility of tMHG-Finder in uncovering evolutionary insights beyond MHG delineation and phylogenetic relationships.

In-depth summary

Claude Opus 5.5 · xhigh effort · 8 Nov 2026 · from the full text of version 1 (16 Mar 2025) · CC BY 4.0

tMHG-Finder uses Mash guide trees and consensus representative sequences to find maximal homologous groups in bacterial genomes with linear scaling, reaching F-score 0.932 on simulated data.

Gene-centric homolog sets break the assumption that each locus is free of recombination, whole-genome aligners struggle with divergent bacteria, and the earlier MHG-Finder scaled poorly and reported MHGs only for the full genome set. tMHG-Finder adds tree-guided progressive MHG partitioning, outputs for each genome subset in the tree, and a range-based metric for comparing alignment sets.

Key results

  1. ShownProgressive traversal of a guide tree with consensus sequences for each MHG cuts blastn comparisons from O(n^2) to O(n). tMHG-Finder therefore scales linearly with taxa, while MHG-Finder became impractical past a few genomes. Cactus and SibeliaZ remain faster.

    Intel Xeon Gold 5218: MHG-Finder took 54 hours for 9 genomes; tMHG-Finder handled all 30 simulated genomes in 13 hours on a single thread and 7 hours with eight threads; Cactus and SibeliaZ needed 30 minutes, and Mauve 53 hours, for 30 genomes. Authors report an over 10x speedup vs MHG-Finder for fewer than 10 taxa on one thread. · 3.1 tMHG-Finder Runtime Benchmark; 4 Discussion; Figure legends

  2. ShownOn a simulated 30-genome ALF benchmark, only tMHG-Finder and Progressive Cactus exceeded an F-score of 0.90. tMHG-Finder had the highest precision and fewer erroneous alignments, but lower recall than Cactus.

    mafComparator against 3989 true MHGs: F-score 0.932 for tMHG-Finder vs 0.966 for Cactus, all others below 0.75; recall 0.877 vs 0.945 (Cactus); incorrect predicted alignments 0.6% vs 1.3% (Cactus); every tool exceeded 97% precision; SibeliaZ coverage was near 50% for nine genomes. · 3.2 tMHG-Finder Accuracy Assessment; 4 Discussion; Tables

  3. SuggestedFractionalization is a new asymmetric score, based on overlapping ranges, of how one alignment splits across another alignment set. It showed that SibeliaZ and Cactus over-fragment true MHGs, Mugsy and progressiveMauve under-partition them, and tMHG-Finder output stays closest to the truth.

    Fractionalization runs from 0 (a matching MSA exists) to 1 (heavily fragmented) and was computed in both directions. tMHG-Finder MHGs reach up to 4,500 bp, mirroring the truth, with most values near 0 (some near 0.5). Mugsy and progressiveMauve MHGs extend to roughly 20,000 bp. Most true MHGs score near 1 against SibeliaZ and Cactus. · Fractionalization: MSA Comparison Statistic; 3.2 tMHG-Finder Accuracy Assessment; Figure legends

  4. ShownIn 80 Deinococcus-Thermus assemblies, every near-complete 16S rRNA copy fell into one MHG at the root of the guide tree. This supports that tMHG-Finder captures conserved loci, while its heuristics for short sequences keep fragmentary artifacts out.

    Of 312 sequences annotated as 16S (about 50 bp to 1,500 bp), all 162 near-complete copies (1,400 bp) were encapsulated in a single MHG averaging 1,256 bp. The rest, mostly under 200 bp, were judged likely sequencing or assembly artifacts. · 3.3 Validation in Deinococcus-Thermus Genes and…; 4 Discussion

  5. SuggestedAcross the internal nodes of the guide tree, more divergent and larger genome sets produced more, shorter MHGs, each covering fewer genes. At the root, conserved single-copy MHGs mostly mapped to single genes such as rpoC, with GO terms that include DNA repair and response to stimulus.

    Root node (80 genomes): 36,282 MHGs, mean 1,008 bp. Bottom-level nodes: under 725 MHGs, max 7,942 bp. Deinococcus clade: 27,066 MHGs vs 8,847 for Thermus/Meiothermus. Genes covered per MHG fell from 4.34 to 0.95. Of 58 conserved MHGs, 38 matched one gene and five spanned several. GO terms came from 54 genes in 44 conserved MHGs. · 3.3 Validation in Deinococcus-Thermus Genes and…; 3.4 Deinococcus-Thermus Evolutionary Rates; Figure legends

Methods, data and reproducibility

Mash distances and neighbor-joining give a guide tree. At each internal node, blastn local alignments (task chosen by the minimum Mash similarity) are partitioned into MHGs through an alignment graph, and MAFFT majority-vote consensus sequences stand in for each MHG at the parent node. A fractionalization score based on range overlap compares MSA sets.

  • ALF-simulated bacterial genomes evolved on a birth-death tree (birth rate 0.01, death rate 0.001) from a root genome of 4000 genes, with an 85%/15% coding/non-coding ratio · n = 30 genomes; 3989 true MHGs
  • Highest-quality GTDB assembly for each known Deinococcus-Thermus (Deinococcota) species, restricted to NCBI GCF assemblies with CheckM completeness above 99% · Deinococcus-Thermus bacteria (Deinococcus, Thermus, Meiothermus) · n = 80 assemblies (52 Deinococcus, 28 Thermus or Meiothermus)
  • NCBI GFF annotations of 16S rRNA loci in the Deinococcus-Thermus assemblies, used for validation · Deinococcus-Thermus bacteria · n = 312 16S sequences (162 near-complete)
  • QuickGO GO terms for genes in conserved MHGs, with Deinococcus radiodurans as reference, propagated and intersected with the GO Prokaryote subset · Deinococcus radiodurans (reference) · n = 54 genes in 44 conserved MHGs · taxonomy ID 243230
Methods & tools
tMHG-Finder v1.0.0, MHG-Finder, Mash (MinHash distances) with neighbor-joining guide tree, blastn (megablast, dc-megablast, blastn tasks), MAFFT v7.490, ALF genome simulator, Progressive Cactus v2.3.0, progressiveMauve (build Feb 13, 2015), SibeliaZ v1.2.4 (k=15), Mugsy v1.2.3, mafComparator; Fract-Calculator (fractionalization), pyANI (ANIb), CheckM, GTDB, QuickGO
Software & environment
tMHG-Finder v1.0.0; Cactus v2.3.0; progressiveMauve build Feb 13, 2015; SibeliaZ v1.2.4; Mugsy v1.2.3; MAFFT v7.490. No container or dependency specification is reported.
Assay conditions & compute
Intel Xeon Gold 5218 processor; eight threads for tools that support multithreading, otherwise a single thread; tMHG-Finder took 13 hours (single thread) or 7 hours (eight threads) for 30 genomes.
Reproducibility gaps
The text gives no accession list for the 80 GTDB/NCBI assemblies and does not deposit the simulated genomes; the simulation parameter settings are said to be in the tMHG-Finder GitHub repository.
Limitations (6)
  • Over-fragmentation still occurs: carB was split into two MHGs, each covering about half the gene. The authors attribute this to the method rather than to gene fission and say it may reduce accuracy. · stated by the authors
  • Boundary heuristics favor the maximal-length constraint, so tMHG-Finder draws homologous group boundaries conservatively and recovers fewer true aligned pairs than Cactus (recall 0.877 vs 0.945). · stated by the authors
  • The formal MHG definition treats all observed homology as biological and does not account for sequencing or assembly errors; tMHG-Finder compensates with heuristics that discard overly short homologous sequences. · stated by the authors
  • Guide-tree choice is not evaluated: the authors list how the selected guide tree affects MHG computation as a topic for future research. · stated by the authors
  • Accuracy rests on a single simulated 30-genome dataset with no replicates and no truth from real genomes. The blastn configurations were also tuned on simulated ground truth, and the text does not say this was independent of the benchmark, so the scores may be optimistic. · noted in this summary
  • The GO analysis only counts term frequencies for genes in conserved MHGs, with no enrichment test or background set, so the links to extremophile traits such as DNA repair remain descriptive hypotheses. · noted in this summary

Read this if you build bacterial pan-genomes or homology loci from divergent assemblies and want an annotation-free, tree-guided alternative to whole-genome aligners, plus an MSA comparison metric that scores breakpoints.

Citations
1
FWCI
3.95
Field percentile
top 8%

Reproducibility ledger

Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.

Sign in to file a reproducibility report.

Similarity Map
SelectedSame fieldCross-field
THISRamírez-Raf '26Kumar '24Bernard '25Sánchez-Sot '19Johnson '25Erives '18
49% semantic matchBioinformatics
José Antonio Ramírez-Rafael, Annachiara Korchmaros, Katia Aviña‐Padilla+6 more·PLoS Computational Biology·Aug 12, 2026· 1 citations