PhageCGRNet
A CNN that predicts a phage's host from k-mer frequencies and Chaos Game Representation positions.
Molecules, proteins and genomics · 11 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
At a glance
- Parameters
- 67.4M
- Operations
- 11
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2026, PLOS Computational Biology
- Cited by
- 1 (as of 24 October 2026)
- Authors
- Ting Wang, Zu-Guo Yu, Jinyan Li, Xuan Lin
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
Details
- Stable ID
- m19306
- Graph hash
- 7f07c75d572cb0faf19886105e09f290abcc9de4faa61ca52a7515182e93b5f3
- Skeleton hash
- 098e98466bc0fedad39487c1eabbfcde05349c0409245233060d5c6cc044b12a
- Architecture hash
- 7e32591194e2224ec9f7614aa1e7708cf7167cb3d015d27cc8d61b5a1f23a84d
- Diagram SHA-256
- 703643e7f2aabf6afe9da953b377011453dd2f4836948728c4fb3249c0543cfd
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
PhageCGRNet is a convolutional network that predicts the host category of a phage from its genome sequence. The paper's motivation is phage therapy, for which it says accurate prediction of the interactions between phages and their hosts is essential.
The paper says most existing methods rely only on how often each short subsequence (k-mer) occurs and overlook where the k-mers sit in the sequence. PhageCGRNet adds position by mapping the sequence onto a Chaos Game Representation (CGR) plot and taking, for each k-mer, the average position of the subsequences ending with it. With k set to 7 in the experiments, the frequency and position features form a matrix of size 3 × 128 × 128.
The network has two convolutional layers, each followed by max pooling. In the paper's description, a fully connected layer then feeds a Softmax that scores each host taxonomy. The experiments use two datasets previously employed by DeepHost and CHERRY. The second comprises 1,875 phages covering 206 species-level host taxonomies. On it the paper reports 79.68% accuracy at the species level, 6.42% above the second-best method, PHPGCA.
Key idea. PhageCGRNet combines k-mer frequencies with k-mer positions from the Chaos Game Representation into a three-dimensional feature matrix that a convolutional network classifies by phage host.
- PhageCGRNet
- phage host prediction
- phage host classification
- Chaos Game Representation
- CGR
- k-mer
- bacteriophage
- genome sequence classification
- phage therapy
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Wang_2026, title={PhageCGRNet: Integrating Chaos Game Representation of Genomes with Convolutional Neural Network for accurate phage host classification prediction}, volume={22}, ISSN={1553-7358}, url={http://dx.doi.org/10.1371/journal.pcbi.1014130}, DOI={10.1371/journal.pcbi.1014130}, number={4}, journal={PLOS Computational Biology}, publisher={Public Library of Science (PLoS)}, author={Wang, Ting and Yu, Zu-Guo and Li, Jinyan and Lin, Xuan}, editor={Domaratzki, Michael}, year={2026}, month=Apr, pages={e1014130} }