计算化学公社

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

[GROMACS] 使用packmol建盒子原子与拓扑文件不对应

[复制链接 Copy URL]

65

帖子

0

威望

575

eV
积分
640

Level 4 (黑子)

使用acpype生成的GAFF力场拓扑,氯化胆碱+乙酰丙酸,盒子大小为6*6*6,有两个问题:
1,用gmx insert-molecules分别加Ch+,Cl-,乙酰丙酸150,150,300,最多能加200:400的,但是我用packmol都可以加500:1000的,这是为什么呢?
2,我是用packmol放了150:300的粒子,但是开始跑的时候出现如下报错,应该是itp里和pdb里原子名不对应,我想使用packmol建盒子,这应该怎么办呢?
gmx grompp -f em.mdp -c 150.pdb -p chlev.top -o em.tpr


Back Off! I just backed up mdout.mdp to ./#mdout.mdp.1#
Setting the LD random seed to 110299978
Generated 91 of the 91 non-bonded parameter combinations
Generating 1-4 interactions: fudge = 0.5
Generated 91 of the 91 1-4 parameter combinations
Excluding 3 bonded neighbours molecule type 'ch'
Excluding 1 bonded neighbours molecule type 'CL'
Excluding 3 bonded neighbours molecule type 'lev'
Warning: atom name 1 in chlev.top and 150.pdb does not match (C1 - C)
Warning: atom name 2 in chlev.top and 150.pdb does not match (H2 - H)
Warning: atom name 3 in chlev.top and 150.pdb does not match (H3 - H)
Warning: atom name 4 in chlev.top and 150.pdb does not match (H4 - H)
Warning: atom name 5 in chlev.top and 150.pdb does not match (C5 - C)
Warning: atom name 6 in chlev.top and 150.pdb does not match (H6 - H)
Warning: atom name 7 in chlev.top and 150.pdb does not match (H7 - H)
Warning: atom name 8 in chlev.top and 150.pdb does not match (H8 - H)
Warning: atom name 9 in chlev.top and 150.pdb does not match (C9 - C)
Warning: atom name 10 in chlev.top and 150.pdb does not match (H10 - H)
Warning: atom name 11 in chlev.top and 150.pdb does not match (H11 - H)
Warning: atom name 12 in chlev.top and 150.pdb does not match (H12 - H)
Warning: atom name 13 in chlev.top and 150.pdb does not match (C13 - C)
Warning: atom name 14 in chlev.top and 150.pdb does not match (H14 - H)
Warning: atom name 15 in chlev.top and 150.pdb does not match (H15 - H)
Warning: atom name 16 in chlev.top and 150.pdb does not match (C16 - C)
Warning: atom name 17 in chlev.top and 150.pdb does not match (H17 - H)
Warning: atom name 18 in chlev.top and 150.pdb does not match (H18 - H)
Warning: atom name 19 in chlev.top and 150.pdb does not match (N19 - N)
Warning: atom name 20 in chlev.top and 150.pdb does not match (O20 - O)
(more than 20 non-matching atom names)

WARNING 1 [file chlev.top, line 24]:
  7950 non-matching atom names
  atom names from chlev.top will be used
  atom names from 150.pdb will be ignored


Removing all charge groups because cutoff-scheme=Verlet
Analysing residue names:
There are:   450      Other residues
There are:   150        Ion residues
Analysing residues not classified as Protein/DNA/RNA/Water and splitting into groups...
Analysing residues not classified as Protein/DNA/RNA/Water and splitting into groups...
Number of degrees of freedom in T-Coupling group rest is 24297.00
Calculating fourier grid dimensions for X Y Z
Using a fourier grid of 52x52x52, spacing 0.116 0.116 0.116
Estimate for the relative computational load of the PME mesh part: 0.22
This run will generate roughly 48 Mb of data

There was 1 warning

-------------------------------------------------------
Program:     gmx grompp, version 2016.4
Source file: src/gromacs/gmxpreprocess/grompp.cpp (line 2325)

