When working on molecular models, especially large and complex structures, the ability to fine-tune selections and manage attributes can be a significant pain point. SAMSON’s Node Specification Language (NSL) provides a structured way to define and manipulate these attributes, particularly for backbone nodes. In this post, let’s explore the backbone attribute space and how it can simplify molecular modeling tasks.
What Are Backbone Attributes?
The backbone attribute space in NSL is a dedicated space for specifying and interacting with backbone-related data in molecular models. The backbone is often the structural core for biomolecular assemblies like proteins and nucleic acids. By understanding these attributes, you can make targeted selections, filter structures, and perform efficient operations in SAMSON.
Key Attributes for Backbone Nodes
Below, you’ll find a summary of some of the most useful attributes available in the backbone attribute space:
- Material-related attributes:
hasMaterial (hm)andownsMaterial (om)allow you to query the presence of material information on a backbone or check its ownership. For example,bb.hmreturnstrueif the backbone has material, whilebb.omdoes so for ownership. - Visibility control:
Manage the visual appearance of nodes usinghidden(bb.h) andvisibilityFlag(bb.vf). - Naming:
If you rely on naming conventions for molecular backbones, thename (n)attribute helps you filter by specific names. For instance,bb.n "A"will match nodes named “A”, while wildcards likeL*also work (bb.n "L*"). - Atomic composition:
ThenumberOfAtoms(nat),numberOfCarbons(nC),numberOfHydrogens(nH), and similar attributes let you specify the number of specific types of atoms or coarse-grained representations. Example:bb.nH < 10selects backbones with fewer than 10 hydrogens. - Charge-related attributes:
Attributes likeformalCharge(fc) andpartialCharge(pc) are useful for charge analysis. For example,bb.pc > 1.5filters backbones with a partial charge above 1.5.
Practical Expression Examples
Here are some ways you can use backbone attributes in SAMSON:
bb.hm: Select all backbones with material.not bb.h: Highlight all visible backbones.bb.nat 100:200: Narrow down to backbones with 100-200 atoms.bb.fc > 1: Find backbones with a formal charge greater than 1.bb.n "L*": Identify backbones with names starting with “L”.
Why This Matters
In molecular modeling workflows, efficiency is crucial. With backbone attributes, you gain the ability to quickly filter, segment, and analyze your model. This feature can save you substantial time when managing large systems or conducting detailed studies.
To explore all backbone attributes and test them with practical examples, visit the backbone documentation page.
SAMSON and all SAMSON Extensions are free for non-commercial use. Download SAMSON at www.samson-connect.net.
