计算化学公社

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

[GROMACS] MCPB.py使用中“MCPB.py -i APOBECT2.in -s 1”报错

[复制链接 Copy URL]

8

帖子

0

威望

47

eV
积分
55

Level 2 能力者

本帖最后由 小老弟 于 2025-7-11 00:17 编辑

我在根据本帖(http://bbs.keinsci.com/thread-26531-1-1.html)学习金属蛋白体系构建,使用的蛋白为人APOBECT2蛋白(一种四聚体锌指蛋白),锌离子与其他残基作用如图。在进行“MCPB.py -i APOBECT2.in -s 1”步骤时,出现以下报错,请问是什么原因呢?该如何解决呢?
Residue 25-GLU
Residue 63-HIP
Residue 93-CYM
Residue 96-CYM
Residue 249-HIP
Residue 279-CYM
Residue 282-CYM
Residue 396-GLU
Residue 434-HIP
Residue 464-CYM
Residue 467-CYM
Residue 619-HIP
Residue 649-CYM
Residue 652-CYM
Residue 740-ZN
Residue 741-ZN
Residue 742-ZN
Residue 743-ZN
***The small model contains the following residues:
[25, 63, 93, 96, 249, 279, 282, 396, 434, 464, 467, 619, 649, 652, 740, 741, 742, 743]
***The large model contains the following residues:
[24, 25, 26, 62, 63, 64, 92, 93, 94, 95, 96, 97, 248, 249, 250, 278, 279, 280, 281, 282, 283, 395, 396, 397, 433, 434, 435, 463, 464, 465, 466, 467, 468, 618, 619, 620, 648, 649, 650, 651, 652, 653, 740, 741, 742, 743]
******************************************************************
*                                                                *
*=======================Building models==========================*
*                                                                *
******************************************************************
***Creating the small model...
It contains the residue 25-GLU as sidechain coordinated.
It contains the residue 63-HIP as sidechain coordinated.
It contains the residue 93-CYM as sidechain coordinated.
It contains the residue 96-CYM as sidechain coordinated.
It contains the residue 249-HIP as sidechain coordinated.
It contains the residue 279-CYM as sidechain coordinated.
It contains the residue 282-CYM as sidechain coordinated.
It contains the residue 396-GLU as sidechain coordinated.
It contains the residue 434-HIP as sidechain coordinated.
It contains the residue 464-CYM as sidechain coordinated.
It contains the residue 467-CYM as sidechain coordinated.
It contains the residue 619-HIP as sidechain coordinated.
It contains the residue 649-CYM as sidechain coordinated.
It contains the residue 652-CYM as sidechain coordinated.
It contains the residue 740-ZN as normal.
It contains the residue 741-ZN as normal.
It contains the residue 742-ZN as normal.
It contains the residue 743-ZN as normal.
Totally there are 158 atoms in the small model.
Totally there are 688 electrons in the small model.
***Creating the standard model...
It contains the residue 25-GLU as normal.
Traceback (most recent call last):
  File "/public7/zhangao/biosoft/ambertools/bin/MCPB.py", line 662, in <module>
    gene_model_files(orpdbf, ionids, addres, addbpairs, gname, ff_choice,
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        premol2fs, cutoff, watermodel, 2, largeopt, sqmopt, smchg, smspin,
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        addred, lgchg, lgspin)
        ^^^^^^^^^^^^^^^^^^^^^^
  File "/public0/zhangao/biosoft/ambertools/lib/python3.13/site-packages/pymsmt/mcpb/gene_model_files.py", line 1906, in gene_model_files
    build_standard_model(mol, reslist, cutoff, msresids, outf, ionids,
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                         bdedatms, addbpairs, libdict, autoattyp)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/public0/zhangao/biosoft/ambertools/lib/python3.13/site-packages/pymsmt/mcpb/gene_model_files.py", line 1471, in build_standard_model
    attype = libdict[resname + '-' + atname][0]
             ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'GLU-HB1'

202507102306579731..png (30.89 KB, 下载次数 Times of downloads: 96)

锌离子与残基作用图

锌离子与残基作用图

214

帖子

0

威望

889

eV
积分
1103

Level 4 (黑子)

2#
发表于 Post on 2025-7-11 09:07:26 | 只看该作者 Only view this author
KeyError: 'GLU-HB1'检查这个原子
另外不要用mcpb.py 这个脚本很难不报错跑通
建议考虑sobtop和其他工具建模后靠leap手搓进top

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

GMT+8, 2025-8-13 22:25 , Processed in 0.164784 second(s), 25 queries , Gzip On.

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