计算化学公社

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

[Amber] 求助,MCPB.py第一步出现问题

[复制链接 Copy URL]

62

帖子

0

威望

815

eV
积分
877

Level 4 (黑子)

跳转到指定楼层 Go to specific reply
楼主
各位老师好,我在用MCPB.py程序进行第一步操作(生成small和large model)的时候出现如下报错:
***Creating the small model...
It contains the residue 155-HID as sidechain coordinated.
It contains the residue 157-ASP as sidechain coordinated.
It contains the residue 246-HID as sidechain coordinated.
It contains the residue 274-CU as normal.
It contains the residue 275-SUB as normal.
Totally there are 67 atoms in the small model.
Traceback (most recent call last):
  File "/public/software/apps/amber20cpu/bin/MCPB.py", line 643, in <module>
    gene_model_files(orpdbf, ionids, addres, addbpairs, gname, ff_choice,
  File "/public/software/apps/amber20cpu/lib/python3.8/site-packages/pymsmt/mcpb/gene_model_files.py", line 1902, in gene_model_files
    build_small_model(mol, reslist, ionids, cutoff, smresids, smresace, smresnme,
  File "/public/software/apps/amber20cpu/lib/python3.8/site-packages/pymsmt/mcpb/gene_model_files.py", line 1380, in build_small_model
    AtNum = Atnum[gatm.element]
KeyError: '1'

我相应的in文件是:
software_version  g16
original_pdb 3w21-sub.pdb
group_name 3w21_SUB
cut_off  2.8
ion_ids  4236
ion_mol2files  CU.mol2
naa_mol2files SUB.mol2
frcmod_files SUB.frcmod
large_opt 1

我的目的是想把SUB这个非标准残基也加入到small model中进行计算,但一直报错,有老师遇到过这样的错误嘛?

67

帖子

3

威望

1550

eV
积分
1677

Level 5 (御坂)

2#
发表于 Post on 2023-4-19 15:55:27 | 只看该作者 Only view this author
看报错,可能是原子名有问题,建议检查一下小分子的命名
提示:非标准残基的mol2文件名应该与其在 PDB 文件中的残基名称相同(字母和大写),后缀为“.mol2”以用于 MCPB.py建模

62

帖子

0

威望

815

eV
积分
877

Level 4 (黑子)

3#
 楼主 Author| 发表于 Post on 2023-4-22 13:55:27 | 只看该作者 Only view this author
casea 发表于 2023-4-19 15:55
看报错,可能是原子名有问题,建议检查一下小分子的命名

谢谢,是原子序号问题,已解决!

14

帖子

0

威望

277

eV
积分
291

Level 3 能力者

4#
发表于 Post on 2023-12-31 20:17:12 | 只看该作者 Only view this author
陈丢丢 发表于 2023-4-22 13:55
谢谢,是原子序号问题,已解决!

你好 我也出了和你一样的错误 请问一下 你所说的原子序号是指配体mol2文件中的原子序号改为总pdb文件中对应的序号吗? 谢谢啦

3

帖子

0

威望

9

eV
积分
12

Level 1 能力者

5#
发表于 Post on 2024-1-6 13:05:11 | 只看该作者 Only view this author
请问您具体是哪里出错了?我也是报错KeyError: '1'

3

帖子

0

威望

9

eV
积分
12

Level 1 能力者

6#
发表于 Post on 2024-1-6 13:16:42 | 只看该作者 Only view this author
1009836241 发表于 2023-12-31 20:17
你好 我也出了和你一样的错误 请问一下 你所说的原子序号是指配体mol2文件中的原子序号改为总pdb文件中对 ...

老哥解决了吗?

本版积分规则 Credits rule

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

GMT+8, 2026-2-23 05:42 , Processed in 0.292258 second(s), 26 queries , Gzip On.

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