Protein alignment HW/SW optimizations