计算化学公社

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

[Amber] 求助MCPB.py计算RESP的时候报错

[复制链接 Copy URL]

44

帖子

0

威望

482

eV
积分
526

Level 4 (黑子)

请问各位老师,我在计算MCPB.py计算RESP的时候,出现报错:=========================Checking models==========================
***Check the large model...
Good. The charges and atom numbers are match for the large model.
Good. There are 100 atoms in the large model.
***Check the standard model...
Traceback (most recent call last):
  File "/public/software/amber20/amber20/bin/MCPB.py", line 685, in <module>
    premol2fs, mcresname, 1, chgfix_resids, g0x, lgchg)
  File "/public/software/amber20/amber20/lib/python2.7/site-packages/pymsmt/mcpb/resp_fitting.py", line 521, in resp_fitting
    raise pymsmtError('Error: the charges and atom numbers are mismatch '
pymsmt.exp.pymsmtError: Error: the charges and atom numbers are mismatch for the standard model!

这是什么原因呢?
谢谢!

138

帖子

0

威望

445

eV
积分
583

Level 4 (黑子)

2#
发表于 Post on 2020-9-2 21:00:35 | 只看该作者 Only view this author
你的电荷和原子数目不匹配,最后一行结尾有报错信息
上海交通大学计算化学与分子生物信息学实验室
Shanghai JiaoTong University
Computational Chemistry and Molecular Bioinformatics Laboratory

CCMBI of SJTU
点击访问个人主页

67

帖子

0

威望

2067

eV
积分
2134

Level 5 (御坂)

3#
发表于 Post on 2020-9-4 21:19:25 | 只看该作者 Only view this author
the charges and atom numbers are mismatch for the standard model

212

帖子

0

威望

887

eV
积分
1099

Level 4 (黑子)

4#
发表于 Post on 2022-4-27 17:48:39 | 只看该作者 Only view this author
您好 我遇到了同样的报错 你解决了吗之前的

10

帖子

0

威望

1861

eV
积分
1871

Level 5 (御坂)

5#
发表于 Post on 2023-3-21 11:03:14 | 只看该作者 Only view this author
在$AMBER/lib/python3.9/site-packages/pymsmt/mcpb/resp_fitting.py的“if len(stlist) != len(stdict):”下面加“print(str(len(stlist)));print(stlist);print(str(len(stdict)));print(stdict)"检查stlist和stdict,如果pdb里原子名重复会令stdict的与stlist长度不一致,此时需要修改pdb中重复的原子名字

12

帖子

0

威望

91

eV
积分
103

Level 2 能力者

6#
发表于 Post on 2025-4-1 20:02:29 | 只看该作者 Only view this author
你好,我也遇到同样的问题,请问你是怎么解决的呢

1

帖子

0

威望

133

eV
积分
134

Level 2 能力者

7#
发表于 Post on 2025-7-10 11:09:22 | 只看该作者 Only view this author
zxczxc 发表于 2025-4-1 20:02
你好,我也遇到同样的问题,请问你是怎么解决的呢

检查输入文件中需要单独保存为pdb的结构(如每个金属离子、与金属配位的小分子等)的氨基酸编号是否与其他部分的氨基酸编号重复,或者一个氨基酸编号中是否有重复的原子名称。

6

帖子

0

威望

67

eV
积分
73

Level 2 能力者

8#
发表于 Post on 2025-7-10 18:47:07 | 只看该作者 Only view this author
很有可能是pdb文件和fingerprint文件中,小分子配体或者残基里有重复的原子,例如小分子的C没有编序号,手动改为C,C1,C2等即可。

本版积分规则 Credits rule

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

GMT+8, 2025-8-12 20:13 , Processed in 1.514156 second(s), 20 queries , Gzip On.

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