Smith-Waterman (SW) algorithm in Spark system