Text this: Computational statistical mechanics of protein function