How to performed gmx_mmpbsa after performed gromacs from CHARMM_GUI website

49 views
Skip to first unread message

陳冠宇

unread,
Nov 4, 2022, 6:35:08 AM11/4/22
to gmx_MMPBSA
Dear sir,
I prepared the files from CHARMM_GUI website for doing MD simulation. (Setting list, amber ff19sb force field, OPC water model, gaff2)
However, I do not know how to operate gmx_mmpbsa after MD simulation (I had successfully finished the production procedure of MD). It seems to have some differences different from previous or traditional operations. For example, the index.ndx file is not the same as the previous format.
I try to do gmx_mmpbsa, but I meet some problems as below.  What can I do to fix the error?

Looking forward to hearing from you soon.
Thank you.

Mark, Guan-Yu Chen

"[INFO   ] Normal Complex: Saving group 1_13 in _GMXMMPBSA_COM_index.ndx file as _GMXMMPBSA_COM.pdb
[ERROR  ] MMPBSA_Error /usr/local/gromacs202201/bin/gmx trjconv failed when querying analysis.xtc.
           Check the gmx_MMPBSA.log file to report the problem.
  File "/home/markchen/miniconda3/envs/gmxMMPBSA/bin/gmx_MMPBSA", line 8, in <module>
    sys.exit(gmxmmpbsa())
  File "/home/markchen/miniconda3/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/app.py", line 101, in gmxmmpbsa
    app.make_prmtops()
  File "/home/markchen/miniconda3/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/main.py", line 537, in make_prmtops
    self.FILES.mutant_receptor_prmtop, self.FILES.mutant_ligand_prmtop) = maketop.buildTopology()
  File "/home/markchen/miniconda3/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/make_top.py", line 116, in buildTopology
    self.gmx2pdb()
  File "/home/markchen/miniconda3/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/make_top.py", line 260, in gmx2pdb
    GMXMMPBSA_ERROR('%s failed when querying %s' % (' '.join(comprog), self.FILES.complex_trajs[0]))
  File "/home/markchen/miniconda3/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/exceptions.py", line 169, in __init__
    raise exc(msg + '\nCheck the gmx_MMPBSA.log file to report the problem.')
MMPBSA_Error: /usr/local/gromacs202201/bin/gmx trjconv failed when querying analysis.xtc
Check the gmx_MMPBSA.log file to report the problem.
Error occurred on rank 0.
Exiting. All files have been retained.
application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
"
gmx_MMPBSA.log

Mario Sergio Valdes

unread,
Nov 4, 2022, 11:08:01 AM11/4/22
to gmx_MMPBSA
You must follow the same procedure as always. You just need to make sure that you define the groups correctly. As far as I see you are defining groups 1 and 13, and that index.ndx does not have the same structure. Well, check your index.ndx (gmx make_ndx -f md.tpr -n index.ndx) and generate/locate the groups according to your system. You can see this example with an index.ndx generated by CHARMM-GUI (https://valdes-tresanco-ms.github.io/gmx_MMPBSA/dev/examples/Protein_ligand_CHARMMff/)

陳冠宇

unread,
Nov 5, 2022, 4:26:45 AM11/5/22
to Mario Sergio Valdes, gmx_MMPBSA
Dear sir, 
Thank you for replying.

These problems seem to be solved. Attached is the log file.
However, I would like to share with you how I do it and to know whether it is correct or not.

I try to re-generate a new index.ndx file by this command: gmx make_ndx -f step5_1.gro -o new_index.ndx.
This command line changes the old index.ndx obtained from CHARMM-GUI to the new one. The old one only contained group (SOLU), group 1 (SOLV), group2 (System).
After carrying on the command, the new index contained two groups. One is a protein (ID: 1), and the other is a ligand (ID: 13). 

Subsequently, I use the command line: gmx trjconv -s step5_1.tpr -f step5_1.xtc -o analysis.xtc -pbc mol -ur compact
to remove PBC and obtain a new xtc file.

Next, perform the gmx_mmpbsa:mpirun -np 8 gmx_MMPBSA MPI -O -i mmpbsa.in -cs step5_1.tpr -ci new_index.ndx -cg 1 13 -ct analysis.xtc -cp topol.top -o FINAL_RESULTS_MMPBSA.dat -do FINAL_DECOMP_MMPBSA.dat -eo FINAL_RESULTS_MM
PBSA.csv -deo FINAL_ENERGY_RESIDUE.csv -nogui

Looking forward to hearing from you soon
Thank you very much

Sincerely,

Mark, Guan-Yu Chen


感謝您
     
冠宇 敬上

***********************************
Mark, Guan-Yu Chen (陳冠宇) 
中國醫藥大學附設醫院 1JG1醫研部中醫藥研究發展中心
China Medicine Research and Development Center
China Medical University Hospital
Taiwan
Tel: +886-4-22053366 ext. 3316/5711
E-mail: markchen19822001(at)gmail.com 
E-mail: markchen19822001(at)yahoo.com.tw
 平安喜樂 ~ 福慧圓滿 ^^ 

注意:依據國家個人資料保護法規定,本信件及附加文件僅為傳遞於指定的收信人,且可能含有私人之專屬資料。如果您不是本通知的指定收信人,請立即自您的電腦系統刪除並通知本人,不得為任何之複製、使用或向第三人揭露,以免侵害他人權益,造成自身觸法,謝謝您的配合。
IMPORTANT NOTICE OF DISCLAIMER
The information in this e-mail and any attachments is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you are not an intended recipient, please delete the message and any attachments and notify the sender of misdelivery.
****************************************************************************************


Mario Sergio Valdes <mariosergi...@gmail.com> 於 2022年11月4日 週五 晚上11:08寫道:
--
You received this message because you are subscribed to a topic in the Google Groups "gmx_MMPBSA" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/gmx_mmpbsa/Qwe2ojLDIws/unsubscribe.
To unsubscribe from this group and all its topics, send an email to gmx_mmpbsa+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gmx_mmpbsa/8fbfa408-e904-4eac-83ad-223f910ab3b5n%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
gmx_MMPBSA.log

Mario Sergio Valdes

unread,
Nov 5, 2022, 11:16:05 AM11/5/22
to gmx_MMPBSA
Yes, it is perfectly fine. Generating a new index from the tpr is the most sensible option because all the molecules are already separated by groups.
The log file contains an error, you mistyped the command line. Note that gmx_MMPBSA_ana is an analysis tool, not an interface to run the calculations.
Mario S.

陳冠宇

unread,
Nov 5, 2022, 12:27:20 PM11/5/22
to Mario Sergio Valdes, gmx_MMPBSA
Dear Sir,
Thank you for your reply.

I have successfully started gmx_mmpbsa_ana interface and saw my short tested trajectory(1000ps) of MD job. However, now, I meet a new problem about lincs errors during MD running. I hope I can solve this problem.

Thank you for your assistance.

Sincerely,

MARK
Reply all
Reply to author
Forward
0 new messages