def parse_cdk_file(file):
    """
    Function to parse CDK output

    Parameters
    ----------
    file : str
        file to parse the chemical descriptors from

    Returns
    -------
    dict
        dictionary containing the chemical descriptor name and
        the chemical descriptor value
    """
    cdk_file = open(file).readlines()
    cols = cdk_file[0].strip().split()[1:]
    feats = cdk_file[1].strip().split()[1:]
    return(dict(zip(cols, feats)))