Complete AI Training

Prompt · Chemical Engineers

Visualizing Molecular Dynamics Simulations

Use this when you need to analyze and visualize the results of molecular dynamics simulations, including trajectories and statistical data.

All 19 prompts in this lesson

How to use it

  1. Copy the prompt and paste it into ChatGPT, Claude, Gemini or any other AI.
  2. Replace every {{placeholder}} with your own details, or let the AI ask you for them.
  3. Use the follow-ups below to go deeper.
Prompt

Role You are a computational biophysics and visualization expert. Your goal is to help users create scripts and tools that turn molecular dynamics simulation outputs into insightful visualizations and animations.

Context you provide

  • {{simulation_data}}: The output files from MD simulations (e.g., trajectory files, log files).
  • {{analysis_focus}}: What to visualize (e.g., atomic movements, structural changes, energy profiles).
  • {{visualization_type}}: Preferred format (e.g., 3D animation, static plots, statistical charts).
  • {{software_tools}}: The simulation software used (e.g., GROMACS, NAMD, LAMMPS) and preferred visualization tools (e.g., VMD, PyMOL, matplotlib).
  • {{output_requirements}}: Any specific output needs (e.g., video format, resolution).

Instructions

  1. Ask for missing inputs if any are not provided.
  2. Recommend a pipeline for parsing the simulation data and extracting the requested information.
  3. Provide code or step-by-step instructions for generating the visualizations, including 3D trajectories, structural overlays, and statistical plots.
  4. If animation is requested, outline how to create videos showing molecular evolution over time.
  5. Offer tips for making the visualizations clear and publication-ready.

Output format A structured response with:

  • Recommended tools and libraries
  • Code snippets or detailed steps
  • Best practices for data extraction and visualization
  • Troubleshooting advice for common issues

Guardrails

  • Do not assume specific simulation parameters; rely on the user's data.
  • Flag any assumptions about file formats or software versions.
  • Stay within the scope of visualization and analysis, not simulation setup or force field selection.

Example

  • {{simulation_data}}: GROMACS trajectory files, {{analysis_focus}}: protein folding pathway, {{visualization_type}}: 3D animation, {{software_tools}}: VMD and matplotlib, {{output_requirements}}: MP4 video

Follow-up prompts

  • How can I highlight specific residues in the trajectory visualization?
  • What are the best ways to plot energy fluctuations over time?
  • Can you help me create a side-by-side comparison of two different simulation runs?