Penta‑Class Classification of Hepatitis Virus DNA Sequences Using a 1D‑CNN for Enhanced Differential Diagnosis

Authors

  • Mochammad Anshori Institut Teknologi, Sains, dan Kesehatan RS.DR. Soepraoen Kesdam V/BRW
  • Mentari Putri Jati Academia Sinica image/svg+xml

DOI:

https://doi.org/10.47794/jesica.v3i2.51

Keywords:

1D-CNN, Bioinformatics, CNN, Hepatitis, Sequence DNA

Abstract

Despite advances in molecular testing, the genetic similarity among hepatitis strains and the complexity of their clinical presentations often confound traditional diagnostic approaches, underscoring the urgent need for automated, sequence‑intelligent solutions. This study developed a pure one‑dimensional Convolutional Neural Network (1D‑CNN) to classify five hepatitis virus types (HAV, HBV, HCV, HDV, HEV) directly from raw DNA sequences, eliminating complex preprocessing such as k‑mer segmentation or external optimization. A total of 500 complete genomic sequences (100 per class) were retrieved from the NCBI Virus database. Following one‑hot encoding and sequence padding, the proposed 1D‑CNN architecture—employing convolutional feature extraction with batch normalization and regularization—was trained using the Adam optimizer and categorical cross‑entropy loss. Performance was evaluated using accuracy, precision, recall, F1‑score, Matthews Correlation Coefficient (MCC), ROC‑AUC, and precision‑recall curves. The model achieved an overall accuracy of 95%, MCC of 0.9395, macro precision of 0.9571, and macro recall of 0.9500. ROC‑AUC values reached 1.00 for four classes and 0.97 for HDV, while precision‑recall average precision ranged from 0.971 to 1.00. The confusion matrix revealed minimal misclassifications, primarily between HEV and HDV, confirming that the model autonomously extracts discriminative nucleotide patterns for reliable multi‑species classification. This study contributes an alignment‑free, computationally efficient, and reproducible approach for hepatitis virus typing, outperforming many previous methods reliant on manual feature engineering or heuristic optimization. Future work should validate the model on clinical samples and explore the interpretability of learned motifs.

Downloads

Download data is not yet available.

References

1] A. Baba Abdullahi, Y. Musa, B. W. A., and J. A. H., “A Convolutional neural network-long short-term memory (CNN-LSTM) model approach towards improving HBV prediction,” Journal of Basics and Applied Sciences Research, vol. 3, no. 6, pp. 177–187, Dec. 2025, doi: 10.4314/jobasr.v3i6.19.

[2] C. S. Lim and C. M. Brown, “Decoding the interconnected splicing patterns of hepatitis B virus and host using large language and deep learning models,” Microb. Genom., vol. 12, no. 1, Jan. 2026, doi: 10.1099/mgen.0.001616.

[3] A. Shiwlani, S. Kumar, S. Kumar, H. A. Qureshi, and J. S. Naguib, “AI-Assisted Genotype Analysis of Hepatitis Viruses: A Systematic Review on Precision Therapy and Sequencing Innovations,” International Journal For Multidisciplinary Research, vol. 6, no. 6, Nov. 2024, doi: 10.36948/ijfmr.2024.v06i06.32058.

[4] Z. Xia, L. Qin, Z. Ning, and X. Zhang, “Deep learning time series prediction models in surveillance data of hepatitis incidence in China,” PLoS One, vol. 17, no. 4 April, Apr. 2022, doi: 10.1371/journal.pone.0265660.

[5] S. Manhas et al., “Classification and sequencing of hepatitis D virus from a large cohort of chronically infected individuals paired with co-infecting hepatitis B virus sequencing: a genomic characterisation study,” Lancet Microbe, May 2026, doi: 10.1016/j.lanmic.2025.101328.

[6] J. Khatib Sulaiman Dalam No, H. Saleem Sadiq, and A. Mohsin Abdulazeez, “Hepatitis Diagnosis: A Comprehensive Review of Machine Learning Classification Algorithms,” Indonesian Journal of Computer Science, vol. 13, no. 3, pp. 4122–4140, 2024, doi: 10.33022/ijcs.v13i3.3966.

[7] H. Haga et al., “A machine learning-based treatment prediction model using whole genome variants of hepatitis C virus,” PLoS One, vol. 15, no. 11 November, Nov. 2020, doi: 10.1371/journal.pone.0242028.

[8] M. Anshori, F. Mahmudy, and A. Afif Supianto, “Preprocessing Approach for Tuberculosis DNA Classification using Support Vector Machines (SVM),” Journal of Information Technology and Computer Science, vol. 4, no. 3, pp. 233–240, Dec. 2019, doi: 10.25126/jitecs.201943113.

