load_trajectory
Load GROMACS/DCD trajectories into PyMOL: read the structure file, then append frames as states. Ensure atom count and order match to avoid errors.
Instructions
Load a GROMACS/DCD trajectory: load the structure, then append frames as states.
Requires matching atom count/order (trjconv strip/reorder is the common pitfall).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop | No | Last frame to load (-1 = all). | |
| start | No | First frame (1-based) to load. | |
| interval | No | Load every Nth frame (subsample to bound RAM). | |
| object_name | No | Object name to create. | traj |
| structure_path | Yes | Topology/first-frame file (.gro/.pdb) matching the trajectory atoms. | |
| trajectory_path | Yes | Trajectory file (.xtc/.trr/.dcd) with the SAME atom set/order. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||