AtomProxy
Atom proxy
Constructor Summary
Public Constructor | ||
public |
constructor(structure: Structure, index: Integer) |
Member Summary
Public Members | ||
public set |
|
|
public get |
Alternate location identifier |
|
public |
|
|
public |
|
|
public get |
|
|
public get |
Atom name |
|
public set |
|
|
public get |
B-factor value |
|
public get |
|
|
public get |
|
|
public |
|
|
public get |
Chain id |
|
public get |
Chain name |
|
public get |
Covalent radius |
|
public get |
Element |
|
public get |
Molecular enity |
|
public get |
|
|
public set |
|
|
public get |
Formal charge |
|
public get |
Hetero flag |
|
public |
The index of the atom, pointing to the data in the corresponding AtomStore |
|
public get |
Insertion code |
|
public get |
|
|
public get |
Occupancy value |
|
public set |
|
|
public set |
|
|
public get |
Partial charge |
|
public get |
|
|
public get |
|
|
public get |
|
|
public set |
|
|
public |
|
|
public |
|
|
public get |
|
|
public get |
Residue name |
|
public get |
Residue number/label |
|
public get |
Serial number |
|
public set |
|
|
public get |
Secondary structure code |
|
public |
The structure the atom belongs to. |
|
public get |
Van-der-Waals radius |
|
public get |
X coordinate |
|
public set |
|
|
public get |
Y coordinate |
|
public set |
|
|
public get |
Z coordinate |
|
public set |
|
Method Summary
Public Methods | ||
public |
Clone object |
|
public |
connectedTo(atom: AtomProxy): Boolean If connected to another atom |
|
public |
distanceTo(atom: AtomProxy): Number Distance to another atom |
|
public |
Iterate over each bond |
|
public |
eachBondedAtom(callback: function(atom: AtomProxy), ap: AtomProxy): undefined Iterate over each bonded atom |
|
public |
getResidueBonds(firstOnly: Boolean): Integer[] | Integer | undefined Get intra group/residue bonds |
|
public |
Check if this atom is bonded to the given atom, assumes both atoms are from the same structure |
|
public |
If atom is part of a backbone |
|
public |
isBonded() |
|
public |
If atom is part of a coarse-grain group |
|
public |
If atom is part of a dna |
|
public |
If atom is part of a helix |
|
public |
If atom is part of a hetero group |
|
public |
If atom is part of an ion |
|
public |
If atom is part of a nucleic molecule |
|
public |
If atom is part of a polymer |
|
public |
If atom is part of a protein molecule |
|
public |
If atom is part of a ring |
|
public |
If atom is part of a rna |
|
public |
If atom is part of a saccharide |
|
public |
If atom is part of a sheet |
|
public |
If atom is part of a sidechin |
|
public |
If atom is part of a turn |
|
public |
If atom is part of a water molecule |
|
public |
positionAdd(v: Vector3): AtomProxy Add vector to atom position |
|
public |
positionFromArray(array: Array | TypedArray, offset: Integer): AtomProxy Set atom position from array |
|
public |
Set atom position from vector |
|
public |
positionSub(v: Vector3): AtomProxy Subtract vector from atom position |
|
public |
positionToArray(array: Array | TypedArray, offset: Integer): Array | TypedArray Write atom position to array |
|
public |
Write atom position to vector |
|
public |
|
|
public |
toObject() |
Public Constructors
Public Members
public set altloc source
public set bfactor source
public get chainIndex source
public chainStore: ChainStore source
public get entityIndex source
public set formalCharge source
public index: Integer source
The index of the atom, pointing to the data in the corresponding AtomStore
public get modelIndex source
public set occupancy source
public set partialCharge source
public get residue: ResidueProxy source
public get residueAtomOffset source
public get residueIndex source
public set residueIndex source
public residueMap: ResidueMap source
public residueStore: ResidueStore source
public get residueType: ResidueType source
public set serial source
public set x source
public set y source
public set z source
Public Methods
public connectedTo(atom: AtomProxy): Boolean source
If connected to another atom
Params:
Name | Type | Attribute | Description |
atom | AtomProxy | the other atom |
public distanceTo(atom: AtomProxy): Number source
Distance to another atom
Params:
Name | Type | Attribute | Description |
atom | AtomProxy | the other atom |
public eachBond(callback: function(bond: BondProxy), bp: BondProxy): undefined source
Iterate over each bond
public eachBondedAtom(callback: function(atom: AtomProxy), ap: AtomProxy): undefined source
Iterate over each bonded atom
public getResidueBonds(firstOnly: Boolean): Integer[] | Integer | undefined source
Get intra group/residue bonds
Params:
Name | Type | Attribute | Description |
firstOnly | Boolean | immediately return the first connected atomIndex |
public hasBondTo(ap: AtomProxy): Boolean source
Check if this atom is bonded to the given atom, assumes both atoms are from the same structure
Params:
Name | Type | Attribute | Description |
ap | AtomProxy | the given atom |
public isBonded() source
public positionAdd(v: Vector3): AtomProxy source
Add vector to atom position
Params:
Name | Type | Attribute | Description |
v | Vector3 | input vector |
public positionFromArray(array: Array | TypedArray, offset: Integer): AtomProxy source
Set atom position from array
Params:
Name | Type | Attribute | Description |
array | Array | TypedArray | input array |
|
offset | Integer |
|
the offset |
public positionFromVector3(v: Vector3): AtomProxy source
Set atom position from vector
Params:
Name | Type | Attribute | Description |
v | Vector3 | input vector |
public positionSub(v: Vector3): AtomProxy source
Subtract vector from atom position
Params:
Name | Type | Attribute | Description |
v | Vector3 | input vector |
public positionToArray(array: Array | TypedArray, offset: Integer): Array | TypedArray source
Write atom position to array
Params:
Name | Type | Attribute | Description |
array | Array | TypedArray |
|
target array |
offset | Integer |
|
the offset |
public positionToVector3(v: Vector3): Vector3 source
Write atom position to vector
Params:
Name | Type | Attribute | Description |
v | Vector3 |
|
target vector |