Quantifying similarity between motifs | Synapse