[9] E. Dopico et al., “Genotyping Hepatitis B virus by Next-Generation Sequencing: Detection of Mixed Infections and Analysis of Sequence Conservation,” Int. J. Mol. Sci., vol. 25, no. 10, May 2024, doi: 10.3390/ijms25105481.

[10] N. Das et al., “Enlightened prognosis: Hepatitis prediction with an explainable machine learning approach,” PLoS One, vol. 20, no. 4 April, Apr. 2025, doi: 10.1371/journal.pone.0319078.

[11] Y. Hu and W. Jiang, “Artificial intelligence for mechanistic understanding of hepatitis B virus,” 2025, Frontiers Media SA. doi: 10.3389/fviro.2025.1729171.

[12] X. Zhang, B. Beinke, B. Al Kindhi, and M. Wiering, “Comparing Machine Learning Algorithms with or without Feature Extraction for DNA Classification,” Nov. 2020, [Online]. Available: http://arxiv.org/abs/2011.00485

[13] Z. Li, L. Huang, and C. Yu, “Advanced Prediction of Hepatic Oncogenic Transformation in HBV Patients via RNA-Seq Data Analysis and Deep Learning Techniques,” Int. J. Mol. Sci., vol. 25, no. 18, Sep. 2024, doi: 10.3390/ijms25189827.

[14] A. S. Osarumwense and B. Moses Eromosele, “Detection of Hepatitis (A, B, C, D and E) Viruses Using Machine Learning,” International Journal of Academic Pedagogical Research, vol. 4, no. 5, pp. 19–35, 2020, [Online]. Available: www.ijeais.org/ijapr

[15] T. H. Yang et al., “A Fluorescence Imaging- and Deep Learning-Based Approach for Detecting Hepatitis B Virus Integration into Host Genomes,” Journal of Imaging Informatics in Medicine, 2026, doi: 10.1007/s10278-026-01983-3.

[16] C. Wu et al., “DeepHBV: a deep learning model to predict hepatitis B virus (HBV) integration sites,” BMC Ecol. Evol., vol. 21, no. 1, Dec. 2021, doi: 10.1186/s12862-021-01869-8.

[17] L. Fadia, V. Shah, M. Hassanzadeh, J. Wu, and M. Ahmadi, “An Efficient Method For Classification of Different Types of Hepatitis Virus Using Genomic Signal Processing and Machine Learning,” IEOM Society International, Jan. 2025. doi: 10.46254/wc01.20240150.

[18] A. El-Tohamy, H. A. Maghwary, and N. Badr, “A Deep Learning Approach for Viral DNA Sequence Classification using Genetic Algorithm,” IJACSA) International Journal of Advanced Computer Science and Applications, vol. 13, no. 8, pp. 530–538, 2022, doi: 10.14569/IJACSA.2022.0130861.

[19] A. Kautsar, “DNA Sequence Classification Using Machine Learning Models Based on k-mer Features,” Journal of Computers and Digital Business, vol. 4, no. 2, pp. 100–105, May 2025, doi: 10.56427/jcbd.v4i2.762.

[20] T. Sadad, R. A. Aurangzeb, M. Safran, Imran, S. Alfarhood, and J. Kim, “Classification of Highly Divergent Viruses from DNA/RNA Sequence Using Transformer-Based Models,” Biomedicines, vol. 11, no. 5, May 2023, doi: 10.3390/biomedicines11051323.

[21] S. A. Salloum, O. Almomani, A. Almomani, K. M. Alomari, and V. Arya, “Semantic-Enhanced Classification of DNA Sequences Using Machine Learning and Deep Learning Approaches,” Int. J. Semant. Web Inf. Syst., vol. 22, no. 1, pp. 1–28, Apr. 2026, doi: 10.4018/IJSWIS.407404.

[22] C. Galià-Camps, C. Pegueroles, X. Turon, C. Carreras, and M. Pascual, “Genome composition and GC content influence loci distribution in reduced representation genomic studies,” BMC Genomics, vol. 25, no. 1, Dec. 2024, doi: 10.1186/s12864-024-10312-3.

[23] M. L. Russell, N. Simon, P. Bradley, and F. A. Matsen, “Statistical inference reveals the role of length, GC content, and local sequence in V(D)J nucleotide trimming,” Elife, vol. 12, May 2023, doi: 10.7554/eLife.85145.

[24] V. Nerkar and V. Kimbahune, “Deep Learning Approaches in Genomic Analysis: A Review of DNA Sequence Classification Techniques,” International Journal of Scientific Research & Engineering Trends, vol. 10, no. 2, pp. 2395–566, Apr. 2024, doi: doi.org/10.61137/ijsret.vol.10.issue2.153.

[25] A. Lopez-del Rio, M. Martin, A. Perera-Lluna, and R. Saidi, “Effect of sequence padding on the performance of deep learning models in archaeal protein functional prediction,” Sci. Rep., vol. 10, no. 1, Dec. 2020, doi: 10.1038/s41598-020-71450-8.

