doubt with frame count in input file of mmpbsa calculation

475 views
Skip to first unread message

Divpreet kaur

unread,
Jun 3, 2022, 2:40:11 AM6/3/22
to gmx_m...@googlegroups.com
Good Morning to all. 
I was trying to run mm pbsa calculation using gmx_mmpbsa and while i have generated the input file for the same. The default value for start frame= 1 and end frame = 9999999.
I would like to ask if it is for 1000 ns trajectory? Does that mean 1 frame=1 ps??

Please let me know. I will be thankful to you.

Regards
Divpreet kaur 


Virus-free. www.avast.com

Mario Ernesto

unread,
Jun 3, 2022, 4:44:32 AM6/3/22
to Divpreet kaur, gmx_MMPBSA
those are the default values but they can be changed... if you don't change them, then the calculation will be performed using all the frames from your trajectory... you can check how many frames your trajectory has with gmx check:

gmx check -f your_traj.xtc

from there you can decide how many frames you want to use for the calculation...

hope this helps!

--
You received this message because you are subscribed to the Google Groups "gmx_MMPBSA" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gmx_mmpbsa+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gmx_mmpbsa/CACJZwCkczsauR%3D21gKwFuWmTaQ1Ka%2BY205B5WaBy7%3DdNxVJUcw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
Message has been deleted

Divpreet kaur

unread,
Jul 1, 2022, 8:42:53 AM7/1/22
to gmx_MMPBSA
Hi!
I just noticed that my trajectory file has 10000 frames using this command. I have also attached a picture for your reference. 
However, when i am giving frames for calculation in mmpbsa.in (input file).
For 75ns to 100ns
Start frame will be: 7501
End frame will be 10000 or 10001    ???
please confirm this.
Also, even if I put the end frame as 11000...i am still able to calculate mmpbsa and its not showing any error. How is this possible if my file has only 10000 frames?

Please help me understand this.
I would be really thankful.
Regards
frames.jpg

Mario Ernesto

unread,
Jul 1, 2022, 10:26:11 AM7/1/22
to Divpreet kaur, gmx_MMPBSA
Of your start frame is 7501 and your endframe is 10001 the you will perform calculation for 3000 frames... If your endframe is higher than the actual number of frames, gmx_MMPBSA internaly will use as endframe the last frame of your trajectory... That why there is no error in the calculation... 

Mario Sergio Valdes

unread,
Jul 1, 2022, 1:22:37 PM7/1/22
to gmx_MMPBSA

The selection of the frame range is universal and does not require concern for time units. Like GROMACS and other programs, by default, the value of the variable defining the last frame is set arbitrarily, since if your trajectory contains less, then this value is reassigned internally. If you want to calculate the last 75 ns of your trajectory, then must define startframe = 2500 and may or may not define endframe = 10000. If you then want to use time units for the analysis, then define it in the gmx_MMPBSA_ana selection dialog. There, you can define from which time to start, since you can pass the last fragment of your trajectory and gmx_MMPBSA unknown the time in which it has started. You can also define the interval, which corresponds to the original time interval used in the simulation, not the one used in the calculation. Here is an example:
input_file
startframe = 2500
endframe = 99999999
interval = 1
# 7501 frames

Frame to time convertion in gmx_MMPBSA_ana
start = 25000
interval = 10
unit = ps

This will show on the x-axis 25000 ... 100000 ps

You can use the scale of ns to make it smaller
Frame to time conversion in gmx_MMPBSA_ana
start = 25
interval = 1
unit = ns
This will display on the x-axis 25 ... 100 ns
If you change the interval in the input file it would look like this
input_file
startframe = 2500
endframe = 9999999999
interval = 2
# 3751 frames
and will be displayed on the x-axis as 25000 ... 100000 ps or 25 ... 100 ns according to the scale you have selected. Note that the time range not changes, since the only change is how many frames you selected in this range.

Screenshot from 2022-07-01 12-20-49.png

HTH!
Mario S.
Reply all
Reply to author
Forward
0 new messages