  Applying a ML approach to the temporal variability of the Spike protein
sequence enables us to identify, classify and track emerging virus variants.
Our analysis is unbiased, in the sense that it does not require any prior
knowledge of the variant characteristics, and our results are validated by
other informed methods that define variants based on the complete genome.
Furthermore, correlating persistent variants of our approach to epidemiological
data, we discover that each new wave of the COVID-19 pandemic is driven and
dominated by a new emerging variant. Our results are therefore indispensable
for further studies on the evolution of SARS-CoV-2 and the prediction of
evolutionary patterns that determine current and future mutations of the Spike
proteins, as well as their diversification and persistence during the viral
spread. Moreover, our ML algorithm works as an efficient early warning system
for the emergence of new persistent variants that may pose a threat of
triggering a new wave of COVID-19. Capable of a timely identification of
potential new epidemiological threats when the variant only represents 1% of
the new sequences, our ML strategy is a crucial tool for decision makers to
define short and long term strategies to curb future outbreaks. The same
methodology can be applied to other viral diseases, influenza included, if
sufficient sequencing data is available.
