SpeciesMLP: Sequence based Multi-layer Perceptron for Amplicon Read Classification Using Real-time Data Augmentation
Taxonomic assignment is the core of targeted metagenomics approaches that aims to assign sequencing reads to their corresponding taxonomy. Sequence similarity searching and machine learning (ML) are two commonly used approaches for taxonomic assignment based on the 16S rRNA. Similarity based approaches require high computation resources, while ML approaches dont need these resources in prediction. The majority of these ML approaches depend on k-mer frequency rather than direct sequence, which leads to low accuracy on short reads as k-mer frequency doesnt consider k-mer position. Moreover training ML taxonomic classifiers depend on a specific read length which may reduce the prediction performance by decreasing read length. In this study, we built a neural network classifier for 16S rRNA reads based on SILVA database (version 132). Modeling was performed on direct sequences using Convolutional neural network (CNN) and other neural network architectures such as Multi-layer Perceptron and Recurrent Neural Network. In order to reduce modeling time of the direct sequences, In-silico PCR was applied on SILVA database. Total number of 14 subset databases were generated by universal primers for each single or paired high variable region (HVR). Moreover, in this study, we illustrate the results for the V2 database model on 8443 classes on the species level and 1552 on the genus level. In order to simulate sequencing fragmentation, we trained variable length subsequences from 50 bases till the full length of the HVR that are randomly changing in each training iteration. Simple MLP model with global max pooling gives 0.71 & 0.93 test accuracy for the species and genus levels respectively (for reads of 100 base sub-sequences) and 0.75 & 0.96 accuracy for the species and genus levels respectively (on the full length V2 HVR). In this study, we present a novel method (SpeciesMLP https://github.com/ali-kishk/SpeciesMLP) to model the direct amplicon sequence using MLP over a sequence of k-mers faster 20 times than CNN in training and 10 times in prediction.\n\n\n\nO_FIG O_LINKSMALLFIG WIDTH=131 HEIGHT=200 SRC=\"FIGDIR/small/419846_fig1.gif\" ALT=\"Figure 1\">\nView larger version (25K):\norg.highwire.dtl.DTLVardef@16a239aorg.highwire.dtl.DTLVardef@14773fcorg.highwire.dtl.DTLVardef@fcf14org.highwire.dtl.DTLVardef@1e43f9e_HPS_FORMAT_FIGEXP M_FIG O_FLOATNOFigure 1:C_FLOATNO Workflow diagram.The diagram begins with Insilico PCR to SILVA taxa. The rest pipeline is applied only to the V2 HVR database only from splitting to modeling.\n\nC_FIG