Attributes
Read attributes from structures
Assembly ID
Read the frame_id attribute, created when multiple frames from a trajectory are merged into a single structure
Outputs
| Name | Type | Description |
|---|---|---|
| assembly_id | Int |
Read the frame_id attribute from the geometry |
API Reference: nodes.geometry.AssemblyID
Atom ID
The atom_id attribute which is read from the file. Will be increasing linearly for each subsequent atom
Outputs
| Name | Type | Description |
|---|---|---|
| atom_id | Int |
The atom_id attribute, read from geometry. Corresponds to the order of the atoms when they were read from the file |
API Reference: nodes.geometry.AtomID
Atom Name
Geometry Nodes doesn’t currently support text attributes, so strings like atom names have to be first converted to integers and mapping to atom names back and forth. Definitions for the atom names are available on the GitHub page
The atom_name attribute, an integer representation of the atom names such as C for carbon, CA for alpha carbon
Outputs
| Name | Type | Description |
|---|---|---|
| atom_name | Int |
The atom_name attribute read from the points, an integer representation of the atom names. Corresponds to CA and O in the file etc. |
API Reference: nodes.geometry.AtomName
Atomic Number
The atomic_number attribute, ascending from 1 for each element on the periodic table
Outputs
| Name | Type | Description |
|---|---|---|
| atomic_number | Int |
Read the atomic_number attribute from the geometry corresponding to elements |
API Reference: nodes.geometry.AtomicNumber
B Factor
The b_factor attribute of the point, how well resolved the individual atoms are
Outputs
| Name | Type | Description |
|---|---|---|
| b_factor | Float |
API Reference: nodes.geometry.BFactor
Chain ID
Integer representation of the Chain IDs that were present in the structure
The ‘chain_id’ attribute, an integer representation of the Chain IDs from the structure. Chains are sorted alphabetically then assigned an ID startin at 0 and increasing.
Outputs
| Name | Type | Description |
|---|---|---|
| chain_id | Int |
The chain_id attribute read from the points, corresponding to the different chains that were read from the structure |
API Reference: nodes.geometry.ChainID
Charge
Read the charge attribute from the geometry. The attribute is only present when the file or topology provided charges (partial charges from a simulation topology, formal charges from a structure file’s charge column or pdbx_formal_charge). Outputs 0.0 when the geometry has no charge attribute.
The charge attribute of the point, which is only present when the file or topology provided charges (partial charges from a simulation topology, formal charges from a PDB charge column or mmCIF pdbx_formal_charge). 0.0 if the geometry has no charge attribute
Outputs
| Name | Type | Description |
|---|---|---|
| charge | Float |
Read the charge attribute from the geometry, only present when the file or topology provided charges. 0.0 if the geometry has no charge attribute |
API Reference: nodes.geometry.Charge
Color
The Color attribute of the point, used for coloring the final generated geometry inside of the materials
Outputs
| Name | Type | Description |
|---|---|---|
| Color | Color |
Read the Color attribute from the geometry |
API Reference: nodes.geometry.Color
Entity ID
The entity_id attribute read from the points, corresponding to the unique entities in the structure (that may appear several times as different chains)
The entity_id attribute of the point
Outputs
| Name | Type | Description |
|---|---|---|
| entity_id | Int |
The entity_id attribute read from the points, corresponding to the unique entities in the structure (that may appear several times as different chains) |
API Reference: nodes.geometry.EntityID
Force
The force attribute of the point, the force on each atom from a trajectory with forces (such as frames of .trr files), in MDAnalysis units of kJ/(mol·Å) and not scaled by the world scale. Interpolated and averaged between frames like positions. Not related to the Force Gravity and other simulation forces. (0, 0, 0) if the geometry has no force attribute
Outputs
| Name | Type | Description |
|---|---|---|
| force | Vector |
API Reference: nodes.geometry.Force
Fragment ID
Integer ID of the bonded molecule (MDAnalysis fragment) each atom belongs to, for structures with bonds
The fragment_id attribute: which bonded molecule (MDAnalysis fragment) each atom belongs to, numbered from 0. Created for structures with bonds. Link it into the Group ID of Periodic Unwrap to keep molecules whole across the periodic box.
Outputs
| Name | Type | Description |
|---|---|---|
| fragment_id | Int |
The fragment_id attribute read from the points, numbering the bonded molecules from 0 |
API Reference: nodes.geometry.FragmentID
Frame ID
Read the frame_id attribute, created when multiple frames from a trajectory are merged into a single structure
Outputs
| Name | Type | Description |
|---|---|---|
| frame_id | Int |
Read the frame_id attribute from the geometry |
API Reference: nodes.geometry.FrameID
Image ID
Read the frame_id attribute, created when multiple frames from a trajectory are merged into a single structure
Outputs
| Name | Type | Description |
|---|---|---|
| image_id | Int |
Read the image_id attribute from the geometry |
API Reference: nodes.geometry.ImageID
Mass
The mass attribute of the point, used for centre of mass calculations
Outputs
| Name | Type | Description |
|---|---|---|
| mass | Float |
Read the mass attribute from the geometry |
API Reference: nodes.geometry.Mass
Residue ID
The residue_id attribute of the point, which is the assigned number of the residue inside the chain of the structure
Outputs
| Name | Type | Description |
|---|---|---|
| res_id | Int |
Read the res_id attribute from the geometry |
API Reference: nodes.geometry.ResidueID
Residue Name
The res_name attribute, an integer representation of the residue names. Amino acids are sorted alphabetically and assigned a value starting at 0. DNA starts at 30 and RNA starts at 40. Check the attributes for a full listing.
Outputs
| Name | Type | Description |
|---|---|---|
| res_name | Int |
Read the res_name attribute from the geometry |
API Reference: nodes.geometry.ResidueName
Secondary Structure
The sec_struct attribute of the point. 0 is non-peptide, 1 is helix, 2 is sheet and 3 is loop
Outputs
| Name | Type | Description |
|---|---|---|
| sec_struct | Int |
API Reference: nodes.geometry.SecondaryStructure
Segment ID
Integer representation of the segment IDs present in the structure (MDAnalysis segid), assigned in order of the segments read from the topology
The segid attribute, an integer representation of the segment IDs present in the structure (the MDAnalysis segid). Segments are assigned an ID starting at 0 in the order they were read from the topology.
Outputs
| Name | Type | Description |
|---|---|---|
| segid | Int |
The segid attribute read from the points, an integer index into the segments read from the topology |
API Reference: nodes.geometry.SegmentID
Symmetry ID
Read the frame_id attribute, created when multiple frames from a trajectory are merged into a single structure
Outputs
| Name | Type | Description |
|---|---|---|
| sym_id | Int |
Read the frame_id attribute from the geometry |
API Reference: nodes.geometry.SymmetryID
URes ID
The ures_id attribute of the point, a unique identifier for each residue across the whole structure that is computed when the structure is loaded.
Outputs
| Name | Type | Description |
|---|---|---|
| ures_id | Int |
|
| Size | Int |
The total of all of the values in the corresponding group |
API Reference: nodes.geometry.UResID
VDW Radii
The vdw_radii attribute of the point, corresponding the radius of the element as defined in the data dictionary. Used for scaling sphers for Style Spheres and Style Ball and Stick nodes, and for calculating the surface of the molecule in Style Surface
Outputs
| Name | Type | Description |
|---|---|---|
| vdw_radii | Float |
Read the vdw_radii attribute from the geometry |
API Reference: nodes.geometry.VDWRadii