Encoding the states of interacting proteins to facilitate biological pathways reconstruction.