Text this: Fitting Markov property to genetic sequences