The unified molecular atom model for the PDB/SDF structure readers.
Atom
00 Remarks
This class is the single merged atom model of this library: it only carries the general physico-chemical fields (coordinates, element, partial charge, residue and chain annotations). Domain specific fields (e.g. the AutoDock Vina atom typing) should be placed on a derived type instead of polluting this base model.
Both of the legacy keyword level atom models (AtomUnit for ATOM records and HETATMRecord for HETATM records) are inherited from this class, so that the fixed-column parsing logic can be shared in one place.
01 Syntax
02 Methods
03 Properties
| Name | Overloads | Summary |
|---|---|---|
| X | 1 | The X axis coordinate value in angstrom. |
| Y | 1 | The Y axis coordinate value in angstrom. |
| Z | 1 | The Z axis coordinate value in angstrom. |
| Element | 1 | The normalized element symbol, e.g. |
| Charge | 1 | The partial charge of current atom site. |
| ChainID | 1 | The chain identifier (PDB column 22). |
| ResName | 1 | The residue name (PDB column 18-20), in upper case. |
| ResSeq | 1 | The residue sequence number (PDB column 23-26). |
| AtomName | 1 | The atom name (PDB column 13-16). |
| Serial | 1 | The atom serial number (PDB column 7-11). |
| AltLoc | 1 | The alternate location indicator (PDB column 17). |
| Occupancy | 1 | The occupancy value (PDB column 55-60). |
| TempFactor | 1 | The temperature factor, aka B-factor (PDB column 61-66). |
| IsHet | 1 | Is current atom comes from a HETATM record? (False means the ATOM record) |
| IsWater | 1 | Is current atom a water molecule? (residue name is HOH or WAT) |
| Location | 1 | Get/set the atom spatial position as a point tuple in 3D space. |
04 Members
Copy all of the general field values from another atom instance.
| Name | Type | Description |
|---|---|---|
atom | Atom | The atom model that provides the source field values. |
Copy all of the general field values of current atom into another atom instance.
| Name | Type | Description |
|---|---|---|
atom | Atom | The atom model that accepts the field values. |
The X axis coordinate value in angstrom.
The Y axis coordinate value in angstrom.
The Z axis coordinate value in angstrom.
The normalized element symbol, e.g. C/N/O/Cl/FE.
The partial charge of current atom site.
The chain identifier (PDB column 22).
The residue name (PDB column 18-20), in upper case.
The residue sequence number (PDB column 23-26).
The atom name (PDB column 13-16).
The atom serial number (PDB column 7-11).
The alternate location indicator (PDB column 17).
The occupancy value (PDB column 55-60).
The temperature factor, aka B-factor (PDB column 61-66).
Is current atom comes from a HETATM record? (False means the ATOM record)
Is current atom a water molecule? (residue name is HOH or WAT)
Get/set the atom spatial position as a point tuple in 3D space.
This property is a value type view of the Atom.X, Atom.Y and Atom.Z fields, which is kept for the backward compatibility with the legacy Atom.Location property.