KuafuPrimer: Machine learning empowers the design of 16S amplicon sequencing primers toward minimal bias for bacterial communities
Preprint
Abstract
Amplicon sequencing protocol targeting the 16S rRNA gene is a widely used and cost-effective method for exploring bacterial communities. However, its performance is often limited by primer bias arising from the arbitrary use of universal primers across diverse microbial communities and habitats. We propose KuafuPrimer to design the optimal 16S rRNA gene primers toward minimal bias for targeted bacterial communities, using few-shot machine learning to guide the primer design procedure based on a small number of samples. Simulations on 809 samples across 26 representative environments and habitats showed that KuafuPrimer-designed primers outperformed the universal primers in taxonomic accuracy, achieving an averaged 16.31% relative reduction in primer bias, with reductions up to 46.08% in plant samples. Notably, KuafuPrimer detected 29 rare and key taxa undetectable by the universal primers. Validation with 317 longitudinal gut microbiota samples demonstrated that KuafuPrimer-designed primers consistently outperformed the universal primers across temporal, individual, and cohort levels, with relative bias reductions of 5.03%, 3.53%, and 3.10%, respectively. Finally, in real PCR experiments on human gut samples from Clostridioides difficile -infected and healthy groups showed that polymerase chain reaction products using KuafuPrimer-designed primers correlated better with metagenomic data compared to the universal primers. More importantly, KuafuPrimer successfully detected Clostridioides difficile , the key pathogen missed by the universal primers, highlighting its potential for improving clinical diagnostics. In summary, KuafuPrimer provides a machine learning-based primer design strategy for targeted bacterial communities, with demonstrated utility in large-scale microbiome initiatives, longitudinal surveys and clinical diagnostics.Keywords
Funding Information
- National Science and Technology Major Project (2025ZD01901200)
- National Science and Technology Major Project (2025ZD01901800)
- National Natural Science Foundation of China (32570752)
- National Natural Science Foundation of China (32300078)
- National Natural Science Foundation of China (42325704)
- National Natural Science Foundation of China (82202588)
This publication has 80 references indexed in Scilit:
- Longitudinal profiling of the microbiome at four body sites reveals core stability and individualized dynamics during health and diseaseCell Host & Microbe, 2024
- Evaluation of 16S rRNA gene primer pairs for bacterial community profiling in an across soil and ryegrass plant studyJournal of Sustainable Agriculture and Environment, 2023
- MultiPrime: A reliable and efficient tool for targeted next‐generation sequencingiMeta, 2023
- High Cell Density Culture of Dairy Propionibacterium sp. and Acidipropionibacterium sp.: A Review for Food Industry ApplicationsFood and Bioprocess Technology, 2022
- Long-term effects of three compound probiotics on water quality, growth performances, microbiota distributions and resistance to Aeromonas veronii in crucian carp Carassius auratus gibelioFish & Shellfish Immunology, 2022
- Antifungal potential against Sclerotinia sclerotiorum (Lib.) de Bary and plant growth promoting abilities of Bacillus isolates from canola (Brassica napus L.) rootsMicrobiological Research, 2021
- Tumor Microbiome Diversity and Composition Influence Pancreatic Cancer OutcomesCell, 2019
- Skin Microbiome Surveys Are Strongly Influenced by Experimental DesignJournal of Investigative Dermatology, 2016
- Analysis of the microbiome: Advantages of whole genome shotgun versus 16S amplicon sequencingBiochemical and Biophysical Research Communications, 2016
- U-Net: Convolutional Networks for Biomedical Image Segmentation2015