An implementation of various order discrete Markov models for sequence analysis. Coded in a generic programming style using C++ templates with a python interface.