assign of the pathway category to compounds/KO by max graph evaluation