def read_proteome_kmer_file(filename):
    """
    Read kmer file used to generate proteome features for machine learning.
    """
   
    out_dict = {} 
    with open(filename,'r') as infile:
        for line in infile:
            if line.strip() == "": 
                continue
            col = line.split()
            out_dict[col[0]] = int(col[1])

    return out_dict