Effortlessly Inspect and Modify Molecular Attributes in SAMSON

For molecular modelers and researchers navigating through intricate datasets or structures, one persistent challenge is efficiently managing node attributes. SAMSON’s Inspector tool is designed to address this exact pain, allowing users to easily view and modify properties of selected nodes, whether dealing with a single node or a group of them. In this post, we’ll explore how the Inspector tool can significantly enhance your workflow.

Why Inspecting Attributes Matters

Understanding and modifying properties at the node level—whether it be for atoms, bonds, residues, or other molecular components—is a core task for molecular designers. Without an intuitive tool, this can quickly turn into an error-prone and time-consuming process. SAMSON’s Inspector centralizes this functionality, enabling targeted and efficient inspection of attributes.

Opening the Inspector

The first step to using the Inspector is as simple as opening it. Here are three ways to access it:

  • Navigate to Interface > Inspector in the menu.
  • Use a shortcut: Ctrl+2 on Windows and Linux or Cmd+2 on Mac.
  • Via the context toolbar of a selection for quick access.

Once open, the Inspector will immediately display the attributes of the selected node(s), offering a clear and concise view.

Exploring Attributes: Groups and Flexibility

The Inspector groups attributes by node types (e.g., Atom, Bond, Residue) and further within each type by attribute categories. If multiple nodes are selected, you’ll see these groupings dynamically adjust to the selection.

For example, if you select an atom, you can inspect attributes like atomic weight, element name, symbol, and position. While some attributes, such as atomic weight, are fixed by the element type, others—like position—are modifiable. Changing an atom’s type automatically updates its related attributes, ensuring consistency.

Inspecting an atom

Edit Multiple Attributes Intuitively

The Inspector offers the ability to inspect and modify attributes for multiple nodes simultaneously. If you select several atoms, the displayed attributes will correspond to the last selected node of the group. Importantly, modifications you make are applied to all nodes of the same type within your selection, giving you control over groups of atoms with ease.

For example, if you select multiple atoms and modify their positions, you’ll see all atoms shift their positions relative to the applied value. Don’t forget to enable the Relative option if you want to maintain internal node relationships within the group.

Inspecting multiple atoms

Inspecting multiple atoms: change positions

Accidentally moving nodes in an unintended way? No problem—the history system ensures you can always undo your changes.

Filter Attributes for Precision

If you’re dealing with a large dataset, locating specific attributes could become cumbersome. That’s where the filtering feature comes in handy. By typing a keyword in the filter bar (e.g., position), you can quickly find and work with the relevant attributes.

Filtering attributes

After identifying the attribute of interest, you can make your changes and observe how the selected node(s) adapt in real time.

Changing attributes

Conclusion

By centralizing attribute management and introducing robust capabilities like group-based editing and attribute filtering, the Inspector offers a streamlined solution to one of molecular design’s key challenges. Dive into the specifics and customize your workflows with confidence using SAMSON. Visit the official Inspector documentation page to learn more.

SAMSON and all SAMSON Extensions are free for non-commercial use. You can get started by downloading SAMSON at https://www.samson-connect.net.

Comments are closed.