Extraction of k-mer coordinates from sequence ACTAGCTAGCTAG for k = 3 (panel A) and subsequent compression with a diff-transform (panel B), where the coordinates at a node's successor are expected to be the same but incremented by +1, as these nodes are likely to be consecutive in the input sequence(s). The symmetric set difference is used as a diff-operation. Thus, for example, . The inverse transform is performed losslessly by , which follows from the following property: .
