Skip to content

Pathlines: show a path of the center of mass of an atomic system

In this tutorial, we will show you how to create pathlines thanks to the Pathlines visual model. Pathlines are visual models which represent the trajectory of the center of mass of the selected atoms along selected trajecotories (paths). Pathlines may be used to understand the motion of a group of atoms (or a single atom) along a path/trajectory.

Before starting the tutorial, please, download this archive: Pathlines (~13MB). It contains a file (1pv7_ligand_complex_with_paths.sam**`) from the Ligand Path Finder tutorial with already computed paths.

Tutorial#

Open the file 1pv7_ligand_complex_with_paths.sam.

To create pathlines, select in the Document view a group of atoms for which you want to visualize the motion of their center of mass and select one or more Paths (to select more than one node, use the Ctrl / Cmd key). If no Path is chosen, all the Paths from the active Document will be used. If no atoms are selected, all atoms from the active Document will be used.

Select the ligand named TDG and one of the Paths. Go to Visualization menu > Visual model > More... or use the Ctrl+Shift+V / Cmd+Shift+V shortcut to create a visual model. In the pop-up window, choose "Pathline of the center of mass" and press Ok.

Add visual model

The new pathline will show how the center of mass of the TDG ligand moves alongside the chosen Path.

Pathlines - first frame

You can do the same for the second Path.

Pathlines - last frame

You can modify the thickness and color of a pathline in the Inspector by selecting a pathline.

Pathline attributes in the Inspector

Note

If you delete a Path, the corresponding pathline will be deleted too; if you delete some of the atoms for which a pathline was created, the pathline will be modified.

Now that you know how to visualize paths, you might want to use the P-NEB app to optimize them (see the tutorial on how to optimize transition paths with the Parallel Nudged Elastic Band (P-NEB) method).

If you have any questions or feedback, please use the SAMSON forum.