Characterizing and predicting the interaction of proteins with nanoparticles