计算化学公社

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

[Sobtop] 生成的配位金属复合物无法使用parmed转换

[复制链接 Copy URL]

38

帖子

0

威望

345

eV
积分
383

Level 3 能力者

跳转到指定楼层 Go to specific reply
楼主
  各位老师,我利用Sobtop生成的金属配位复合物无法使用parmed转换,报错如下:

/home/xqx/software/mamba/envs/ztop/lib/python3.12/site-packages/parmed/gromacs/gromacstop.py:1124: GromacsWarning: 58 1-4 pairs were missing from the [ pairs ] section and were set to zero; make sure you know what you're doing!
  warnings.warn('%i 1-4 pairs were missing from the [ pairs ] '
Traceback (most recent call last):
  File "/home/xqx/Documents/sudafangshe/ga/sobtop/ga/parm.py", line 3, in <module>
    gmx_top = pmd.load_file('dotatoc_small_opt.top', xyz='dotatoc_small_opt.gro')
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/xqx/software/mamba/envs/ztop/lib/python3.12/site-packages/parmed/formats/registry.py", line 211, in load_file
    return cls(filename, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/xqx/software/mamba/envs/ztop/lib/python3.12/site-packages/parmed/gromacs/gromacstop.py", line 350, in __init__
    f = load_file(xyz, skip_bonds=True)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/xqx/software/mamba/envs/ztop/lib/python3.12/site-packages/parmed/formats/registry.py", line 194, in load_file
    return cls.parse(filename, *args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/xqx/software/mamba/envs/ztop/lib/python3.12/site-packages/parmed/gromacs/gromacsgro.py", line 177, in parse
    leng, ang = box_vectors_to_lengths_and_angles(
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/xqx/software/mamba/envs/ztop/lib/python3.12/site-packages/parmed/geometry.py", line 131, in box_vectors_to_lengths_and_angles
    alpha = acos((b[0]*c[0] + b[1]*c[1] + b[2]*c[2]) / (lb*lc))
                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~
ZeroDivisionError: float division by zero



生成流程参考了使用Sobtop超级方便地创建二茂铁的GROMACS的拓扑文件在Sobtop产生成成键相关(bonded)参数时,选择了指定固定的原子,让GAFF的参数用于描述柔性部分二面角可旋转特征。


可能是parmed不支持sobtop产生函数形式为2的二面角,请问这个问题可以解决吗?




dotatoc_small_opt.gro

3.54 KB, 下载次数 Times of downloads: 1

dotatoc_small_opt.mol2

4.19 KB, 下载次数 Times of downloads: 0

dotatoc_small_opt.chg

4.11 KB, 下载次数 Times of downloads: 0

dotatoc_small_opt.top

361 Bytes, 下载次数 Times of downloads: 0

dotatoc_small_opt.itp

78.18 KB, 下载次数 Times of downloads: 0

命数如织,当为磐石

37

帖子

0

威望

1758

eV
积分
1795

Level 5 (御坂)

2#
发表于 Post on 2024-2-1 15:19:19 | 只看该作者 Only view this author
用editconf给gro添加下盒子信息就好了。

38

帖子

0

威望

345

eV
积分
383

Level 3 能力者

3#
 楼主 Author| 发表于 Post on 2024-3-8 14:59:00 | 只看该作者 Only view this author
z9527567 发表于 2024-2-1 15:19
用editconf给gro添加下盒子信息就好了。

谢谢老师
命数如织,当为磐石

6

帖子

0

威望

2208

eV
积分
2214

Level 5 (御坂)

4#
发表于 Post on 2024-5-31 18:09:24 | 只看该作者 Only view this author

您好,请问问题解决了嘛,我碰到了类似的问题,用editconf加了个盒子,但有同样的报错。
1-4 pairs were missing from the [ pairs ] section and were set to zero

38

帖子

0

威望

345

eV
积分
383

Level 3 能力者

5#
 楼主 Author| 发表于 Post on 2024-6-13 16:05:21 | 只看该作者 Only view this author
wenzihao 发表于 2024-5-31 18:09
您好,请问问题解决了嘛,我碰到了类似的问题,用editconf加了个盒子,但有同样的报错。
1-4 pairs were ...

老老实实用MCPB
命数如织,当为磐石

本版积分规则 Credits rule

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

GMT+8, 2025-8-13 05:25 , Processed in 0.165353 second(s), 23 queries , Gzip On.

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