Practical algorithms for biological sequence analysis: methods and applications