Understanding Backbone Attributes in Molecular Modeling

For molecular modelers, particularly those diving into the complexities of node specification, understanding backbone attributes is crucial. These attributes provide a powerful way to filter and manipulate molecular backbones. Built upon the Node Specification Language (NSL), backbone attributes are defined in an attribute space known as backbone (short name: s), and apply specifically to backbone nodes. In this blog post, we’ll explore the key backbone attributes and how they can streamline your molecular modeling tasks.

Why Backbone Attributes Matter

Backbone attributes allow you to precisely filter or modify molecular backbones based on various criteria. Whether you’re looking to analyze hidden nodes, quantify specific atom types, or manage visibility flags, these attributes unlock a new dimension of control in your modeling tasks. Let’s explore how these attributes work and provide practical examples for using them.

Key Attributes at a Glance

Backbone attributes inherit properties from the node and structuralGroup attribute spaces. Below are some of the most commonly used backbone attributes:

  • Visible (v): Indicates whether the backbone node is visible (true or false). Usage example: bb.v for visible backbones, not bb.v for hidden ones.
  • Number Of Atoms (nat): Filters backbones by the number of atoms they contain. Examples: bb.nat < 1000 filters backbones with fewer than 1000 atoms; bb.nat 50:100 selects backbones with 50 to 100 atoms.
  • Formal Charge (fc): Refers to the formal charge of a backbone. Examples: bb.fc > 1 or bb.fc 4:6.
  • Number of Hydrogens, Carbons, Oxygens, etc.: Attributes like bb.nH, bb.nC, and bb.nO allow you to specify the number of specific atom types in a backbone. Example: bb.nC 10:20 for backbones containing between 10 and 20 carbons.
  • Selection Flag (sf): Makes use of selection-based operations. Example: bb.sf false deselects the node.

Practical Use in Molecular Design

Let’s say you’re working on a large molecular model and you want to isolate the backbones that contain over 20 hydrogens but less than 10 carbons. Using backbone attributes, you can write a concise query like:

This command filters the molecular model quickly and efficiently, saving you time in your analysis.

Examples That Boost Efficiency

Here are some additional examples of backbone attributes in action:

  • bb.hm: Filters backbones with material. For example, not bb.hm selects backbones without material.
  • bb.vf false: Hides backbones by setting their visibility flag to false.
  • bb.pc 0.5:1.5: Filters backbones with partial charges between 0.5 and 1.5.

Each of these examples demonstrates how backbone attributes can simplify complex workflows by letting you focus only on relevant parts of your molecular model.

Learn More

Backbone attributes open the door to detailed and efficient molecular modeling. For a full list of attributes and advanced use, we encourage you to visit the official documentation page at https://documentation.samson-connect.net/users/latest/nsl/backbone/.

SAMSON and all SAMSON Extensions are free for non-commercial use. Download SAMSON at https://www.samson-connect.net.

Comments are closed.