Prediction of protein function from sequence properties