SNAP predicts effect of mutations on protein function