 |  |  |  | Command |  | Argument |
 | Datatype |  | Default |  | Min |  | Max |  |
 |  | Format: |  | Link<Atom|Res|Mol|Obj|All> |
| Selection, |  |
SELECTION |  | - |
 | - |
 | - |  |  | |
 | | | Deviation
= Maximum allowed bond length deviation in % |  | FLOAT |  | 25.0 |  | - |
 | - |
 |  |  | Python: |  | Link<Atom|Res|Mol|Obj|All>(selection1,deviation=None) |
 |  |  | Menu: |  | Edit > Find links |  |
 |
 | Related: |  | AddBond
, DelBond |  |  |  | Required: |
 |  |
 |  |
The Link
command measures the distances between all atoms in the selection and adds a bond
whenever two atoms are close enough. 'Close enough' means that their distance is smaller than the sum of their bond radii multiplied with
100% plus the allowed deviation:
| (1) |
As interactions with metal ions are treated purely electrostatically during molecular dynamics simulations,
they should not be selected with Link
to avoid the accidental assignment of covalent bonds.
Link assigns a maximum of four covalent bonds per atom.
Example 1:
LinkRes Man
Link all atoms in residues named 'Man' that are close enough to form a bond.
Example 2:
LinkMol C,Deviation=50%
Link all atoms in molecule 'C' that are close in space, even those that are
50% further apart than the sum of their bond radii.
|