<jupyter_start><jupyter_text>Contact analisys<jupyter_code>interface_sifts = []
pdbs_names = []
for paths in PDBS_DIR.glob("*.interface_contacts"):
    name = paths.name[:-19]
    contact_data = pd.read_table(paths)
    interface_sift_sum = contact_data.drop(["atom_bgn","atom_end","interacting_entities"],axis=1).sum()
    
    interface_sifts.append(interface_sift_sum.values)
    pdbs_names.append(name)
col_names = contact_data.drop(["atom_bgn","atom_end","interacting_entities"],axis=1).columns
DF_features = pd.DataFrame(interface_sifts,columns=col_names,index=pdbs_names)
DF_features.sum()<jupyter_output><empty_output>
StarcoderdataJupyterStructuredCleanDedup