For molecular modelers, precision in the representation of molecular backbones is crucial. Whether you’re investigating structural properties or running simulations, understanding how to define and manipulate backbone attributes can save time and improve accuracy. But where to begin? This blog post will walk you through some of the key backbone attributes available in SAMSON’s Node Specification Language (NSL), giving you practical tips applicable to your workflows.
What exactly are backbone attributes?
Backbone attributes in SAMSON refer to properties assigned to backbone-related nodes in a molecular model. They belong to the backbone attribute space (short name: s), and they enable modelers to query or manipulate molecular backbones based on properties such as visibility, material ownership, and atomic composition.
Inherited properties: A closer look
Backbone attributes in SAMSON draw inheritance from both the node and structuralGroup attribute spaces. Let’s break down two key aspects:
Node-like attributes
These include properties like:
hasMaterial(bb.hm). Does the backbone node have material? Possible values:trueorfalse. Use cases might involve filtering backbones that are actively involved in material interactions.hidden(bb.h). Is the backbone node hidden? Visibility states matter when organizing visualizations or deciding whether certain segments should be processed further.selected(bb.selected). Used to check whether backbone nodes are currently selected. This attribute is critical for user-driven workflows involving manual selection.
StructuralGroup-derived attributes
Some of the most powerful attributes come from the structuralGroup hierarchy. If you need to dig deeper into molecular composition, these attributes will be invaluable:
numberOfAtoms (bb.nat): Refers to the number of atoms in the backbone group. For example,bb.nat < 1000could ensure only compact backbones are analyzed.numberOfCarbons (bb.nC): Counts the number of carbon atoms. Perfect for filtering hydrocarbon-dominant backbones, e.g.,bb.nC 10:20.partialCharge (bb.pc): A float-based property defining the charge of a backbone. Want to locate highly charged regions? Use something likebb.pc > 1.5.
How to use these attributes effectively
The key to optimizing your molecular model is combining these attributes. For instance, you might work on filtering backbones based on a combination of material presence, hydrogen count, and visibility. Want to locate a backbone node that is visible, has more than 15 hydrogen atoms, and does not own material? You’d use the combination:
|
1 |
bb.v true and bb.nH > 15 and not bb.om |
Why this matters
Understanding and effectively using backbone attributes allow molecular researchers to refine their search and manipulation strategies. It reduces unnecessary noise, improves computational efficiency, and allows precise focus on the aspects of molecular models that matter most for a project.
To explore the full list of backbone attributes and dive deeper into how SAMSON facilitates integrative molecular design, visit the original documentation page at SAMSON documentation on backbone attributes.
SAMSON and all SAMSON Extensions are free for non-commercial use. Download SAMSON today at SAMSON Connect.
