Measuring and removing near-duplicate contamination in alignment-free SARS-CoV-2 lineage classification benchmarks
Abstract
Alignment-free lineage assignment from k-mer frequency profiles is widely used for SARS-CoV-2 surveillance, and the methods that do it are ranked against each other by margins of one or two percentage points. Those rankings rest on an unchecked protocol. Public repositories hold many near-duplicate genomes, and stratified random splitting puts members of such a group on both sides of the split, so a classifier is credited for sequences it has already seen. We propose quantised profile hashing, which finds near duplicates in k-mer feature space by rounding each frequency vector and hashing it. No sequence is compared with any other, so one pass over the feature matrix suffices and no similarity threshold has to be chosen. Rounding is also what makes the groups well defined, and they are then kept whole across the training, validation and test sets. On 255,611 genomes from seven Pango lineages, random splitting leaves 5.09% of test sequences with a near duplicate in training, on a benchmark ranked by margins of one or two points. Ten update rules were trained twice, identically except for the partition. The contaminated benchmark separates one rule from the leader at 0.05; the clean one separates none. The two orderings are uncorrelated, Kendall{tau} = +0.022, with rules moving 3.2 positions on average and the leader of one benchmark ranking eighth on the other. A ranking obtained under contamination therefore says nothing about the ranking without it, and the quantity worth reporting beside a score is the leakage rate of the split.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 0
- Assay
- Research Focus
- Approach
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.
Related papers
- Differential sensitivity of k-mer based identification tools using closely related database sequences affects relative abundance estimation
Annie J. Forster, Michael Payne, … Tanya Golubchik·bioRxiv·Oct 21, 2026
- SARS-CoV-2 lineage assignments using phylogenetic placement/UShER are superior to pangoLEARN machine learning method
Adriano de Bernardi Schneider, Michelle Su, … Russell B Corbett-Detig·Virus EvolutionPeer-reviewed·Jan 1, 2024
- COVID-Align: Accurate online alignment of hCoV-19 genomes using a profile HMM
Frédéric Lemoine, Luc Blassel, … Olivier Gascuel·BioinformaticsPeer-reviewed·Sep 24, 2020
- Genomic Similarity of Nucleotides in SARS CoronaVirus using K-Means Unsupervised Learning Algorithm
Jairaj Singh·bioRxiv·Oct 12, 2020
- Machine learning using intrinsic genomic signatures for rapid classification of novel pathogens: COVID-19 case study
Gurjit S. Randhawa, Maximillian P. M. Soltysiak, … Lila Kari A·PLoS ONEPeer-reviewed·Apr 24, 2020
- Phylogeny-aided detection of contamination in nearly 5 million SARS-CoV-2 genomes
Olivier Anoufa, Nhan Ly-Trong, … Nicola De Maio·bioRxiv·Aug 7, 2026