gmx_MMPBSA ValueError while running

33 views
Skip to first unread message

SREESHMARAJ K

unread,
Mar 16, 2023, 9:35:57 AM3/16/23
to gmx_MMPBSA
Hello ,
I am new to the gmx_MMPBSA calculation. I had completed the protein-ligand MD simulation successfully using GROMACS 22.3 version, after that I wanted to calculate thermodynamic parameters such as free energy of binding for the ligand using MM-PBSA. But I am facing some issues while running gmx_MMPBSA, here am pasting the commands along with the error message also attaching the screenshot, kindly find the attachment. could you please help me to fix this issue.

i tried the execution with this commands:

 gmx_MMPBSA -O -i mmpbsa.in -cs md_0_50.tpr -ci index.ndx -cg 1 13 -ct md_0_50_fit.xtc -cp topol.top

ERROR:

hwloc/linux: Ignoring PCI device with non-16bit domain.
Pass --enable-32bits-pci-domain to configure to support such devices
(warning: it would break the library ABI, don't enable unless really needed).
[INFO   ] Starting gmx_MMPBSA v1.6.0
[INFO   ] Command-line
  gmx_MMPBSA -O -i mmpbsa.in -cs md_0_10.tpr -ci index.ndx -cg 1 13 -ct md_0_10_fit.xtc -cp topol.top

[INFO   ] Checking mmpbsa.in input file...
[INFO   ] Checking mmpbsa.in input file...Done.

[INFO   ] Checking external programs...
[INFO   ] cpptraj found! Using /home/ibsdshl/anaconda3/envs/gmxMMPBSA/bin/cpptraj
[INFO   ] tleap found! Using /home/ibsdshl/anaconda3/envs/gmxMMPBSA/bin/tleap
[INFO   ] parmchk2 found! Using /home/ibsdshl/anaconda3/envs/gmxMMPBSA/bin/parmchk2
[INFO   ] sander found! Using /home/ibsdshl/anaconda3/envs/gmxMMPBSA/bin/sander
[INFO   ] Using GROMACS version > 5.x.x!
[INFO   ] gmx found! Using /usr/bin/gmx
[INFO   ] Checking external programs...Done.

[INFO   ] Building AMBER topologies from GROMACS files...
[INFO   ] Get PDB files from GROMACS structures files...
[INFO   ] Making gmx_MMPBSA index for complex...
[INFO   ] Normal Complex: Saving group Protein_ging (1_13) in _GMXMMPBSA_COM_index.ndx file as _GMXMMPBSA_COM.pdb
[INFO   ] No receptor structure file was defined. Using ST approach...
[INFO   ] Using receptor structure from complex to generate AMBER topology
[INFO   ] Normal Receptor: Saving group Protein (1) in _GMXMMPBSA_COM_index.ndx file as _GMXMMPBSA_REC.pdb
[INFO   ] No ligand structure file was defined. Using ST approach...
[INFO   ] Using ligand structure from complex to generate AMBER topology
[INFO   ] Normal Ligand: Saving group ging (13) in _GMXMMPBSA_COM_index.ndx file as _GMXMMPBSA_LIG.pdb
[INFO   ] Checking the structures consistency...
[INFO   ]
[INFO   ] Using topology conversion. Setting radiopt = 0...
[INFO   ] Building Normal Complex Amber topology...
  File "/home/ibsdshl/anaconda3/envs/gmxMMPBSA/bin/gmx_MMPBSA", line 8, in <module>
    sys.exit(gmxmmpbsa())
  File "/home/ibsdshl/anaconda3/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/app.py", line 98, in gmxmmpbsa
    app.make_prmtops()
  File "/home/ibsdshl/anaconda3/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/main.py", line 689, in make_prmtops
    self.FILES.mutant_receptor_prmtop, self.FILES.mutant_ligand_prmtop) = maketop.buildTopology()
  File "/home/ibsdshl/anaconda3/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/make_top.py", line 125, in buildTopology
    tops = self.gmxtop2prmtop()
  File "/home/ibsdshl/anaconda3/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/make_top.py", line 534, in gmxtop2prmtop
    com_top = self.cleantop(self.FILES.complex_top, self.indexes['COM']['COM'])
  File "/home/ibsdshl/anaconda3/envs/gmxMMPBSA/lib/python3.9/site-packages/GMXMMPBSA/make_top.py", line 821, in cleantop
    rtemp_top = parmed.gromacs.GromacsTopologyFile(ttp_file.as_posix())
  File "/home/ibsdshl/anaconda3/envs/gmxMMPBSA/lib/python3.9/site-packages/parmed/gromacs/gromacstop.py", line 251, in __init__
    self.read(fname, defines, parametrize)
  File "/home/ibsdshl/anaconda3/envs/gmxMMPBSA/lib/python3.9/site-packages/parmed/gromacs/gromacstop.py", line 385, in read
    sig, eps = (float(x) for x in words[3:5])
ValueError: not enough values to unpack (expected 2, got 0)
Exiting. All files have been retained.
error_gmx_MMPBSA.png

Mario Sergio Valdes

unread,
Mar 16, 2023, 1:09:19 PM3/16/23
to gmx_MMPBSA
It seems the topology has a problem. Could you send me the files to check them (*.top + *.itp + any ff folder)

Mario Sergio Valdes

unread,
Mar 22, 2023, 11:58:33 AM3/22/23
to gmx_MMPBSA
The problem was resolved through emails with the user. In short, it is a topology format problem
Reply all
Reply to author
Forward
0 new messages