nanome.api.structure.bond module

class Bond[source]

Bases: nanome._internal.structure.models._Bond, nanome.api.structure._deprecated.BondDeprecated, nanome.api.structure.base.Base

Represents a Bond between two atoms
class Kind

Bases: enum.IntEnum

Bond types.
To be used with bond.kind and elements of bond.kinds
Aromatic = 4
CovalentDouble = 2
CovalentSingle = 1
CovalentTriple = 3
Unknown = 0
atom1

First atom linked by this bond

Type:Atom
atom2

Second atom linked by this bond

Type:Atom
chain
Chain that the bond is part of
complex
Complex that the bond is part of
conformer_count
current_conformer
exists
Represents if bond exists for calculations.
Type:bool
in_conformer
kind
Kind of bond
Type:Kind
kinds
molecule
Molecule that the bond is part of
residue
Residue that the bond is part of