biotite.structure.check_bond_continuity(array, min_len=1.2, max_len=1.8)[source]

Check if the peptide or phosphate backbone atoms have a non-reasonable distance to the next residue.

A large or very small distance is a very strong clue, that there is no bond between those atoms, therefore the chain is discontinued.

DEPRECATED: Please use check_backbone_continuity() for the same functionality.


The array to be checked.

min_len, max_lenfloat, optional

The interval in which the atom-atom distance is evaluated as bond.

discontinuityndarray, dtype=int

Contains the indices of atoms after a discontinuity.