vartracker: an end-to-end tool for pathogen longitudinal variant analysis and visualisation
vartracker is an open-source, pathogen-agnostic tool that streamlines the analysis and visualization of longitudinal pathogen evolution by integrating diverse genomic inputs, tracking variant emergence and persistence, and generating reproducible results with interactive visualizations.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of a preprint that has not been peer-reviewed. It is not medical advice. Do not make health decisions based on this content. Read full disclaimer
Viruses are masters of change. When a virus infects a person, it does not simply sit still; it replicates, copying its genetic code over and over. In this copying process, tiny mistakes, or mutations, occasionally slip in. Most of these mistakes do nothing, but some can help the virus spread faster, hide from the immune system, or survive treatment. To understand how a virus evolves, scientists can sequence its genetic code at different points in time. By lining up these snapshots, they can watch the virus change, seeing which mutations appear, which ones stick around, and which ones disappear. This is known as longitudinal analysis. It is a powerful way to track the history of an infection inside a single person or to follow a virus as it moves through a population. However, doing this manually is difficult. The data is vast, the files are complex, and piecing together the story of a virus's evolution often requires writing custom computer code for every single study, a process that is slow and prone to error.
To solve this problem, researchers have developed a new tool called vartracker. This software is designed to take the raw genetic data from a series of samples and turn it into a clear, visual story of how a virus changes over time. Instead of forcing scientists to write their own scripts to compare samples, vartracker acts as a universal translator. It accepts genetic data in several different formats, whether it is the raw output from a sequencing machine or files that have already been processed by other programs. Once the data is inside, the tool does the heavy lifting. It lines up the mutations from every sample, checks if they are real or just errors, and tracks their frequency as time passes. It can tell a researcher if a mutation was present from the start, if it appeared later, and whether it eventually took over the entire viral population or faded away. The tool also connects these genetic changes to what is already known about them, such as whether a specific change affects a protein that drugs target.
The researchers tested this tool on real-world data to see how well it worked. First, they looked at a dataset involving the SARS-CoV-2 virus, the pathogen that causes COVID-19. They analyzed thirteen samples taken from a long-term experiment where the virus was grown in a lab over many generations. The tool successfully processed the data in just under five minutes, identifying key changes in the virus's genetic code. It spotted a moment where the virus population shifted, with some versions of the virus disappearing and new ones taking their place, a pattern that matched findings from previous studies. The software also generated clear charts showing how the frequency of specific mutations rose and fell over time, making it easy to see the virus's evolutionary path.
Next, the team wanted to see if the tool could handle viruses other than SARS-CoV-2. They turned their attention to Respiratory Syncytial Virus A, a common cause of respiratory illness. They analyzed five samples from a study tracking the virus inside human patients. Even though this virus is different from SARS-CoV-2, vartracker handled the data smoothly, completing the analysis in about seven minutes. It successfully identified a specific mutation that changes a protein on the virus's surface, a change that is known to affect how well certain antiviral drugs work. This proved that the tool is not limited to one type of virus; it can be adapted to study any pathogen as long as the correct reference data is provided.
To ensure the tool could handle even larger and more complex datasets, the researchers created a simulated scenario using a bacterium called Pseudomonas aeruginosa. This bacterium has a genome much larger than that of a virus. They generated fake data containing hundreds of mutations across six different time points. The tool processed this massive amount of information in just seconds, accurately recovering every single mutation and its pattern of appearance and disappearance. This test showed that the software is fast and reliable, even when the amount of data grows significantly.
The result of this work is a free, open-source program that makes the complex task of tracking viral evolution accessible to more scientists. By automating the comparison of genetic samples over time, vartracker allows researchers to focus on what the data means rather than how to process it. It produces clear tables and interactive charts that show the life story of a virus's mutations, from their first appearance to their final fate. Whether studying a virus in a single patient or tracking an outbreak, this tool provides a straightforward way to visualize the invisible changes that drive the evolution of disease.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.