Optimizing Sequence Alignment Performance and Accuracy in the scikit-bio Library: Algorithmic Enhancements and Benchmarking

Description
This project presents a high-performance implementation of Gotoh’s pairwise sequence alignment algorithm within the scikit-bio Python library, optimized using Cython for computational efficiency. Designed to address the limitations of scikit-bio’s original pure Python alignment function, the new implementation achieves substantial

This project presents a high-performance implementation of Gotoh’s pairwise sequence alignment algorithm within the scikit-bio Python library, optimized using Cython for computational efficiency. Designed to address the limitations of scikit-bio’s original pure Python alignment function, the new implementation achieves substantial performance gains—exceeding a 2800x speedup on longer sequences—while maintaining accuracy and full compatibility with the existing scikit-bio API. Emphasis was placed on modular code structure, enabling ease of use, maintainability, and seamless substitution between global and local alignment modes. Benchmarking against BioPython, BioTite, and the prior scikit-bio implementation confirms the new algorithm’s competitive runtime and practical value for real-world bioinformatics workflows. This work demonstrates the potential for integrating low-level performance enhancements within high-level, user-friendly scientific computing environments.

Downloads

One or more components are restricted to ASU affiliates. Please sign in to view the rest.
Restrictions Statement

Barrett Honors College theses and creative projects are restricted to ASU community members.

Details

Contributors
Date Created
2025-05
Additional Information
Series
  • Academic Year 2024-2025
Extent
  • 14 pages