import typing
import itertools


def possible_kmers(k: int = 11) -> typing.Generator:
    """
    Utility function for generating all possible kmers of length k.
    :param k:
    :return:
    """
    kmers = (''.join(x) for x in itertools.product('ATCG', repeat=k))
    return kmers