Dynamic programming alignment of sequences representing cyclic patterns | Synapse