计算化学公社

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

[Amber] mmpbsa.py计算结合自由能时报错问题寻求解答

[复制链接 Copy URL]

10

帖子

0

威望

127

eV
积分
137

Level 2 能力者

我在用mmpbsa.py计算蛋白和小分子的结合自由能时,gb算完之后,pb报错了,报错信息如下:
File "/share/home/user/apps/amber/amber20/lib/python3.9/site-packages/MMPBSA_mods/calculation.py", line 428, in run
    error_list = [s.strip() for s in out.split('\n')
TypeError: a bytes-like object is required, not 'str'

Fatal Error!
All files have been retained for your error investigation:
You should begin by examining the output files of the first failed calculation.
Consult the "Temporary Files" subsection of the MMPBSA.py chapter in the
manual for file naming conventions.
我的gb部分已经算完了,所以我觉得我的三个prmtop文件应该没有问题,我实在不知道问题出在哪里导致计算报错,
我自己尝试了很多方法,都没有解决我的问题,看了以前的论坛帖子,大家也都没有遇到类似的问题,有没有哪位老师能够帮我解答一下,谢谢

206

帖子

0

威望

2245

eV
积分
2451

Level 5 (御坂)

2#
发表于 Post on 2022-8-9 21:17:34 | 只看该作者 Only view this author
Quite strange behaviour considering that gb calculation run without any kind of problem, maybe you can try generating the files again or re install  

10

帖子

0

威望

127

eV
积分
137

Level 2 能力者

3#
 楼主 Author| 发表于 Post on 2022-8-11 12:06:39 | 只看该作者 Only view this author
rpestana94 发表于 2022-8-9 21:17
Quite strange behaviour considering that gb calculation run without any kind of problem, maybe you c ...

I found the solution to this problem, because I have Fe atom in my protein, therefore I need to use radiopt=0 pb calculation parameter in my input file.

206

帖子

0

威望

2245

eV
积分
2451

Level 5 (御坂)

4#
发表于 Post on 2022-8-11 21:59:28 | 只看该作者 Only view this author
Dongxiao 发表于 2022-8-10 23:06
I found the solution to this problem, because I have Fe atom in my protein, therefore I need to us ...

Nice, I will have that in mind if I ever had that problem

本版积分规则 Credits rule

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

GMT+8, 2025-8-16 13:09 , Processed in 0.173380 second(s), 20 queries , Gzip On.

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