计算化学公社

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

[GROMACS] gromacs小分子力场问题求助

[复制链接 Copy URL]

15

帖子

0

威望

1598

eV
积分
1613

Level 5 (御坂)

请问我用antechamber+acpype生成了小分子配体的力场itp文件,但是在用gromacs添加离子的时候,却报错
Fatal error:
Atomtype c3 not found
For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors
我看了ligand.itp文件是这样
[ atomtypes ]
;name   bond_type     mass     charge   ptype   sigma         epsilon       Amb
c3       c3          0.00000  0.00000   A     3.39967e-01   4.57730e-01 ; 1.91  0.1094
c2       c2          0.00000  0.00000   A     3.39967e-01   3.59824e-01 ; 1.91  0.0860
ce       ce          0.00000  0.00000   A     3.39967e-01   3.59824e-01 ; 1.91  0.0860
o        o           0.00000  0.00000   A     2.95992e-01   8.78640e-01 ; 1.66  0.2100
c        c           0.00000  0.00000   A     3.39967e-01   3.59824e-01 ; 1.91  0.0860
hc       hc          0.00000  0.00000   A     2.64953e-01   6.56888e-02 ; 1.49  0.0157
ha       ha          0.00000  0.00000   A     2.59964e-01   6.27600e-02 ; 1.46  0.0150

[ moleculetype ]
;name            nrexcl
W2A              3

[ atoms ]
;   nr  type  resi  res  atom  cgnr     charge      mass       ; qtot   bond_type
     1   c3     1   W2A    C1    1    -0.177100     12.01000 ; qtot -0.177
     2   c2     1   W2A    C2    2     0.597801     12.01000 ; qtot 0.421
     3   ce     1   W2A    C3    3    -0.594201     12.01000 ; qtot -0.174
     4    o     1   W2A    O4    4    -0.759798     16.00000 ; qtot -0.933
     5    c     1   W2A    C5    5     0.590801     12.01000 ; qtot -0.342
     6   c3     1   W2A    C6    6    -0.177100     12.01000 ; qtot -0.520
     7    o     1   W2A    O7    7    -0.733601     16.00000 ; qtot -1.253
     8   hc     1   W2A    H8    8     0.026033      1.00800 ; qtot -1.227
     9   hc     1   W2A    H9    9     0.026033      1.00800 ; qtot -1.201
    10   hc     1   W2A   H10   10     0.026033      1.00800 ; qtot -1.175
    11   ha     1   W2A   H11   11     0.097000      1.00800 ; qtot -1.078
    12   hc     1   W2A   H12   12     0.026033      1.00800 ; qtot -1.052
    13   hc     1   W2A   H13   13     0.026033      1.00800 ; qtot -1.026
    14   hc     1   W2A   H14   14     0.026033      1.00800 ; qtot -1.000
对照了用PRODRG计算的结果,发现就是atomtype没有识别,请问我应该怎么修改?

111

帖子

0

威望

4508

eV
积分
4619

Level 6 (一方通行)

2#
发表于 Post on 2017-9-1 16:09:38 | 只看该作者 Only view this author
检查一下有没有在top文件里

#include "ligand.itp"
gcq#413: "I know poetry is not dead, nor genius lost; nor has Mammon gained power over either, to bind or slay; they will both assert their existence, their presence, their liberty and strength again one day." (Jane Eyre in Jane Eyre by Charlotte Bronte)

15

帖子

0

威望

1598

eV
积分
1613

Level 5 (御坂)

3#
 楼主 Author| 发表于 Post on 2017-9-1 16:33:35 | 只看该作者 Only view this author
qczgzly 发表于 2017-9-1 16:09
检查一下有没有在top文件里

#include "ligand.itp"

在top文件里面,加了的

294

帖子

0

威望

3533

eV
积分
3827

Level 5 (御坂)

4#
发表于 Post on 2017-9-1 20:51:35 | 只看该作者 Only view this author
[ atomtypes ]
;name   bond_type     mass     charge   ptype   sigma         epsilon       Amb
c3       c3          0.00000  0.00000   A     3.39967e-01   4.57730e-01 ; 1.91  0.1094
c2       c2          0.00000  0.00000   A     3.39967e-01   3.59824e-01 ; 1.91  0.0860
ce       ce          0.00000  0.00000   A     3.39967e-01   3.59824e-01 ; 1.91  0.0860
o        o           0.00000  0.00000   A     2.95992e-01   8.78640e-01 ; 1.66  0.2100
c        c           0.00000  0.00000   A     3.39967e-01   3.59824e-01 ; 1.91  0.0860
hc       hc          0.00000  0.00000   A     2.64953e-01   6.56888e-02 ; 1.49  0.0157
ha       ha          0.00000  0.00000   A     2.59964e-01   6.27600e-02 ; 1.46  0.0150

把这部分内容放到top文件中的#include "ligand.itp" 前面,在试试

20

帖子

0

威望

186

eV
积分
206

Level 3 能力者

5#
发表于 Post on 2017-9-1 21:04:45 | 只看该作者 Only view this author
是不是应该把  .ff 文件拷贝到本地,在 .ff 文件夹中定义原子类型的文件中把 ligand.itp 里的 atomtypes 这一项内容剪切过去。而 ligand.itp 中 保留除 【atomtype】的所有项,用 include 包含在整个topology文件中。

6万

帖子

99

威望

5万

eV
积分
120137

管理员

公社社长

6#
发表于 Post on 2017-9-1 22:10:57 | 只看该作者 Only view this author
atomtypes得放到所有引入的moleculetype的前头。既可以把这些内容合并到力场文件里的atomtypes中,也可以放在top里,会和力场文件里的atomtypes里的内容相累加
北京科音自然科学研究中心http://www.keinsci.com)致力于计算化学的发展和传播,长期开办极高质量的各种计算化学类培训:初级量子化学培训班中级量子化学培训班高级量子化学培训班量子化学波函数分析与Multiwfn程序培训班分子动力学与GROMACS培训班CP2K第一性原理计算培训班,内容介绍以及往届资料购买请点击相应链接查看。这些培训是计算化学从零快速入门以及进一步全面系统性提升研究水平的高速路!培训各种常见问题见《北京科音办的培训班FAQ》
欢迎加入北京科音微信公众号获取北京科音培训的最新消息,并避免错过网上有价值的计算化学文章!
欢迎加入人气极高、专业性特别强的理论与计算化学综合交流群思想家公社QQ群(群号见此链接),合计达一万多人。北京科音培训班的学员在群中可申请VIP头衔,提问将得到群主Sobereva的最优先解答。
思想家公社的门口Blog:http://sobereva.com(发布大量原创计算化学相关博文)
Multiwfn主页:http://sobereva.com/multiwfn(十分强大、极为流行的量子化学波函数分析程序)
Google Scholar:https://scholar.google.com/citations?user=tiKE0qkAAAAJ
ResearchGate:https://www.researchgate.net/profile/Tian_Lu

本版积分规则 Credits rule

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

GMT+8, 2025-8-15 13:56 , Processed in 0.149693 second(s), 20 queries , Gzip On.

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