PhaTYP: Predicting the lifestyle for bacteriophages using BERT

Jiayu Shang, Xubo Tang, Yanni Sun
6/20/2022
q-bio.GN

Official code: KennthShang/PhaTYP (20 stars, Python, GPL-3.0, last commit 2024-11-06).

Abstract

Bacteriophages (or phages), which infect bacteria, have two distinct lifestyles: virulent and temperate. Predicting the lifestyle of phages helps decipher their interactions with their bacterial hosts, aiding phages' applications in fields such as phage therapy.

Show full abstract

Because experimental methods for annotating the lifestyle of phages cannot keep pace with the fast accumulation of sequenced phages, computational method for predicting phages' lifestyles has become an attractive alternative. Despite some promising results, computational lifestyle prediction remains difficult because of the limited known annotations and the sheer amount of sequenced phage contigs assembled from metagenomic data. In particular, most of the existing tools cannot precisely predict phages' lifestyles for short contigs. In this work, we develop PhaTYP (Phage TYPe prediction tool) to improve the accuracy of lifestyle prediction on short contigs. We design two different training tasks, self-supervised and fine-tuning tasks, to overcome lifestyle prediction difficulties. We rigorously tested and compared PhaTYP with four state-of-the-art methods: DeePhage, PHACTS, PhagePred, and BACPHLIP. The experimental results show that PhaTYP outperforms all these methods and achieves more stable performance on short contigs. In addition, we demonstrated the utility of PhaTYP for analyzing the phage lifestyle on human neonates' gut data. This application shows that PhaTYP is a useful means for studying phages in metagenomic data and helps extend our understanding of microbial communities.

View on arXivView PDF

Code Implementations(1)

KennthShang/PhaTYPOfficial100%
GPL-3.0

PhaTYP: Predicting lifestyle for bacteriophages using BERT

206Python, Jupyter NotebookJun 16, 20222 years agoGPL-3.0

Similar Papers

Cite this paper

@article{shang2022phatyp,
  title  = {PhaTYP: Predicting the lifestyle for bacteriophages using BERT},
  author = {Jiayu Shang and Xubo Tang and Yanni Sun},
  year   = {2022},
  eprint = {2206.09693},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.09693}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2206.09693.svg)](https://codeofpaper.com/paper/2206.09693)

Discussion