def determine_config_values(config, hmm):
    """
    Returns group of the HMM protein.
    :param config: column patterns
    :param hmm: HMM
    :return: tuple of hmm and key
    """
    for group in config:
        for key in group:
            if hmm in group[key]:
                return (hmm, key)
    return (hmm, "N/A")