Sequence evolution and generation

class treetime.seqgen.SeqGen(L, *args, **kwargs)[source]

Evolve sequences along a given tree with a specific GTR model. This class inherits from TreeAnc.

__init__(L, *args, **kwargs)[source]

Instantiate. Mandatory arguments are a the sequence length, tree and GTR model.