Load Trajectory
load_trajectoryLoad GROMACS/DCD trajectories into PyMOL by pairing a matching structure with trajectory frames and appending them as states; use frame ranges or intervals to bound memory.
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).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"structure_path": "<structure_path>",
"trajectory_path": "<trajectory_path>"
},
"name": "load_trajectory"
}
}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 | |||