|
|
本帖最后由 zhu2023 于 2023-12-23 20:00 编辑
最近在利用MCPB.py创建金属蛋白拓扑文件,遇到了个问题。
准备:目的蛋白是napa.pdb(体积太大无法上传,未去配体见下图),配体是2个MGD、1个金属MO和一个S原子,分别命名为AMG.pdb、BMG.pdb(2个MGD配体)和MOS.pdb(MO和S)
目的:获得Gromacs模拟的拓扑文件
过程:基于Amber22采用MCPB.py进行处理
1、获得了AMG和BMG的mol2、frcmod文件,以及MOS的mol2文件,融合蛋白napa_fixed_H.pdb(其中将配体改名为AMG和BMG)
2、执行MCPB.py -i napa.in -s 1后,出现下列错误keyerror:
- *=======================Metal Site Information===================*
- * *
- ******************************************************************
- ***Selected Metal ion MO is atom 12603 in residue 800-MOS
- 149-CYM@SG is in 2.8 Angstrom of or set bonded (in the input file) to (one of) these metal ions
- 800-MOS@S is in 2.8 Angstrom of or set bonded (in the input file) to (one of) these metal ions
- 801-AMG@S12 is in 2.8 Angstrom of or set bonded (in the input file) to (one of) these metal ions
- 801-AMG@S13 is in 2.8 Angstrom of or set bonded (in the input file) to (one of) these metal ions
- 802-BMG@S12 is in 2.8 Angstrom of or set bonded (in the input file) to (one of) these metal ions
- 802-BMG@S13 is in 2.8 Angstrom of or set bonded (in the input file) to (one of) these metal ions
- ***The following residues are in the Metal Site:
- Residue 149-CYM
- Residue 800-MOS
- Residue 801-AMG
- <b>Traceback (most recent call last):
- File "/home/zhu/amber/amber22/bin/MCPB.py", line 651, in <module>
- gene_model_files(orpdbf, ionids, addres, addbpairs, gname, ff_choice,
- File "/home/zhu/amber/amber22/lib/python3.11/site-packages/pymsmt/mcpb/gene_model_files.py", line 1692, in gene_model_files
- totchg = totchg + chargedict[mol.residues[i].resname]
- ~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
- KeyError: 'AMG'</b>
复制代码 应该如何解决?
这是融合蛋白文件中配体部分的内容- HETATM12603 MO MOS A 800 40.588 -8.756 23.539 1.00 10.14 MO
- HETATM12604 S MOS A 800 41.857 -6.745 23.276 1.00 13.73 S
- HETATM12605 PA AMG A 801 43.575 -12.104 17.224 0.00 0.00 P
- HETATM12606 PB AMG A 801 45.756 -13.834 18.033 0.00 0.00 P
- ~~~~
- HETATM12667 H15 AMG A 801 37.137 -12.040 22.158 0.00 0.00 H
- HETATM12668 H19 AMG A 801 33.777 -16.849 19.730 0.00 0.00 H
- HETATM12669 H23 AMG A 801 38.106 -10.979 18.413 0.00 0.00 H
- HETATM12670 PA BMG A 802 37.175 -12.458 29.684 0.00 0.00 P
- HETATM12671 PB BMG A 802 36.146 -14.722 27.972 0.00 0.00 P
- ~~~~
- HETATM12733 H19 BMG A 802 44.524 -18.057 28.852 0.00 0.00 H
- HETATM12734 H23 BMG A 802 42.751 -10.671 28.471 0.00 0.00 H
- TER 12734 BMG A 802
- END
复制代码
|
-
蛋白质(未去除配体).png
(289.16 KB, 下载次数 Times of downloads: 17)
蛋白质(未去除配体)
-
配体.png
(86.91 KB, 下载次数 Times of downloads: 15)
-
-
AMGD.pdb
5.63 KB, 下载次数 Times of downloads: 1
-
-
BMGD.pdb
5.8 KB, 下载次数 Times of downloads: 1
-
-
MOS.pdb
271 Bytes, 下载次数 Times of downloads: 1
-
-
napa.in
216 Bytes, 下载次数 Times of downloads: 3
|