A genetic approach for controlling the binding and orientation of proteins on nanoparticles.