Spark the Smith-Waterman algorithm