Molecular modelers often face the challenge of filtering and isolating specific molecular components from large datasets. Whether you are analyzing interactions or designing a new structure, having efficient ways to select and work with specific molecular nodes can save valuable time. In SAMSON, the backbone attribute space within the Node Specification Language (NSL) provides tools to streamline this process and customize your workflow.
What Are Backbone Attributes?
Attributes in the backbone space (short name: s) are specialized for targeting backbone nodes in molecules. These attributes allow users to define detailed criteria for selection, visibility, material presence, naming conventions, and structural details. Many backbone attributes are inherited from general node or structuralGroup spaces, making them both versatile and powerful.
Key Attributes and Applications
Here, we highlight some of the most useful backbone attributes for molecular selection:
- hasMaterial (
hm): Check whether a node has an associated material. For example, if you want to isolate nodes with materials, usebb.hm. - visible (
v): Check or filter for visible nodes in the structure. Example:bb.vselects visible backbone nodes. - name (
n): Target nodes by name for more precise selection. Example:bb.n "L*"selects backbone nodes whose name starts with “L”. - formalCharge (
fc): Filter nodes by their formal charge. A practical example:bb.fc > 1isolates backbone nodes with a formal charge greater than 1. - numberOfAtoms (
nat): Select backbones based on their atom count. For example,bb.nat 100:200matches backbones with 100 to 200 atoms.
Practical Examples
To illustrate these features, here are a few real-world use cases for backbone attributes in SAMSON:
- Filtering Invisible Backbones: Use
not bb.vto quickly identify nodes that are currently hidden in the visualization. - Selecting Nodes With Specific Atomic Composition: Want backbones with less than 20 carbons? Try
bb.nC < 20. - Combining Criteria: Need backbones that are visible and have a formal charge? Combine attributes:
bb.v and bb.fc > 0.
Where to Start?
To effectively use backbone attributes, head to the Node Specification Language (NSL) in SAMSON. Learning the possible values, short names, and example expressions can dramatically improve your workflow. You can read the full documentation and explore examples at this page.
Conclusion
Leveraging backbone attributes in SAMSON enables molecular modelers to perform highly targeted filtering, significantly simplifying complex molecular tasks. Whether it’s identifying specific molecular structures or optimizing data visualization, these tools can be the foundation of an efficient modeling strategy.
Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON today at https://www.samson-connect.net.
