PharaCon: A new framework for identifying bacteriophages via conditional representation learning
Zeheng BaiiD, Yaozhong ZhangiD, Yuxuan PangiD, Seiya ImotoiD
Abstract
MotivationIdentifying bacteriophages (phages) within metagenomic sequences is essential for understanding microbial community dynamics. Transformer-based foundation models have been successfully employed to address various biological challenges. However, these models are typically pre-trained with self-supervised tasks that do not consider label variance in the pre-training data. This presents a challenge for phage identification as pre-training on mixed bacterial and phage data may lead to information bias due to the imbalance between bacterial and phage samples. ResultsTo overcome this limitation, this study proposed a novel conditional BERT framework that incorporates labels during pre-training. We developed an approach using a conditional BERT model for pre-training labeled data, incorporating label constraints with modified language modeling tasks. This approach allows the model to acquire label-conditional sequence representations. Additionally, we proposed a solution that utilizes conditional BERT in the fine-tuning phase as a classifier. We applied this conditional BERT framework to identify phages using a novel fine-tuning strategy, introducing PharaCon. We evaluated PharaCon against several existing methods on both simulated sequence datasets and real metagenomic contig datasets. The results demonstrate PharaCon's potential as an effective and efficient method for phage identification, highlighting the effectiveness of conditional B ERT as a solution for learning label-specific representations during pre-training on mixed sequence data. AvailabilityThe codes of PharaCon are now available in: https://github.com/Celestial-Bai/PharaCon. Contactyaozhong@ims.u-tokyo.ac.jp and imoto@hgc.jp
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 2
- FWCI
- 1.05
- Field percentile
- top 30%
- Organism
- 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
- Identification of bacteriophage genome sequences with representation learning
Zeheng Bai, Yaozhong Zhang, … Seiya Imoto·BioinformaticsPeer-reviewed·Aug 3, 2022
- Seeker: Alignment-free identification of bacteriophage genomes by deep learning
N. Auslander, A. B. Gussow, … E. V. Koonin·Nucleic Acids ResearchPeer-reviewed·Oct 12, 2020
- Jaeger: an accurate and fast deep-learning tool to detect bacteriophage sequences
Yasas Wijesekara, Lingyi Wu, … Lars Kaderali·bioRxiv·Sep 24, 2024
- Phylogenetic tree-aware positive-unlabeled deep metric learning for phage-host interaction identification
Yaozhong Zhang, Tobias Boschung, Seiya Imoto·bioRxiv·Dec 31, 2025
- Gauge your phage: Benchmarking of bacteriophage identification tools in metagenomic sequencing data
S. F. S. Ho, N. Wheeler, … W. van Schaik·bioRxiv·Apr 12, 2021
- ProkBERT PhaStyle: Accurate Phage Lifestyle Prediction with Pretrained Genomic Language Models
Judit Juhász, Noémi Ligeti-Nagy, … Balázs Ligeti·Bioinformatics AdvancesPeer-reviewed·Dec 26, 2024