From Repeated Tweaks to a Reusable Molecular View

A familiar frustration in molecular modeling: you open a new system, then spend time hiding water, changing how the protein is drawn, coloring a ligand, and adjusting what is visible. When you repeat those choices for another structure—or simply revisit the same project—the view can become a small task of its own.

SAMSON visual presets offer a practical way to turn those choices into a reusable visualization recipe. A preset can apply several selections, actions, visual models, and color schemes in sequence, so a complex system can be presented consistently without rebuilding the view one adjustment at a time.

Start with the viewing problem

Before editing a preset, decide what you need the image or workspace to make clear. For example, you might want the receptor visible as ribbons, the ligand shown with a more detailed representation, and selected atoms highlighted by a color scheme. Thinking in terms of the viewing goal helps you choose which nodes each step should affect, rather than applying one broad change to everything.

To apply an existing preset, choose Home > Visual preset or Visualization > Visual preset, then select a preset. If nodes are selected, the preset is applied to that selection; if nothing is selected, it is applied to the whole document.

Visual preset menu in SAMSON

When a preset is applied, SAMSON creates a folder in the document named for the preset. The folder contains the visual models created by the preset and node groups corresponding to the selections. This gives you a place to inspect the resulting organization as well as the view.

Think of each step as a small instruction

A visual preset is made of steps. Each step combines up to four choices:

  • Selection: Which nodes should this step affect? Options include categories such as receptor, ligands, or water. A step set to Any node applies to the whole document when nothing is selected, or to the current selection when the preset is applied to selected nodes.
  • Actions: Optional operations such as hiding nodes, labeling atoms, or zooming on a selection. You can add multiple actions to a step; they run in the order in which they were added.
  • Visual model: An optional representation, such as ribbons, licorice, or van der Waals.
  • Color scheme: An optional way to color the selection or its visual model, such as per chain, per occupancy, or a constant color.

This structure is useful when a single preset needs to treat different parts of a system differently. One step can target the receptor, another the ligand, and another water. If the available selections do not fit your needs, the More… option opens the Find window, where you can compose a selection using the Node Specification Language.

Understand the color and model interaction

Color choices can behave differently depending on whether a visual model is specified. If a step has a visual model but no colorization, that model uses its default colorization. If the step has no visual model, a chosen colorization is applied to the structural nodes identified by the selection. Keeping this distinction in mind can help explain why a color choice appears on the model—or on the underlying nodes.

Color palettes can be adjusted by double-clicking the palette field and choosing a palette in the dialog. For a constant color scheme, double-click the color field to change the color. You can also return to the color scheme’s default palette through the same palette dialog.

Colorization choices for a visual preset step

Customize once, reuse later

To make a preset of your own, open Home > Visual preset > Create… or Visualization > Visual preset > Create…. You can modify an existing preset or start from scratch with the plus button. Add steps, select what each one affects, then choose any actions, visual model, and colorization you need. Reorder steps with Move up and Move down; remove a step by selecting it and using Delete step.

Save the preset with Save visual preset, or apply it and choose whether to save when prompted. Saved custom presets load alongside the defaults when SAMSON launches. That makes them useful for recurring visualization preferences: define the choices once, then reuse the same approach instead of trying to remember every adjustment.

Visual Preset Editor

For the complete instructions, see the SAMSON visual presets documentation.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON.

Comments are closed.