segmentmodel_from_pdb
Module documentation for segmentmodel_from_pdb.
API Reference
residues_within(cutoff, coords1, coords2, sel1, sel2)
Returns lists of index of residues within sel1 and sel2 such that sel1.residue[arr_idx1[i]] is within cutoff of sel2.residue[arr_idx2[i]] for all i
Also returns distance_matrix
Ignores residues that are the same in sel1 and sel2
Source code in mrdna/readers/segmentmodel_from_pdb.py
72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 |
|