From Loose Fragments to a More Reliable Molecular Build

Building a molecule atom by atom gives you control, but it can also mean many small operations—and plenty of chances to attach a fragment at the wrong place, create an awkward overlap, or lose track of which atom should form the connection. A fragment-based workflow can make the construction process clearer: choose a reusable asset, identify its connection point, and let SAMSON help position it as you build.

This guide focuses on a practical task molecular modelers often face: assembling a larger molecule from existing fragments while keeping an eye on connection geometry, hydrogens, and hierarchy.

Start with the builder settings

Before placing fragments, open Interface > Preferences, then go to Editors > Add. Check the options that match your workflow. In particular, Adjust hydrogens when adding fragments… can adjust hydrogens when adding or linking atoms and fragments, changing bond order, or changing formal charge, based on valences.

Other settings help make the builder’s behavior visible and configurable:

  • Automatically orient fragments on substitution attempts to position a connecting fragment so its atoms do not overlap with atoms already in the molecule.
  • Merge neighboring atoms can merge nearby atoms from the added fragment with atoms in the existing molecule, in addition to the substitution atoms.
  • Prevent unexpected substitutions marks acceptable operations with a green overlay and forbidden ones with a red overlay.
  • Select fragments after adding them makes the newly placed fragment easier to move or inspect.

These options are aids, not a substitute for checking the resulting structure. If a recommendation does not suit your task, the relevant behavior can be changed in Preferences.

Find and choose an asset

Activate the Add editor to work with atoms or fragments. Its Asset Browser includes default assets and provides access to assets obtained from SAMSON Connect. Browse folders or search with Filter assets…. If the library is easier to scan in another layout, switch between grid and list views using the buttons at the bottom of the browser.

Double-clicking an asset, such as phenol in the Aromatics folder, sets it as the current building fragment and activates the Add editor if needed. The fragment appears in the Viewport, ready to place. Before connecting it, check which atom in the fragment will serve as the substitution atom. You can change that choice by holding Ctrl on Windows or Linux, or Cmd on macOS, and selecting a different atom in the fragment.

A fragment being oriented and validated while building

Connect deliberately

There are two useful ways to attach a fragment. To substitute an existing atom, move the fragment over the atom you want to replace and click. To create a bond, press and hold on the atom to connect to, move the pointer away, and release at a bond-like distance. As you work, watch the fragment’s orientation and the green or red overlay. The builder uses covalent radii when positioning substitutions, and automatic orientation can help avoid overlaps.

For a concrete example, the documentation demonstrates building Bisphenol A from a propane molecule and phenol fragments. First construct propane. Then choose phenol in the Asset Browser and set the phenol carbon as the substitution atom using Ctrl or Cmd. Position the fragment over a hydrogen on the central propane carbon and click to substitute it. Repeat for the second phenol attachment. This sequence makes the connection point explicit before placement, rather than relying on the default atom in the asset.

Building Bisphenol A by attaching phenol fragments to propane

Check, refine, and keep control

When geometry needs relaxation during construction, start interactive minimization with Z or Edit > Minimize; press Z again to stop it. You can also rotate a fragment with Shift plus right-click. For more deliberate orientation, the Local Move Editor (M) lets you set a pivot atom and rotate the selected fragment; clicking a bond can select the shortest fragment for rotation around that bond.

If the result is not what you intended, use Edit > Undo and try again. Once the molecular structure is built, the Document view can help you organize its hierarchy: add structural nodes, move nodes by drag-and-drop, or extract structure from the context menu. This is useful when the molecular model’s organization matters as much as its visible geometry.

A reliable habit is to treat each connection as a small checkpoint: confirm the intended substitution atom, inspect the placement, check the builder’s validation cue, and review the structure after adding the fragment. For more detail on atoms, assets, settings, orientation, and hierarchy, see the SAMSON Building molecules guide.

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

Comments are closed.