Back

ProkBERT PhaStyle: Accurate Phage Lifestyle Prediction with Pretrained Genomic Language Models

Juhasz, J.; Bodnar, B.; Juhasz, J.; Ligeti-Nagy, N.; Pongor, S.; Ligeti, B.

2024-12-08 bioinformatics
10.1101/2024.12.08.627378 bioRxiv
Show abstract

BackgroundPhage lifestyle prediction, i.e. classifying phage sequences as virulent or temperate, is crucial in biomedical and ecological applications. Phage sequences from metagenome or metavirome assemblies are often fragmented, and the diversity of environmental phages is not well known. Current computational approaches often rely on database comparisons and machine learning algorithms that require significant effort and expertise to update. We propose using genomic language models for phage lifestyle classification, allowing efficient direct analysis from nucleotide sequences without the need for sophisticated preprocessing pipelines or manually curated databases. MethodsWe trained three genomic language models (DNABERT-2, Nucleotide Transformer, and ProkBERT) on datasets of short, fragmented sequences. These models were then compared with dedicated phage lifestyle prediction methods (PhaTYP, DeePhage, BACPHLIP) in terms of accuracy, prediction speed, and generalization capability. ResultsProkBERT PhaStyle consistently outperforms existing models in various scenarios. It generalizes well for out-of-sample data, accurately classifies phages from extreme environments, and also demonstrates high inference speed. Despite having up to 20 times fewer parameters, it proved to be better performing than much larger genomic language models. ConclusionsGenomic language models offer a simple and computationally efficient alternative for solving complex classification tasks, such as phage lifestyle prediction. ProkBERT PhaStyles simplicity, speed, and performance suggest its utility in various ecological and clinical applications.

Matching journals

The top 5 journals account for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.