Sequence Analysis using Machine Learning Algorithms