Replies: 3 comments 2 replies
-
https://www.youtube.com/watch?v=wrLZ6SIE_7c shows an add-on to read in a csv file and subsequently add the file's columns as attributes to a blender object. This seems like the easiest gui-based method of creating attributes and then using them in the geometry nodes. Ideally, this process can be automated using the blender python console. So I need to write a script that reads in a .csv file and adds the attributes to the atoms (the mesh vertices of the structure's blender object). Also, I've gotta create the geo nodes needed to visualize the attribute. From then on, I can |
Beta Was this translation helpful? Give feedback.
-
In the |
Beta Was this translation helpful? Give feedback.
-
Oh son of a... I'm looking at the wrong tab of the spread sheet. So the atoms' b_factor columns do include the correct values. grumble grumble grumble. |
Beta Was this translation helpful? Give feedback.
-
I'm inspecting the possible attributes that I can utilize for visualizing protein structures. Previously, I've used both the "b_factor" and "occupancy" columns in .pdb/.cif files to store calculated values. Then, in VMD, I visualized these metrics on the structure by coloring the cartoon or licorice reps by the respective column's values.
I'm noticing a couple issues that are breaking this visualization habit I've got:
The b_factor attribute value for each atom is set as the b_factor value for the residue's CA atom (for proteins). I haven't looked at how nucleic polymers, ligands, and solvent are treated.Was looking at the "Evaluated" spreadsheet tab instead of "original".Both issues happen whether you download a structure or load from a local file. Ideally, when a structure file is imported into a blender object, each atom would have its own b_factor and occupancy values, as reported in the structure file. Considering experimental structures, both columns hold important information about each atom in the structural model. Side chain atoms may or may not have higher b_factor values, which is insightful information about the underlying ensemble of sidechain conformations present in the crystal. Similarly, occupancy values less than 1 indicate that the structural modeling software determined there were a number of equivalent conformations for a residue.
Alternatively, how easy is it to import data files, create named attributes for each atom in a system, and then use those attributes in the geometry nodes for visualizing the structure?
Beta Was this translation helpful? Give feedback.
All reactions