Loading and checking parameter files for compatibility...
cpptraj found! Using /home/wanghao/workhome/MD/amber18/bin/cpptraj
mmpbsa_py_energy found! Using /home/wanghao/workhome/MD/amber18/bin/mmpbsa_py_energy
Preparing trajectories for simulation...
10 frames were processed by cpptraj for use in calculation.
Running calculations on normal system...
Beginning GB calculations with /home/wanghao/workhome/MD/amber18/bin/mmpbsa_py_energy
calculating complex contribution...
Found an invalid periodicity in the prmtop file: 1715
File "/home/wanghao/workhome/MD/amber18/bin/MMPBSA.py", line 100, in <module>
app.run_mmpbsa()
File "/home/wanghao/workhome/MD/amber18/lib/python3.7/site-packages/MMPBSA_mods/main.py", line 218, in run_mmpbsa
self.calc_list.run(rank, self.stdout)
File "/home/wanghao/workhome/MD/amber18/lib/python3.7/site-packages/MMPBSA_mods/calculation.py", line 82, in run
calc.run(rank, stdout=stdout, stderr=stderr)
File "/home/wanghao/workhome/MD/amber18/lib/python3.7/site-packages/MMPBSA_mods/calculation.py", line 157, in run
self.prmtop))
CalcError: /home/wanghao/workhome/MD/amber18/bin/mmpbsa_py_energy failed with prmtop complex.prmtop!
Exiting. All files have been retained.
请问解决了吗?我也遇到了同样的问题,能咨询一下吗?(我是Amber生成的蛋白和小分子的拓扑文件,leap和ante-mmpbsa生成拓扑文件都试过了,仍旧是上述报错)作者Author: wxx18879173572 时间: 2023-4-16 11:44
好像是top中有原子不连续,所以top中由amber tools20中cpptraj生成的坐标会认为和mmpbsa生成的原子数不匹配。
When this structure is processed with the cpptraj (v4.25.6) version of AmberTools20, it inserts TERs after them and interprets them as independent residuals. Therefore, there is a mismatch between the number of atoms in the topology (correctly generated by gmx_MMPBSA) and the coordinates (generated with cpptraj internally during the process). However, with the cpptraj version (v5.1.0) of AmberTools21, it does not happen, apparently because they corrected the TER insertion in atoms distant from their residues, probably when there is PBC. (the reason why we initially couldn't reproduce your error)
So the solutions are as follows:
You can upgrade AmberTools and drag structural problems from your system or
You use a fully consistent system structure, with which either AmberTools20 or 21 will work correctly.