[26] F. Farias, T. Ludermir, and C. Bastos-Filho, “Similarity Based Stratified Splitting: an approach to train better classifiers,” Oct. 2020, [Online]. Available: http://arxiv.org/abs/2010.06099

[27] M. Sivakumar, S. Parthasarathy, and T. Padmapriya, “Trade-off between training and testing ratio in machine learning for medical image processing,” PeerJ Comput. Sci., vol. 10, p. 15, Sep. 2024, doi: 10.7717/PEERJ-CS.2245.

[28] F. Akar, O. M. Katipoğlu, S. N. Yeşilyurt, and M. B. Han Taş, “Evaluation of Tree-Based Machine Learning and Deep Learning Techniques in Temperature-Based Potential Evapotranspiration Prediction,” Pol. J. Environ. Stud., vol. 32, no. 2, pp. 1009–1023, 2023, doi: 10.15244/pjoes/156927.

[29] E. Tabane, E. Mnkandla, and Z. Wang, “Optimizing DNA Sequence Classification via a Deep Learning Hybrid of LSTM and CNN Architecture,” Applied Sciences (Switzerland), vol. 15, no. 15, Aug. 2025, doi: 10.3390/app15158225.

[30] L. Yang, “Theoretical Analysis of Adam Optimizer in the Presence of Gradient Skewness,” International Journal of Applied Science, vol. 7, no. 2, pp. 27–42, Oct. 2024, doi: 10.30560/ijas.v7n2p27.

[31] R. Arabelli, T. Bernatin, and V. Veeramsetty, “Water quality assessment for aquaculture using deep neural network,” Desalination Water Treat., vol. 321, Jan. 2025, doi: 10.1016/j.dwt.2025.101016.

[32] M. Anshori and M. Musthofa, “Outperforming DNN Using MLP in Water Quality Assessment for Aquaculture,” Journal of Applied Informatics and Computing (JAIC), vol. 10, no. 1, p. 355, Feb. 2026, doi: 10.30871/jaic.v10i1.11835.

[33] A. P. Sari, Kariyam, F. Wijayanto, and E. Widodo, “COMPARATIVE EVALUATION OF CNN ARCHITECTURES FOR ROAD DAMAGE CLASSIFICATION USING DIGITAL IMAGES IN SLEMAN REGENCY,” Barekeng, vol. 20, no. 3, pp. 2681–2692, Sep. 2026, doi: 10.30598/barekengvol20iss3pp2681-2692.

[34] D. Chicco, N. Tötsch, and G. Jurman, “The matthews correlation coefficient (Mcc) is more reliable than balanced accuracy, bookmaker informedness, and markedness in two-class confusion matrix evaluation,” BioData Min., vol. 14, pp. 1–22, 2021, doi: 10.1186/s13040-021-00244-z.

[35] D. Chicco and G. Jurman, “The Matthews correlation coefficient (MCC) should replace the ROC AUC as the standard metric for assessing binary classification,” BioData Min., vol. 16, no. 1, Dec. 2023, doi: 10.1186/s13040-023-00322-4.

[36] A. Tampuu, Z. Bzhalava, J. Dillner, and R. Vicente, “ViraMiner: Deep learning on raw DNA sequences for identifying viral genomes in human samples,” PLoS One, vol. 14, no. 9, Sep. 2019, doi: 10.1371/journal.pone.0222271.

[37] N. G. Nguyen et al., “DNA Sequence Classification by Convolutional Neural Network,” J. Biomed. Sci. Eng., vol. 09, no. 05, pp. 280–286, 2016, doi: 10.4236/jbise.2016.95021.

[38] A. Srinivasulu, G. Sreenivasulu, and O. O. Oyerinde, “Real-time Classification and Hepatitis B Detection with Evolutionary Data Mining Approach,” Advances in Engineering and Intelligence Systems, vol. 2, no. 1, pp. 62–70, Dec. 2023, doi: 10.22034/aeis.2023.384167.1074.

[39] N. Santhi and N. Ramasamy, “A Lightweight Hybrid Deep Learning and Adaptive Texture Encoding Framework for Accurate Hepatitis Prediction Using Ultrasound Liver Images,” IJEDR26A1034 International Journal of Engineering Development and Research, vol. 14, no. 1, pp. 960–969, 2026, [Online]. Available: www.ijedr.org

Downloads

Published

2026-07-31

How to Cite

[1]
“Penta‑Class Classification of Hepatitis Virus DNA Sequences Using a 1D‑CNN for Enhanced Differential Diagnosis”, JESICA, vol. 3, no. 2, pp. 43–55, Jul. 2026, doi: 10.47794/jesica.v3i2.51.

Similar Articles

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)