Understanding Side Chain Attributes in SAMSON.

For molecular modelers, precise control over the properties of side chain nodes is often crucial in tasks such as structure analysis, molecular design, or force field adjustments. SAMSON’s Node Specification Language (NSL) offers a powerful and intuitive way to define and query attributes of side chain nodes effectively. In this post, we will explore the key attributes available in the sideChain attribute space, discuss their meaning, and provide examples to help you get started.

What are Side Chain Attributes?

The sideChain attribute space (short name: s) focuses exclusively on side chain nodes in molecular structures. By querying side chain attributes, users can extract or manipulate information related to specific molecular features like visibility, material presence, or the number of specific atoms. These attributes are either inherited from general node or structuralGroup attribute spaces, providing a flexible and consistent way to manage molecular data.

Key Attributes for Side Chains

Here are some of the most relevant attributes in the sideChain attribute space:

Visibility and Selection

  • visible (sc.v): Determines if a side chain node is currently visible (true or false). This could be useful, for instance, when analyzing the exposed regions of a molecular structure.
  • selectionFlag (sc.sf): Identifies whether certain nodes are flagged in a selection operation (true or false).
  • hidden (sc.h): Checks if a node is marked as hidden, providing another way to manage elements in your view.

Structural Features

  • formalCharge (sc.fc): Stores the formal charge of the side chain. Modelers can query charges directly to focus on regions with specific reactivity properties (sc.fc > 1, sc.fc 1:2, etc.).
  • numberOfAtoms (sc.nat): Specifies the total number of atoms in the side chain (sc.nat < 100, sc.nat 50:75).
  • numberOfHydrogens (sc.nH): Used to count hydrogens in side chains, which can be particularly useful for tasks like hydrogen bond predictions or hydration shell studies (sc.nH < 10, sc.nH 1:5).

Material and Ownership

  • hasMaterial (sc.hm): Indicates if the side chain node has associated material properties, which is useful for advanced visualization or interaction studies (true, false).
  • ownsMaterial (sc.om): Identifies whether a side chain is the owner of its material, offering additional flexibility in material management.

Practical Examples

To illustrate how these attributes can be used effectively, consider the following examples:

  • Create a query to find all visible side chains: sc.v or not sc.v.
  • Filter side chains with low formal charge: sc.fc < 1.
  • Visualize side chains containing a specific number of atoms: sc.nat 50:100.

By combining such queries, users can extract meaningful information and perform custom manipulations efficiently, which is essential for streamlining workflows in molecular modeling.

Discover More

Understanding side chain attributes is just one step toward mastering molecular modeling in SAMSON. To dive deeper into the full range of side chain attributes and access comprehensive examples, visit the original documentation page at this link.

SAMSON and all SAMSON Extensions are free for non-commercial use. To start using SAMSON, download it from here.

Comments are closed.