计算化学公社

 找回密码 Forget password
 注册 Register
Views: 956|回复 Reply: 5
打印 Print 上一主题 Last thread 下一主题 Next thread

[Amber] MMPBSA计算含Mg2+体系时程序错误

[复制链接 Copy URL]

9

帖子

0

威望

197

eV
积分
206

Level 3 能力者

跳转到指定楼层 Go to specific reply
楼主
各位老师,我在计算一个含有双离子的蛋白体系的MMPBSA时使用的命令为
MMPBSA.py -O -i decom.in -o decom.dat -sp macro.top -cp ../complex.top -rp ../protein.top -lp ../MOL.top -y macro_prod1.nc>decom.log
遇到了如下报错信息:
  File "/data/amber/amber20/bin/MMPBSA.py", line 100, in <module>
    app.run_mmpbsa()
  File "/data/amber/amber20/lib/python3.7/site-packages/MMPBSA_mods/main.py", line 218, in run_mmpbsa
    self.calc_list.run(rank, self.stdout)
  File "/data/amber/amber20/lib/python3.7/site-packages/MMPBSA_mods/calculation.py", line 82, in run
    calc.run(rank, stdout=stdout, stderr=stderr)
  File "/data/amber/amber20/lib/python3.7/site-packages/MMPBSA_mods/calculation.py", line 157, in run
    self.prmtop))
CalcError: /data/amber/amber20/bin/sander failed with prmtop ../complex.top!


打开_MMPBSA_complex.pdb和_MMPBSA_protein.pdb过程文件,发现坐标中只含有Zn2+,没有Mg2+,而删除Mg2+之后,MMPBSA就可以正常运行了
请问这可能是由什么原因导致的呢?
是否与Mg2+的处理相关呢

btw,体系内还存在一个小分子配体,部分坐标如下:

complex.pdb
...
ATOM   2767  CD2 LEU   916      10.304  22.799  44.192 -0.41 63.00           C
ATOM   2768  OXT LEU   916       7.268  22.741  43.804 -0.81 99.00           O1-
TER
HETATM 2769 ZN    ZN   999     -19.424  18.525  18.418  1.00 18.16          Zn2+
TER
HETATM 2770 MG    MG  1000     -16.424  19.268  14.128  1.00 14.15          Mg2+
TER
ATOM      1  C1  MOL     1     -16.353  23.002  23.100  1.00  0.00
ATOM      2  C2  MOL     1     -16.485  24.437  22.560  1.00  0.00

...

protein.pdb
...
ATOM   2768  OXT LEU   916       7.268  22.741  43.804 -0.81 99.00           O1-
TER
HETATM 2769 ZN    ZN   998     -19.424  18.525  18.418  1.00 18.16          Zn2+
HETATM 2770 MG    MG   999     -16.424  19.268  14.128  1.00 14.15          Mg2+
END

...

9

帖子

0

威望

197

eV
积分
206

Level 3 能力者

6#
 楼主 Author| 发表于 Post on 2023-9-15 10:28:36 | 只看该作者 Only view this author
问题解决:
在检查_MMPBSA_normal_traj_cpptraj.out文件时,发现如下语句:
18: [strip :WAT,Cl*,CIO,Cs+,IB,K*,Li+,MG*,Na+,Rb+,CS,RB,NA,F,CL]
        Stripping 44351 atoms.
        Stripped topology: 5525 atoms, 340 res, box: Truncated octahedron, 3 mol
MMPBSA.py在计算的时候自动移除了MG*

我在输入文件中加入strip_mask = ":WAT,Cl*,CIO,Cs+,IB,K*,Li+,Na+,Rb+,CS,RB,NA,F,CL",剔除了MG*,MMPBSA就能正常运行了。

9

帖子

0

威望

197

eV
积分
206

Level 3 能力者

5#
 楼主 Author| 发表于 Post on 2023-9-15 10:23:34 | 只看该作者 Only view this author
rpestana94 发表于 2023-9-15 07:39
Try adding in the input file the parameter strip_mask, by default MMPBSA strip all ions but if you h ...

I checked all the _MMPBSA_tmpfile yesterday and as you said, MMPBSA.py will remove Mg2+ by default.Now the problem has been solved, thank you for your reply

206

帖子

0

威望

2251

eV
积分
2457

Level 5 (御坂)

4#
发表于 Post on 2023-9-15 07:39:51 | 只看该作者 Only view this author
Try adding in the input file the parameter strip_mask, by default MMPBSA strip all ions but if you have some cofactors they will be also strip, so you have a topology missmatch, with strip_mask you can define what do you want to strip and should fix the problem, look in the amber manual for more info

9

帖子

0

威望

197

eV
积分
206

Level 3 能力者

3#
 楼主 Author| 发表于 Post on 2023-9-14 20:09:32 | 只看该作者 Only view this author
sobereva 发表于 2023-9-14 18:04
不要自己在标题里手写[求助]这种标签,http://bbs.keinsci.com/thread-9348-1-1.html里明确说了。这次给你 ...

好的,下次注意

6万

帖子

99

威望

6万

eV
积分
125169

管理员

公社社长

2#
发表于 Post on 2023-9-14 18:04:19 | 只看该作者 Only view this author
不要自己在标题里手写[求助]这种标签,http://bbs.keinsci.com/thread-9348-1-1.html里明确说了。这次给你改了,以后注意
北京科音自然科学研究中心http://www.keinsci.com)致力于计算化学的发展和传播,长期开办极高质量的各种计算化学类培训:初级量子化学培训班中级量子化学培训班高级量子化学培训班量子化学波函数分析与Multiwfn程序培训班分子动力学与GROMACS培训班CP2K第一性原理计算培训班,内容介绍以及往届资料购买请点击相应链接查看。这些培训是计算化学从零快速入门以及进一步全面系统性提升研究水平的高速路!培训各种常见问题见《北京科音办的培训班FAQ》
欢迎加入北京科音微信公众号获取北京科音培训的最新消息,并避免错过网上有价值的计算化学文章!
欢迎加入人气极高、专业性特别强的理论与计算化学综合交流群思想家公社QQ群(群号见此链接),合计达一万多人。北京科音培训班的学员在群中可申请VIP头衔,提问将得到群主Sobereva的最优先解答。
思想家公社的门口Blog:http://sobereva.com(发布大量原创计算化学相关博文)
Multiwfn主页:http://sobereva.com/multiwfn(十分强大、极为流行的量子化学波函数分析程序)
Google Scholar:https://scholar.google.com/citations?user=tiKE0qkAAAAJ
ResearchGate:https://www.researchgate.net/profile/Tian_Lu

手机版 Mobile version|北京科音自然科学研究中心 Beijing Kein Research Center for Natural Sciences|京公网安备 11010502035419号|计算化学公社 — 北京科音旗下高水平计算化学交流论坛 ( 京ICP备14038949号-1 )|网站地图

GMT+8, 2026-2-25 06:37 , Processed in 0.158632 second(s), 21 queries , Gzip On.

快速回复 返回顶部 返回列表 Return to list