Atom representation. Depending on the input file format, not all fields may be defined.
- Source
Members
atom :string
Atom name; may be more specific than 'elem' (e.g 'CA' for alpha carbon)
- string
- Source
b :number
Atom b factor data
- number
- Source
bondOrder :Array
Array of this atom's bond orders, corresponding to bonds identfied by 'bonds'
- Array
- Source
bondStyles :Array
custom bond styling by position in bonds
- Array
- Source
bonds :Array
Array of atom ids this atom is bonded to
- Array
- Source
callback :function
Callback click handler function to be executed on this atom and its parent viewer
- function
- Source
chain :string
Chain this atom belongs to, if specified in input file (e.g 'A' for chain A)
- string
- Source
clickable :boolean
Set this flag to true to enable click selection handling for this atom
- boolean
- Source
color :ColorSpec
Atom's color, as hex code or built-in color string
- Source
elem :string
Element abbreviation (e.g. 'H', 'Ca', etc)
- string
- Source
hetflag :boolean
Set to true if atom is a heteroatom
- boolean
- Source
hover_callback :function
Callback hover handler function to be executed on this atom and its parent viewer
- function
- Source
hoverable :boolean
Set this flag to true to enable hover selection handling for this atom
- boolean
- Source
index :number
Index of atom in molecule
- number
- Source
invert :boolean
for selection, inverts the meaning of the selection
- boolean
- Source
lchain :string
Label chain (not author)
- string
- Source
lresi :number
Label residues number (not author)
- number
- Source
lresn :string
Residue label name
- string
- Source
pdbline :string
If applicable, this atom's record entry from the input PDB file (used to output new PDB from models)
- string
- Source
properties :Record.<string, any>
Optional mapping of additional properties
- Record.<string, any>
- Source
resi :number
Residue number
- number
- Source
resn :string
Parent residue name
- string
- Source
serial :number
Atom's serial id number
- number
- Source
singleBonds :boolean
true if this atom forms only single bonds or no bonds at all
- boolean
- Source
ss :string
Secondary structure identifier (for cartoon render; e.g. 'h' for helix)
- string
- Source
style :AtomStyleSpec
style of atom
- Source
surfaceColor :ColorSpec
Hex code for color to be used for surface patch over this atom
- Source
unhover_callback :function
Callback handling "unhover" to be executed on this atom and its parent viewer
- function
- Source
x :number
Atom's x coordinate
- number
- Source
y :number
Atom's y coordinate
- number
- Source
z :number
Atom's z coordinate
- number
- Source