All models

DeepMicroClass

A two-path convolutional network that sorts metagenomic DNA contigs into five sequence classes.

Molecules, proteins and genomics · 81 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (53 KB)

Open in a new tab

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
522.6K
Operations
81
Framework
PyTorch
Recurrent
Yes
Published
NAR Genomics and Bioinformatics 6(2), lqae044, 2024
Cited by
31 (as of 28 October 2026)
Authors
Shengwei Hou, Tianqi Tang, Siliangyu Cheng and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m15973
Graph hash
1b9fa49ddade7b213ba0403d93983a06b0ff0e9dddf1d9ae9967110ee0602123
Skeleton hash
3188ff80f27fc1d3482ad9d356854fe9dcbb4ad43029882df6a73ba28f134622
Architecture hash
6855d2bdd7042dab4737055b1ffb4022e8c1041597f83eadc4b64fab9661ee55
Diagram SHA-256
c5e26907ec861abe5bb47a40dc9d83ceb7436b890d05d1411bbd67109ffd5b04
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

DeepMicroClass is a deep learning classifier that sorts metagenomic contigs into five sequence classes: viruses infecting prokaryotic or eukaryotic hosts, eukaryotic or prokaryotic chromosomes, and prokaryotic plasmids. The paper's motivation is that two-class classifiers are insufficient because environmental metagenomes usually come from several sequence sources.

The model is a convolutional network with two paths, a base path for nucleotide-level information and a codon path for codon-level information. Input DNA is one-hot encoded, and the reverse complementary strand is encoded from the forward matrix so that both strands are read. The outputs of both paths for both strands are concatenated into a 1024-dimensional vector that feeds the linear layers. The final linear layer outputs a 5-dimensional vector, one value per class. The authors chose a CNN over recurrent networks and Transformers because CNNs train more simply and quickly.

At test time, a sequence longer than 5 kbps is split into non-overlapping 5 kbps chunks and the mean of the chunk scores is its prediction. On the CAMI II marine dataset, the paper reports viral sequence classification performance comparable with geNomad and VirSorter2.

Key idea. DeepMicroClass classifies metagenomic contigs into five sequence classes with a single convolutional network instead of a two-class virus and host classifier.

  • deepmicroclass
  • metagenomic contig classification
  • metagenomics
  • virus identification
  • plasmid
  • prokaryote
  • eukaryote
  • dna sequence classifier

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@article{Hou_2024, title={DeepMicroClass sorts metagenomic contigs into prokaryotes, eukaryotes and viruses}, volume={6}, ISSN={2631-9268}, url={http://dx.doi.org/10.1093/nargab/lqae044}, DOI={10.1093/nargab/lqae044}, number={2}, journal={NAR Genomics and Bioinformatics}, publisher={Oxford University Press (OUP)}, author={Hou, Shengwei and Tang, Tianqi and Cheng, Siliangyu and Liu, Yuanhao and Xia, Tian and Chen, Ting and Fuhrman, Jed A and Sun, Fengzhu}, year={2024}, month=Apr }