Measure Interatomic Distances from BOMD trajectories
Distance Measurement for One Trajectory
- Go to the directory containing the “trajectory_anneal.xyz” file.
- If measure distances between atom C18 and N12, O24 and H26, N13 and H28, run command
~/mopac/traj2measure cur C18-N12 O24-H26 N13-H28
. Each atomic pair is separated with a whitespace and two atoms are separated with a hyphen (“-“). - Edit the time, partition and account in “submit_measure.sh” if needed.
- Submit the submission file:
sbatch submit_measure.sh
- You should be able to see your output file
measure.log
in one minute!
Distance Measurement for Multiple Trajectories
- If multiple direct sub-directories containing “trajectory_anneal.xyz” files, go to the parent directory of these sub-directories.
- To measure distances between atom C18 and N12, O24 and H26, N13 and H28, run command
~/mopac/traj2measure sub C18-N12 O24-H26 N13-H28
. - Remaining steps are same with the above section.