From molecular path to usable coordinates: exporting only what your analysis needs

A molecular path can be easy to inspect on screen and surprisingly awkward to reuse. If your next step is a reaction-coordinate analysis, a free-energy workflow, or simply tracking a ligand’s movement, you need the coordinates in a form your downstream tools can work with. Exporting every atom may create more data than you need; exporting only a ligand or another region takes a little setup but can make the result more focused.

SAMSON’s Export Along Paths extension exports atomic coordinates along selected paths as PDB files. The key choice is whether to export all atoms in the path or define one or more specific atom groups. Here is a practical way to think through that choice and prepare the export.

First, understand what the path contains

In SAMSON, a path is a node that stores the atomic trajectories of a group of atoms. Selecting a path and double-clicking it in the Document view starts or stops moving atoms along that path. Exporting captures coordinates along the path for use outside that interactive view.

This distinction matters: the path describes movement, while the export settings determine which atoms and how the frames are written. Before exporting, identify the path you want and decide what your next analysis actually needs.

Choose the output that fits your workflow

  • All frames in a single PDB file: choose this when you want the path’s frames together in one file.
  • Each frame as a separate PDB file: choose this when your workflow is organized around individual structures.
  • A frame export interval: if you do not need every frame, open Advanced and adjust the interval. This can help you produce a less dense set of exported frames.

The extension prompts you for a destination folder and file prefix. Pick a prefix that identifies the path or model clearly, especially if you are exporting several paths or multiple atom groups.

When a subset is the better answer

For many analyses, the whole system is not the useful unit. You may want to follow a ligand while leaving the protein out of the exported model, or track several sets of atoms separately. In the Advanced panel, select the desired atoms in the Document view and click Add to define them as a model in the export list.

For example, the tutorial’s sample contains lactose permease (1PV7), the ligand thiodigalactosid (TDG), and two unbinding paths. Selecting TDG and adding it as a model lets you export that atom group along the selected path. You can rename a model by double-clicking its name, add more atom groups through the same selection-and-add process, and use Select or Unselect to highlight the atoms included in a listed model. The Reset control lets you redefine a model.

Selecting the TDG ligand in the Document view

A short pre-export checklist

  1. Confirm that the intended path or paths are selected in the Document view.
  2. Decide whether the export should include all atoms or only defined models.
  3. Choose one PDB file containing all frames or separate PDB files for individual frames.
  4. If needed, set the frame export interval in Advanced.
  5. Check the destination folder and file prefix when prompted.

For an all-atom export, select the path, choose the output mode, and click Export atoms along paths to PDB files. For a subset export, first add the desired atom group or groups in Advanced, then choose the output mode and select the relevant path or paths before exporting.

Advanced Export Along Paths interface

Keeping the exported set aligned with the question you want to investigate is a useful way to make trajectory files easier to manage and interpret. For a ligand pathway, that may mean exporting the ligand alone; for another question, it may mean including multiple atom groups. The extension supports either approach.

To see the complete tutorial and sample-system instructions, read the Export atom trajectories along paths documentation.

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

Comments are closed.