Distance methods. A: classically implemented Jaccard index. B-D: newly proposed distance methods. w = Domain Walls also referred to as walls. Numbers below the spoligotype patterns count the number of their common features: either the number of common spacers (A), common walls (B), common blocks (C), or common deletions (D). These numbers are summed and divided by the total number of features in the two spoligotype patterns to obtain the similarity between the two spoligotypes.