Efficient algorithm to get cyclic Hamming distance
DOI:
https://doi.org/10.31224/3595Keywords:
hamming, distance, sequence, alignment, algorithm, cyclicAbstract
In this text we use the cross-correlation method using the fast Fourier transform to present a simple algorithm, with a time complexity of O(N log N), in order to calculate the exact value of the cyclic Hamming distance between two sequences of length N over any alphabet of size k. It may be useful in applications where we only want to know that value, like in sequence alignment, without taking into account insertions and deletions.
Downloads
Download data is not yet available.
Downloads
Posted
2024-03-13
License
Copyright (c) 2024 Oscar Cabrera
This work is licensed under a Creative Commons Attribution 4.0 International License.