Logarithmic gap costs decrease alignment accuracy
Related Experiment Video
Updated: Jul 18, 2026

Design and Development of a Three-Dimensionally Printed Microscope Mask Alignment Adapter for the Fabrication of Multilayer Microfluidic Devices
Published on: January 25, 2021
1Department of Genetics, University of Georgia, Athens, GA 30602-7223, USA. racartwr@ncsu.edu
Background:
Studies on the distribution of indel sizes have consistently found that they obey a power law. This finding has lead several scientists to propose that logarithmic gap costs, G (k) = a + c ln k, are more biologically realistic than affine gap costs, G (k) = a + bk, for sequence alignment. Since quick and efficient affine costs are currently the most popular way to globally align sequences, the goal of this paper is to determine whether logarithmic gap costs improve alignment accuracy significantly enough the merit their use over the faster affine gap costs.
Results:
A group of simulated sequences pairs were globally aligned using affine, logarithmic, and log-affine gap costs. Alignment accuracy was calculated by comparing resulting alignments to actual alignments of the sequence pairs. Gap costs were then compared based on average alignment accuracy. Log-affine gap costs had the best accuracy, followed closely by affine gap costs, while logarithmic gap costs performed poorly. Subsequently a model was developed to explain the results.
Conclusion:
In contrast to initial expectations, logarithmic gap costs produce poor alignments and are actually not implied by the power-law behavior of gap sizes, given typical match and mismatch costs. Furthermore, affine gap costs not only produce accurate alignments but are also good approximations to biologically realistic gap costs. This work provides added confidence for the biological relevance of existing alignment algorithms.
More Related Videos
09:45Large-area Scanning Probe Nanolithography Facilitated by Automated Alignment and Its Application to Substrate Fabrication for Cell Culture Studies
Published on: June 12, 2018
07:59Alignment of Synchronized Time-Series Data Using the Characterizing Loss of Cell Cycle Synchrony Model for Cross-Experiment Comparisons
Published on: June 9, 2023
Related Concept Videos
Common Leveling Mistakes and Errors
Errors in Taping
Adjusting a Traverse
Design Example: Alignment of a Road Line Using GIS
Distance Corrections
Improving Translational Accuracy