bis_protein_structure.MMEVAL.get_IPS

bis_protein_structure.MMEVAL.get_IPS(native_contact_map, pred_contact_map)[source]

Computes the Interface Patch Score (IPS) between two contact maps.

Parameters:
  • native_contact_map (numpy.ndarray) – Native contact map.

  • pred_contact_map (numpy.ndarray) – Predicted contact map.

Returns:

interface_patch_similarity – The interface patch similarity score, calculated as the ratio of the intersection to the union of the patches.

Return type:

float