Improved HCV genotyping based on sequence encoding and feature integration

Genomic sequence classification is an important task for understanding viral genetic variability and supporting genotype identification, particularly for viruses such as the Hepatitis C Virus (HCV). In this study, we evaluate the effectiveness of different sequence encoding techniques, supplementary genomic descriptors, and class-balancing strategies for HCV genotype classification under a stricter CD-HIT-EST cluster-aware evaluation protocol designed to reduce sequence-identity leakage. Four encoding methods were investigated, namely Frequency Chaos Game Representation (FCGR), k-mer encoding, one-hot encoding, and label encoding. These representations were evaluated using multiple machine learning models, including XGBoost, Random Forest, Multi-Layer Perceptron (MLP), and K-Nearest Neighbors (KNN). To address class imbalance, SMOTE was applied, while GC content and GC skew were included as supplementary compositional descriptors. Overall, FCGR and k-mer encoding outperformed one-hot and label encoding. The best result was achieved using k-mer encoding with XGBoost and SMOTE, obtaining a macro F1-score of 0.890, accuracy of 0.922, macro precision of 0.866, macro recall of 0.925, macro specificity of 0.990, and MCC of 0.893 under the CD-HIT-EST cluster-aware evaluation setting. The statistical analysis showed that SMOTE had a clear positive effect on classification performance, particularly for the Random Forest model, while GC-based descriptors provided additional interpretability but did not show a statistically significant improvement in the k-mer-based experiment. Overall, this study demonstrates the importance of selecting appropriate sequence encodings and class-balancing strategies for machine-learning-based HCV genotype classification. The findings provide a comparative basis for future work on sequence-based classification tasks in virology and computational genomics.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-10-17
DOI
https://doi.org/10.1038/s41598-026-64455-2
Primary Topic
Fractal and DNA sequence analysis
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Improved HCV genotyping based on sequence encoding and feature integration

Ahmed M. Fahmy, Mai Said Mabrouk, Muhammed S. Hammad, Walid Al‐Atabany
Scientific Reports
Fractal and DNA sequence analysis
article

Improved HCV genotyping based on sequence encoding and feature integration

Ahmed M. Fahmy, Mai Said Mabrouk, Muhammed S. Hammad, Walid Al‐Atabany
article en

Abstract

Genomic sequence classification is an important task for understanding viral genetic variability and supporting genotype identification, particularly for viruses such as the Hepatitis C Virus (HCV). In this study, we evaluate the effectiveness of different sequence encoding techniques, supplementary genomic descriptors, and class-balancing strategies for HCV genotype classification under a stricter CD-HIT-EST cluster-aware evaluation protocol designed to reduce sequence-identity leakage. Four encoding methods were investigated, namely Frequency Chaos Game Representation (FCGR), k-mer encoding, one-hot encoding, and label encoding. These representations were evaluated using multiple machine learning models, including XGBoost, Random Forest, Multi-Layer Perceptron (MLP), and K-Nearest Neighbors (KNN). To address class imbalance, SMOTE was applied, while GC content and GC skew were included as supplementary compositional descriptors. Overall, FCGR and k-mer encoding outperformed one-hot and label encoding. The best result was achieved using k-mer encoding with XGBoost and SMOTE, obtaining a macro F1-score of 0.890, accuracy of 0.922, macro precision of 0.866, macro recall of 0.925, macro specificity of 0.990, and MCC of 0.893 under the CD-HIT-EST cluster-aware evaluation setting. The statistical analysis showed that SMOTE had a clear positive effect on classification performance, particularly for the Random Forest model, while GC-based descriptors provided additional interpretability but did not show a statistically significant improvement in the k-mer-based experiment. Overall, this study demonstrates the importance of selecting appropriate sequence encodings and class-balancing strategies for machine-learning-based HCV genotype classification. The findings provide a comparative basis for future work on sequence-based classification tasks in virology and computational genomics.

Scientific ReportsVol. 16(1)
Nile University (EG), Helwan University (EG)
Los Alamos National Laboratory
Good health and well-being
Openalex Percentile: Top 23%
Fractal and DNA sequence analysis
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.