I've got a list of proteins, complete with Uniprot IDs. I'd like to group them into orthology groups based on data from KEGG, but I have no idea how to add a column with KEGG groups. I've tried poking around in the documentation for UniProt, but all I can find is this page on KEGG - no mention of how to link to KEGG data. I've also found some online KEGG mapper tools (here and here) but those don't seem to be what I need in order to cluster my proteins into groups of KEGG orthologues.
One simple good idea could be use the K-Means Machine Learning clustering algorithm.