Fatal error:
Too many warnings (1).
If you are sure all warnings are harmless, use the -maxwarn option.

For more information and tips for troubleshooting, please check the GROMACS
website at http://www.gromacs.org/Documentation/Errors


附件分别是氯化胆碱阳离子部分和乙酰丙酸的itp和pdb文件

em.mdp

391 Bytes, 下载次数 Times of downloads: 5

lev.pdb

1.65 KB, 下载次数 Times of downloads: 6

乙酰丙酸

lev_GMX.itp

10.42 KB, 下载次数 Times of downloads: 9

乙酰丙酸

ch.pdb

2.18 KB, 下载次数 Times of downloads: 6

氯化胆碱阳离子部分

ch_GMX.itp

14.9 KB, 下载次数 Times of downloads: 10

氯化胆碱阳离子部分

6万

帖子

99

威望

6万

eV
积分
125141

管理员

公社社长

5#
发表于 Post on 2021-2-1 20:47:40 | 只看该作者 Only view this author
二饼妹 发表于 2021-2-1 20:30
谢谢老师,我把上面那个报错用-maxwarn 1忽略之后,我的能量最小化只能进行几十步,感觉没有收敛,这应该 ...

跟那个warning没任何直接关系

做em的目的是为了md能跑,先看md能不能跑再说
北京科音自然科学研究中心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

65

帖子

0

威望

575

eV
积分
640

Level 4 (黑子)

4#
 楼主 Author| 发表于 Post on 2021-2-1 20:30:06 | 只看该作者 Only view this author
本帖最后由 二饼妹 于 2021-2-1 20:31 编辑
sobereva 发表于 2021-2-1 20:05
insert-molecules的算法非常简单,没有packmol考虑那么周到。前者是一个一个加,直到插不进去为止,而后者 ...

谢谢老师,我把上面那个报错用-maxwarn 1忽略之后,我的能量最小化只能进行几十步,感觉没有收敛,这应该怎么办呢,是我画的分子有问题么?em.mdp如下:
define = -DFLEXIBLE
integrator = steep
nsteps = 10000
emtol  = 1.0
emstep = 0.01
;
nstxout   = 20
nstlog    = 50
nstenergy = 50
;
pbc = xyz
cutoff-scheme            = Verlet
coulombtype              = PME
rcoulomb                 = 1.5
vdwtype                  = cut-off
rvdw                     = 1.5
DispCorr                 = EnerPres
;
constraints              = none




em.jpg (194.95 KB, 下载次数 Times of downloads: 25)

em.jpg

6万

帖子

99

威望

6万

eV
积分
125141

管理员

公社社长

3#
发表于 Post on 2021-2-1 20:05:44 | 只看该作者 Only view this author
insert-molecules的算法非常简单,没有packmol考虑那么周到。前者是一个一个加,直到插不进去为止,而后者在构建过程中会不断调节所有分子的位置和朝向,显然后者才有可能生成更致密的盒子。

结构文件和拓扑文件里的原子名不一致不用管,原子顺序对了就行。当前原子顺序是对应的。
北京科音自然科学研究中心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

1560

帖子

0

威望

4997

eV
积分
6557

Level 6 (一方通行)

2#
发表于 Post on 2021-2-1 11:11:03 | 只看该作者 Only view this author
本帖最后由 牧生 于 2021-2-1 11:14 编辑

gmx insert-molecules加入氯离子,远不如gmx genion -s XXXXX.tpr -o XXXXX.gro -neutral -p XXXX.top   这个命令好。直接使体系为电中性。

只是名字对不上,我觉得是可以忽视这些的   命令后加上   -maxwarn 1

评分 Rate

参与人数
Participants 1
eV +2 收起 理由
Reason
snljty + 2 我很赞同

查看全部评分 View all ratings

又菜又爱玩

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

GMT+8, 2026-2-21 23:30 , Processed in 0.170556 second(s), 25 queries , Gzip On.

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