Mastering Node Selection: A Molecular Modeler’s Guide

For molecular modelers, navigating complex atomic-scale structures often starts with one critical skill: selecting the right nodes. Whether you’re working on proteins, nanostructures, or molecular assemblies, understanding and mastering the selection process in SAMSON can significantly streamline your workflow.

Let’s break down how SAMSON empowers you to select nodes efficiently, no matter the complexity of your molecular system.

How to Select Nodes in the Viewport

The viewport is the primary workspace in SAMSON, and using the right selection techniques here can save you hours. Activate a selection editor, such as the powerful Rectangle Selection editor (R), to interact directly with your molecular systems. Drag with the left mouse button to select nodes individually, or create rectangular selections by dragging outside the nodes.

Use keyboard shortcuts for extended functionality:

  • Ctrl (or Cmd) + click: Add nodes to an existing selection.
  • Alt + click: Remove nodes from the selection.

The top-right corner of the viewport features a Selection Filter, ensuring you can control which node types (e.g., atoms, bonds) are selectable. This is particularly handy when navigating large or multi-layered structures.

Selection filter

Selection in the Document View

With the Document view, you can manage selections hierarchically. Simply click a node, whether it’s an atom, molecule, or folder, to select and highlight it in the viewport. The Document view offers powerful filtering options that let you refine your focus on specific node groups by entering keywords or expressions in the Node Specification Language (NSL).

Multi-selection is straightforward: hold down Shift or Ctrl / Cmd while clicking to select multiple nodes.

At the bottom of the Document view, you’ll find the Selection Summary. This provides a concise overview of your current selection and facilitates quick access to contextual actions. Here’s an example:

Selection summary in the Document view

Using the “Find” Command for Advanced Selections

For complex molecular systems, manually searching for specific nodes is tedious. That’s where the Find command comes in (Ctrl + F / Cmd + F). With this tool, you can leverage NSL to precisely specify the nodes you want to select. Use expressions to filter by atom type, molecule name, or other properties. Press Enter to select all matching nodes in the Document view or viewport.

This feature is particularly useful for large datasets where targeted filtering is essential.

Mastering Group Selections

If you frequently work with certain node groups, SAMSON lets you save them for easy reuse using the Select > Group command (G). Saved groups appear in the Document view, and you can double-click them to instantly restore your selection. This is a practical way to manage recurring tasks or highlight vital molecular components efficiently.

The Bottom Line

Node selection is the cornerstone of many molecular modeling tasks, from visualization and analysis to simulation and modification. By combining tools like the Selection Filter, Document view, NSL, and grouping functionality, SAMSON provides a streamlined approach to managing even the most intricate molecular systems.

Learn more about selection workflows by visiting the SAMSON Quick Start Guide.

SAMSON and all SAMSON Extensions are free for non-commercial use. You can download SAMSON here.

Comments are closed.