Stop Rebuilding the Same Molecular View: Make Your Visualization a Preset

A molecular structure can be scientifically useful and still be difficult to read. Perhaps the ligand is hard to distinguish from the receptor, water molecules crowd the view, or a figure needs a different representation from the one you use while exploring. Recreating the same styling choices by hand each time takes attention away from the molecular question—and makes it harder to keep views consistent.

In SAMSON, a visual preset can package a sequence of selections, actions, visual models, and color schemes. Instead of treating a visualization as a one-off collection of manual changes, you can make those choices into a reusable recipe.

A visual preset being applied to a molecular system
A preset applies a sequence of visualization choices to a molecular system.

Start with the question your view should answer

Before choosing representations or colors, decide what you want someone to notice. For a protein–ligand view, that might mean making the ligand easy to locate while keeping the receptor’s overall shape visible. For another view, you may want to emphasize a particular selection of atoms or show different parts of the system in different ways.

This small planning step helps you build a preset with purpose. Each step in the Visual Preset Editor has four possible parts:

  • Selection: which nodes the step applies to, such as the receptor, ligands, or water.
  • Actions: optional operations such as hiding nodes, labeling atoms, or zooming on the selection.
  • Visual model: an optional representation, such as Van der Waals, Licorice, or Ribbons.
  • Color scheme: optional coloring for the selection or its visual model.

You do not need to fill in all four parts. A step can be as simple or as specific as the view requires.

Use selection to keep changes in scope

One useful way to organize a preset is to think in terms of what should change—and what should stay untouched. Add separate steps for different node groups when they need different representations, actions, or colors. For example, one step might target a ligand, while another targets the receptor. This is easier to adjust later than a single broad step when different parts of the system need different treatment.

When you apply a preset, it affects the selected nodes. If nothing is selected, it applies to the whole document. That makes it worth checking your selection before applying a preset, especially when you intend to restyle only part of a system. SAMSON places the visual models created by the preset and node groups corresponding to selections in a folder named after the preset in the document.

If the selection options do not match your needs, the editor’s More… option opens the Find window, where you can compose a selection using the Node Specification Language. The available choices also include Any node, which applies to the current selection—or to the whole document when nothing is selected.

Make the order of steps work for you

A preset is a series of steps, and multiple actions within a step run in the order they were added. This means sequence is part of the recipe, not just a list of settings. If an action such as hiding nodes or zooming on a selection is important to the final view, consider where it belongs relative to the other actions and steps. You can move steps up or down, remove a step, and remove individual actions from a step.

The Visual Preset Editor
The editor organizes a preset into steps that can be revised and reordered.

Understand what happens when color is omitted

Color choices are optional, but leaving them blank has a defined result. If a visual model is specified and no colorization is chosen, that model uses its default colorization. If no visual model is specified but a colorization is chosen, the colorization applies to the structural nodes determined by the selection.

When you do choose a color scheme, you can use its default palette or change the palette in the color palette dialog. For a constant-color scheme, you can change the color itself. If you later want to return to the scheme’s default palette, choose Default color palette in that dialog.

Save the setup you want to reuse

You can start from a default preset and modify it, or create a new one from scratch. To make a new preset, open Home > Visual preset > Create… or Visualization > Visual preset > Create…. In the editor, add steps and choose the selections, actions, models, and colors that fit your intended view. Save the preset, or apply it and choose to save when prompted. Your saved presets are loaded alongside the defaults each time you launch SAMSON.

A practical approach is to build one view, apply it to the system, and then refine the preset: adjust a selection if it reaches too far, change a model if it obscures the feature of interest, or reorder steps if the sequence needs improvement. The goal is not to add every available option. It is to make the important visual decisions repeatable.

For details and the complete editor walkthrough, visit the SAMSON visual presets documentation.

Note: SAMSON and all SAMSON Extensions are free for non-commercial use. Get SAMSON at www.samson-connect.net.

Comments are closed.