TempSnap-Trace: A temporal snapshot-based framework for haplotype network tracing

To address the challenge of tracking large-scale viral evolutionary history, this study introduces TempSnap-Trace, a novel computational framework designed for this purpose. The methodology processes genomic data to generate variant-featured haplotype strings. Subsequently, the minimum-cost arborescence network (McAN) algorithm is employed to infer phylogenetic relationships, from which weighted temporal snapshot networks are constructed. Core evolutionary nodes are then identified using community detection approach. This method integrates mutation sites, network topology, and directional information to reconstruct backbone evolutionary pathways based on inter-community similarity over time. Compared to community detection methods based on unweighted graphs, this approach increased modularity by 17.4 % and reduced code length by 30.1 %. This approach was validated on severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) data, where it successfully identified the French B.1 lineage as a key transmission hub and accurately traced the backbone evolutionary paths of major variants, including Beta (B.1.351) and Zeta (P.2). Its utility was further demonstrated by delineating the evolutionary trajectory of the Mpox IIb B.1 variant. Furthermore, through extensive parallelization and algorithmic optimizations, the framework exhibits exceptional computational efficiency and scalability: in benchmark tests against the viral genome evolutionary analysis system (VENAS) workflow, our end-to-end pipeline demonstrated a 27-fold speedup (55.1 s <i>vs.</i> 1,492.6 s) and successfully processed a massive dataset in 23.6 h that caused VENAS to fail due to memory limitations. These findings validate the utility of TempSnap-Trace for large-scale viral surveillance, highlighting its distinct advantages in cross-border transmission warning and variant origin tracing. The code of TempSnap-Trace is available at https://github.com/Jiajun0413/TempSnap-Trace.

Authors

Institutions

Publication Details

Journal
Biosafety and Health
Published
2025-11-13
DOI
https://doi.org/10.1016/j.bsheal.2025.11.003
Primary Topic
Genetic Associations and Epidemiology
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

TempSnap-Trace: A temporal snapshot-based framework for haplotype network tracing

Yixue Li, Tao Huang, Chao Li, Jiajun Liu
Biosafety and Health
Genetic Associations and Epidemiology
article

TempSnap-Trace: A temporal snapshot-based framework for haplotype network tracing

Yixue Li, Tao Huang, Chao Li, Jiajun Liu
article en

Abstract

To address the challenge of tracking large-scale viral evolutionary history, this study introduces TempSnap-Trace, a novel computational framework designed for this purpose. The methodology processes genomic data to generate variant-featured haplotype strings. Subsequently, the minimum-cost arborescence network (McAN) algorithm is employed to infer phylogenetic relationships, from which weighted temporal snapshot networks are constructed. Core evolutionary nodes are then identified using community detection approach. This method integrates mutation sites, network topology, and directional information to reconstruct backbone evolutionary pathways based on inter-community similarity over time. Compared to community detection methods based on unweighted graphs, this approach increased modularity by 17.4 % and reduced code length by 30.1 %. This approach was validated on severe acute respiratory syndrome coronavirus 2 (SARS-CoV-2) data, where it successfully identified the French B.1 lineage as a key transmission hub and accurately traced the backbone evolutionary paths of major variants, including Beta (B.1.351) and Zeta (P.2). Its utility was further demonstrated by delineating the evolutionary trajectory of the Mpox IIb B.1 variant. Furthermore, through extensive parallelization and algorithmic optimizations, the framework exhibits exceptional computational efficiency and scalability: in benchmark tests against the viral genome evolutionary analysis system (VENAS) workflow, our end-to-end pipeline demonstrated a 27-fold speedup (55.1 s <i>vs.</i> 1,492.6 s) and successfully processed a massive dataset in 23.6 h that caused VENAS to fail due to memory limitations. These findings validate the utility of TempSnap-Trace for large-scale viral surveillance, highlighting its distinct advantages in cross-border transmission warning and variant origin tracing. The code of TempSnap-Trace is available at https://github.com/Jiajun0413/TempSnap-Trace.

Biosafety and HealthVol. 7(6)
Shanghai Institute of Nutrition and Health (CN), Guangdong-Hongkong-Macau Joint Laboratory of Collaborative Innovation for Environmental Quality (CN), University of Chinese Academy of Sciences (CN), Guangzhou Medical University (CN)
Openalex Percentile: Top 64%
Genetic Associations and Epidemiology
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.