Dynamic programming,  Expectation Maximization for sequence of DNA