One of the challenges faced by molecular modelers is efficiently selecting and organizing nodes within complex molecular structures. To solve this, SAMSON, a powerful molecular design platform, provides the backbone Node Specification Language (NSL) attribute space to help streamline the process.
The backbone attribute space (short name: s) is a dedicated specification tool that helps users work on structures by indicating key properties. For example, attributes such as visible, hidden, and hasMaterial provide crucial information and allow users to write compact queries for advanced customizations.
Streamlined Selection with Backbone Attributes
The backbone attribute space offers several valuable node attributes. These attributes can help you work more efficiently by categorizing and analyzing molecular structures with ease. Let’s dive into some highlights:
- Visibility and Selection: The
visible(v) andselectedattributes enable you to control and query your nodes’ visibility and selection states. Sample expressions includebb.vto check if a node is visible ornot bb.selectedto find nodes that are not selected. - Structural Composition: Want to analyze molecular structures by their atomic composition? Use attributes like
numberOfCarbons(nC),numberOfHydrogens(nH), ornumberOfNitrogens(nN) to define or filter nodes based on their atomic makeup. For example,bb.nC > 10finds nodes with more than ten carbons. - Charge States: You can query charge attributes such as
formalCharge(fc) andpartialCharge(pc) to study charge distributions. Try expressions likebb.fc 6:8to focus on nodes with formal charges between 6 and 8. - Ownership and Material: The
hasMaterial(hm) andownsMaterial(om) attributes allow you to quickly identify materials associated with nodes. For instance,bb.hmchecks for nodes possessing material, whilebb.omevaluates material ownership.
Unlock the Power of Flexible Queries
Backbone node attributes in SAMSON not only make molecular modeling easier but also empower you to create compact and versatile queries. For instance:
bb.nH 10:20 and bb.vf true– Select nodes with 10–20 hydrogens that also have their visibility flags enabled.not bb.v and bb.fc > 0– Identify invisible nodes with positive formal charges.bb.partialCharge -1.0:0– Target nodes with partial charges in the range-1.0to0.
Conclusion
With SAMSON’s backbone attribute space, managing complex molecular structures becomes significantly easier, allowing users to work smarter, not harder. If you are curious to explore the full potential of the backbone attribute space, check out the official documentation.
SAMSON and all SAMSON Extensions are free for non-commercial use. Download SAMSON today at https://www.samson-connect.net.
