Functional Classification Using Phylogenomic Inference