Learning, Visualizing and Exploring 16S rRNA Structure Using an Attention-based Deep Neural Network
Zhengqiao ZhaoiD, Stephen WoloszynekiD, Felix AgbavoriD, Joshua Chang MelliD, Bahrad Ali SokhansanjiD, GAIL L. ROSENiD
Abstract
Recurrent neural networks (RNNs) with memory (e.g. LSTMs) and attention mechanisms are widely used in natural language processing because they can capture short and long term sequential information for diverse tasks. We propose an integrated deep learning model for microbial DNA sequence data, which exploits convolutional networks, recurrent neural networks, and attention mechanisms to perform sample-associated attribute prediction--phenotype prediction--and extract interesting features, such as informative taxa and predictive k-mer context. In this paper, we develop this novel deep learning approach and evaluate its application to amplicon sequences. We focus on typically short DNA reads of 16s ribosomal RNA (rRNA) marker genes, which identify the heterogeneity of a microbial community sample. Our deep learning approach enables sample-level attribute and taxonomic prediction, with the aim of aiding biological research and supporting medical diagnosis. We demonstrate that our implementation of a novel attention-based deep network architecture, Read2Pheno, achieves read-level phenotypic prediction and, in turn, that aggregating read-level information can robustly predict microbial community properties, host phenotype, and taxonomic classification, with performance comparable to conventional approaches. Most importantly, as a further result of the training process, the network architecture will encode sequences (reads) into dense, meaningful representations: learned embedded vectors output on the intermediate layer of the network model, which can provide biological insight when visualized. Finally, we demonstrate that a model with an attention layer can automatically identify informative regions in sequences/reads which are particularly informative for classification tasks. An implementation of the attention-based deep learning network is available at https://github.com/EESI/sequence_attention.
02 /Specification & Classification
Click any tag to browse matching papers- Citations
- 27
- FWCI
- 1.18
- Field percentile
- top 23%
- 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
- A deep learning approach to pattern recognition for short DNA sequences
Akosua Busia, George E. Dahl, … Mark A. DePristo·bioRxiv·Aug 10, 2019
- Micro16S: Universal Phylogenetic 16S rRNA Gene Representations for Deep Learning of the Microbiome
Haig V. Bishop, Craig William Herbold, … Olivia J. Ogilvie·bioRxiv·Mar 24, 2026
- 16S rRNA sequence embeddings: Meaningful numeric feature representations of nucleotide sequences that are convenient for downstream analyses
Stephen Woloszynek, Zhengqiao Zhao, … GAIL L. ROSEN·PLoS Computational BiologyPeer-reviewed·Feb 26, 2019
- MicroPheno: Predicting environments and host phenotypes from 16S rRNA gene sequencing using a k-mer based representation of shallow sub-samples
Ehsaneddin Asgari, Kiavash Garakani, … Mohammad R. K. Mofrad·BioinformaticsPeer-reviewed·Apr 15, 2018
- SpeciesMLP: Sequence based Multi-layer Perceptron for Amplicon Read Classification Using Real-time Data Augmentation
Ali Kishk, Mohamed S. El-Hadidi·bioRxiv·Sep 18, 2018
- Predicting microbiomes through a deep latent space
Beatriz García-Jiménez, Jorge Muñoz, … Mark D. Wilkinson·BioinformaticsPeer-reviewed·Nov 6, 2020