IMP logo
IMP Reference Guide  2.11.1
The Integrative Modeling Platform
IMP.EMageFit.buildxlinks.XlinksDict Class Reference

Description of crosslinking restraints as a python dictionary. More...

Inherits dict.

Detailed Description

Description of crosslinking restraints as a python dictionary.

The keys are a pair with the ids of the cross-linked subunits. Note: The pairs are considered in alphabetic order

Note
This class is only available in Python.

Definition at line 114 of file buildxlinks.py.

Public Member Functions

def add
 Add a xlink. More...
 
def get_xlinks_for_pair
 

Member Function Documentation

def IMP.EMageFit.buildxlinks.XlinksDict.add (   self,
  xlink 
)

Add a xlink.

It is ensured that the id of the first element is is lower that the second

Definition at line 123 of file buildxlinks.py.

def IMP.EMageFit.buildxlinks.XlinksDict.get_xlinks_for_pair (   self,
  pair_ids 
)
Parameters
pair_idsIds fo the subunits that are cross-linked

Definition at line 135 of file buildxlinks.py.


The documentation for this class was generated from the following file: