|
IMP Reference Guide
2.5.0
The Integrative Modeling Platform
|
A class to store the selection commands for a single crosslink. More...
Inherits object.
A class to store the selection commands for a single crosslink.
Definition at line 265 of file pmi/io/__init__.py.
Public Member Functions | |
| def | __init__ |
| Add a crosslink. More... | |
| def | get_selection |
| Return a list of atom pairs (particles) for this crosslink. More... | |
| def IMP.pmi.io.CrossLink.__init__ | ( | self, | |
| unique_id, | |||
| r1, | |||
| r2, | |||
| score | |||
| ) |
Add a crosslink.
| unique_id | The id is used to group crosslinks that are alternatives |
| r1 | A dictionary of selection keywords for the first residue |
| r2 | A dictionary of selection keywards for the second residue |
| score | A score that might be used later for filtering |
Definition at line 273 of file pmi/io/__init__.py.
| def IMP.pmi.io.CrossLink.get_selection | ( | self, | |
| mh, | |||
| kwargs | |||
| ) |
Return a list of atom pairs (particles) for this crosslink.
Found by selecting everything with r1 and r2 then returning the cartesian product.
| mh | The hierarchy to select from |
| kwargs | Any additional selection arguments |
Definition at line 291 of file pmi/io/__init__.py.