We now show the computation of some of the alignment probabilities (Equation 13) in this example (  used in our model has an index in this template library.
any operation that involves a mapping to (from) template sequences will be implemented as a mapping to (from) a sequence of these indices.