MetageNN
A three-layer feed-forward network that classifies long sequencing reads by taxon from their k-mer profiles.
Molecules, proteins and genomics · 7 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
- 15.4M
- Operations
- 7
- Framework
- PyTorch
- Recurrent
- No
- Published
- BMC Bioinformatics 25:153 (2024)
- Cited by
- 9 (as of 29 October 2026)
- Authors
- Rafael Peres da Silva, Chayaporn Suphavilai, Niranjan Nagarajan
- Source
- GitHub: CSB5/MetageNN
- 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
- m18433
- Graph hash
- c3d3f486330acb3bc41bd5a26788fc15aa62da87a8e0f7a4b5dd4f5f3235411c
- Skeleton hash
- 645d19e9d8e5b01a3d4ae3f2a05b1e09b5617871cadf9d622c2bd98bb616efd7
- Architecture hash
- 0dd83e03c77015c65880497818d35eb0930e189e5a456a409dcf01ed954095fe
- Diagram SHA-256
- b59cc984559d7ecbd0121dd5b744cd8fa92240cbce98536ea1d111767eb417ad
- 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
MetageNN is a neural network for taxonomic classification of long sequencing reads, built to tolerate sequencing errors and genomes that are missing from the reference database. Long-read training data does not exist for all organisms, so it learns from k-mer profiles of sequences collected from a large genome database and is then applied to error-prone reads.
Its input is a k-mer profile, also known as k-mer counts, with a small k because such profiles are more robust to sequencing errors: a single base error affects fewer k-mers. After testing sizes from 3 to 6, the paper set the k-mer size to 6. The network is a three-layered feed-forward network that takes canonical k-mer profiles as input. The first two layers extract features and the third does the multi-class taxonomic classification, with a ReLU activation after each layer and dropout for regularization.
The paper, which describes itself as proof of concept work, reports a 20% improvement in F1 score over GeNet on long-read data. Because the learned weights are the final product, it reports that MetageNN needed 0.839 GB where the Kraken2 database took 3.7 GB. Design choices were tested on a small database that includes only genomes of 47 species, and the main database lists 516 genomes.
Key idea. MetageNN shows that a three-layered feed-forward network trained on short k-mer profiles of genome sequences can classify error-prone long reads while storing less than conventional classifier databases.
- MetageNN
- taxonomic classification
- metagenomics
- long reads
- nanopore
- k-mer profile
- 6-mer
- sequencing errors
- missing genomes
- memory-efficient classifier
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@article{Peres_da_Silva_2024, title={MetageNN: a memory-efficient neural network taxonomic classifier robust to sequencing errors and missing genomes}, volume={25}, ISSN={1471-2105}, url={http://dx.doi.org/10.1186/s12859-024-05760-3}, DOI={10.1186/s12859-024-05760-3}, number={S1}, journal={BMC Bioinformatics}, publisher={Springer Science and Business Media LLC}, author={Peres da Silva, Rafael and Suphavilai, Chayaporn and Nagarajan, Niranjan}, year={2024}, month=Apr }