@classmethod
def from_file(cls, handle, name=None):
    """
        Load the *k*-mer profile from a file.

        :arg h5py.File handle: Open readable *k*-mer profile file handle.
        :arg str name: Profile name.

        :return: A *k*-mer profile.
        :rtype: Profile
        """
    name = name or sorted(handle['profiles'].keys())[0]
    counts = handle['profiles/' + name][:]
    return cls(counts, name=name)
