Implementation and Efficiency Analysis of Hamming Distance Algorithm and k-Mer Method for Identifying Sequence Variation in the cox1 Gene of Schistosoma mansoni

Sequence variation analysis is a fundamental task in bioinformatics that demands efficient algorithms. This study implements and analyzes the efficiency of the Hamming Distance algorithm and k-Mer method for identifying variation in the cytochrome c oxidase subunit 1 (cox1) gene sequences of Schistosoma mansoni. Twenty cox1 sequences were obtained from NCBI GenBank and normalized to 1024 bp through trimming. Hamming Distance was used to measure the number of differing base positions between sequences, while k-Mer (k=4 and k=6) was used to extract substring frequency profiles as representations of sequence composition. Efficiency testing measured execution time across various sequence lengths (100–10,000 bp). Results showed Hamming distances ranging from 1 to 16 with an average of 8.626 ± 3.513, reflecting an average similarity of 99.16%. Linear regression analysis produced the equation y = 0.00004x + 0.0000 with R² = 1.0, empirically proving the O(n) complexity of Hamming Distance. The total pipeline for 20 sequences completed in 16.43 ms. This study provides a reproducible implementation and an algorithmic efficiency baseline for DNA sequence variation analysis.

Authors

Institutions

Publication Details

Journal
Journal of Artificial Intelligence and Engineering Applications (JAIEA)
Published
2026-10-30
DOI
https://doi.org/10.59934/jaiea.v6i1.3090
Primary Topic
Genomics and Phylogenetic Studies
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Implementation and Efficiency Analysis of Hamming Distance Algorithm and k-Mer Method for Identifying Sequence Variation in the cox1 Gene of Schistosoma mansoni

Alfin Alfarizi, Fathi Athallah Z, Fahmi Nur Alimsyah Purba, Abdullah Harits Harahap
1 links
Journal of Artificial Intelligence and Engineering Applications (JAIEA)
Genomics and Phylogenetic Studies
article

Implementation and Efficiency Analysis of Hamming Distance Algorithm and k-Mer Method for Identifying Sequence Variation in the cox1 Gene of Schistosoma mansoni

Alfin Alfarizi, Fathi Athallah Z, Fahmi Nur Alimsyah Purba, Abdullah Harits Harahap
article en

Abstract

Sequence variation analysis is a fundamental task in bioinformatics that demands efficient algorithms. This study implements and analyzes the efficiency of the Hamming Distance algorithm and k-Mer method for identifying variation in the cytochrome c oxidase subunit 1 (cox1) gene sequences of Schistosoma mansoni. Twenty cox1 sequences were obtained from NCBI GenBank and normalized to 1024 bp through trimming. Hamming Distance was used to measure the number of differing base positions between sequences, while k-Mer (k=4 and k=6) was used to extract substring frequency profiles as representations of sequence composition. Efficiency testing measured execution time across various sequence lengths (100–10,000 bp). Results showed Hamming distances ranging from 1 to 16 with an average of 8.626 ± 3.513, reflecting an average similarity of 99.16%. Linear regression analysis produced the equation y = 0.00004x + 0.0000 with R² = 1.0, empirically proving the O(n) complexity of Hamming Distance. The total pipeline for 20 sequences completed in 16.43 ms. This study provides a reproducible implementation and an algorithmic efficiency baseline for DNA sequence variation analysis.

Journal of Artificial Intelligence and Engineering Applications (JAIEA)Vol. 6(1)
Universitas Islam Negeri Sumatera Utara (ID)
Openalex Percentile: Top 22%
Genomics and Phylogenetic Studies
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.

Laika access coming soon