pushed
zhengqunkoo/smith-waterman • 2:08 AM - Apr 20, 2019
When calculating score profiles for the Smith-Waterman sequence alignment, the program previously attempted to look up the alphabet index even for padded illegal characters, potentially leading to incorrect scores or errors. This update introduces a check to ignore ILLEGAL_CHAR entries during generated vector evaluations and removes an unnecessary increment in the vector count initialization. This ensures accurate sequence scoring and avoids out-of-bounds operations on padded trailing fragments.
