计算化学公社

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

[Amber] 求助Amber生成frcmod文件时缺少参数

[复制链接 Copy URL]

4

帖子

0

威望

31

eV
积分
35

Level 2 能力者

求助一下各位老师我的小分子文件加H后用[color=rgba(0, 0, 0, 0.75)]antechamber转换为mol2文件,然后输入如下代码计算电荷并生成立场参数文件,但是frcmod缺失很多参数,我试了许多其他小分子都是这个问题,我的小分子没有任何金属离子。想请问一下各位老师是什么问题?该怎么解决呀?
[color=rgba(0, 0, 0, 0.75)]

  • antechamber -i lig_H.mol2 -fi mol2 -o lig_H_am1.mol2 -fo mol2 -c bcc -s 2 -at gaff2


  • parmchk2 -i lig_H_am1.mol2 -f mol2 -o lig_H_am1.frcmod






生成的frcmod文件
Remark line goes here
MASS

BOND

ANGLE

DIHE

IMPROPER
ca-ca-ca-ca         1.1          180.0         2.0          Using the default value
ca-ca-ca-ha         1.1          180.0         2.0          Using general improper torsional angle  X- X-ca-ha, penalty score=  6.0)

NONBON



202512161003305906..png (85.88 KB, 下载次数 Times of downloads: 1)

小分子pdb文件

小分子pdb文件

849

帖子

4

威望

1915

eV
积分
2844

Level 5 (御坂)

A Student

6#
发表于 Post on 2025-12-16 14:04:55 | 只看该作者 Only view this author
本帖最后由 student0618 于 2025-12-17 01:45 编辑
liuyansong 发表于 2025-12-16 13:57
谢谢老师回答,如果这一块没错的话。我在生成复合物拓扑文件的时候,在运行到这一段代码“saveamberparm mo ...

没完整leap input无法判断。

运行tleap时是否source了适当文件才load pdb?

加载各力场文件是否齐全?e.g. frcmod的loadberparams、如果ligand参数存了个lib文件loadoff 该lib文件......

我自己跑完parmchk2会先转个ligand 的lib,如
  1. source leaprc.protein.ff14SB
  2. source leaprc.gaff
  3. mods = loadamberparams LIG_AC.frcmod
  4. LIG = loadmol2 LIG_AC.mol2
  5. check LIG
  6. savepdb LIG LIG_AC.pdb
  7. saveoff LIG LIG_AC.lib
复制代码
然后才跑Complex的tleap
  1. source leaprc.protein.ff14SB
  2. source leaprc.water.tip3p
  3. source leaprc.gaff
  4. loadamberparams  LIG_AC.frcmod
  5. loadoff LIG_AC.lib

  6. com = loadpdb complex_fixed.pdb
  7. prot = loadpdb protein_fixed.pdb
  8. lig = loadpdb ligand_fixed.pdb

  9. saveamberparm com complex.prmtop complex.inpcrd
  10. saveamberparm prot protein.prmtop protein.inpcrd
  11. saveamberparm lig ligand.prmtop ligand.inpcrd

  12. solvateoct com TIP3PBOX 10.0
  13. charge com
  14. addions com Na+ 0
  15. addions com Cl- 0
  16. saveamberparm com complex_solvated.prmtop complex_solvated.inpcrd
  17. quit
复制代码
(以上是我几年前跑Amber16的脚本,现在最Amber建议用的是FF19SB+GAFF2+OPC)

敬仰一针见血的指责,厌倦别有用心的赞美。

86

帖子

0

威望

595

eV
积分
681

Level 4 (黑子)

5#
发表于 Post on 2025-12-16 14:00:53 | 只看该作者 Only view this author
不是缺少参数,而是这些参数在标准力场文件中已经有了,parmchk2不需要再为这些参数拟合。下面是Amber官网的教程描述:The parmchk2 program figures out what parameters will be needed and checks to see if they are in the standard files. If not, it tries to make educated guesses, and puts these new parameters into a file we are calling "frcmod.cro" here.

4

帖子

0

威望

31

eV
积分
35

Level 2 能力者

4#
 楼主 Author| 发表于 Post on 2025-12-16 13:57:33 | 只看该作者 Only view this author
谢谢老师回答,如果这一块没错的话。我在生成复合物拓扑文件的时候,在运行到这一段代码“saveamberparm mol complex.prmtop complex.inpcrd”不知道什么原因报错了说是识别不了原子类型。下面是报错信息/opt/amber24/bin/teLeap: Warning!
The unperturbed charge of the unit (-13.614100) is not zero.
FATAL:  Atom .R<LEU 455>.A<OXT 20> does not have a type.
FATAL:  Atom .R<Lig 457>.A<C 1> does not have a type.
FATAL:  Atom .R<Lig 457>.A<C1 2> does not have a type.
FATAL:  Atom .R<Lig 457>.A<C2 3> does not have a type.
FATAL:  Atom .R<Lig 457>.A<C3 4> does not have a type.
FATAL:  Atom .R<Lig 457>.A<C4 5> does not have a type.
FATAL:  Atom .R<Lig 457>.A<C5 6> does not have a type.
FATAL:  Atom .R<Lig 457>.A<C6 7> does not have a type.
FATAL:  Atom .R<Lig 457>.A<C7 8> does not have a type.
FATAL:  Atom .R<Lig 457>.A<C8 9> does not have a type.
FATAL:  Atom .R<Lig 457>.A<C9 10> does not have a type.
FATAL:  Atom .R<Lig 457>.A<C10 11> does not have a type.
FATAL:  Atom .R<Lig 457>.A<H 12> does not have a type.

4

帖子

0

威望

31

eV
积分
35

Level 2 能力者

3#
 楼主 Author| 发表于 Post on 2025-12-16 13:53:18 | 只看该作者 Only view this author
非常感谢老师的回答,如果这里是正常的话到最后生成复合物拓扑文件的时候总是报错,无法识别小分子的原子类型。我是跟着这个网址一直按部就班的做的https://blog.csdn.net/2201_75400172/article/details/151613248。到第五步生成拓扑文件运行到这一串代码“saveamberparm mol complex.prmtop complex.inpcrd”时候开始报错了

849

帖子

4

威望

1915

eV
积分
2844

Level 5 (御坂)

A Student

2#
发表于 Post on 2025-12-16 10:52:54 | 只看该作者 Only view this author
frcmod 那些是力场没有额外补充加上的,没有的项目就是力场已有不用补充。
敬仰一针见血的指责,厌倦别有用心的赞美。

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

GMT+8, 2026-1-23 20:03 , Processed in 0.329627 second(s), 24 queries , Gzip On.

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