Related Experiment Video
Updated: May 26, 2025

Phage Phenomics: Physiological Approaches to Characterize Novel Viral Proteins
Published on: June 11, 2015
PharaCon: a new framework for identifying bacteriophages via conditional representation learning
Zeheng Bai1, Yao-Zhong Zhang1, Yuxuan Pang1
1Division of Health Medical Intelligence, Human Genome Center, The Institute of Medical Science, The University of Tokyo, 4-6-1, Shirokanedai, Minato-ku, Tokyo, 108-8639, Japan.
Motivation:
Identifying 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.
Results:
To overcome this limitation, we proposed a novel conditional BERT framework that incorporates label classes as special tokens during pre-training. Specifically, our conditional BERT model attaches labels directly during tokenization, introducing label constraints into the model's input. Additionally, we introduced a new fine-tuning scheme that enables the conditional BERT to be effectively utilized for classification tasks. This framework allows the BERT model to acquire label-specific contextual representations from mixed sequence data during pre-training and applies the conditional BERT as a classifier during fine-tuning, and we named the fine-tuned model as PharaCon. We evaluated PharaCon against several existing methods on both simulated sequence datasets and real metagenomic contig datasets. The results demonstrate PharaCon's effectiveness and efficiency in phage identification, highlighting the advantages of incorporating label information during both pre-training and fine-tuning.
Availability And Implementation:
The source code and associated data can be accessed at https://github.com/Celestial-Bai/PharaCon.
More Related Videos
09:23Understanding the Impact of Temperate Bacteriophages on Their Lysogens Through Transcriptomics
Published on: January 5, 2024
09:34A Virtual Machine Platform for Non-Computer Professionals for Using Deep Learning to Classify Biological Sequences of Metagenomic Data
Published on: September 25, 2021
Related Concept Videos
Lysogenic Cycle of Bacteriophages
Lytic Cycle of Bacteriophages
CRISPR and crRNAs
The CRISPR-Cas system stores a copy of foreign DNA in the host genome and uses it to identify the foreign DNA upon reinfection. CRISPR-Cas has three different...