计算化学公社

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

[GROMACS] 求助:用Sobtop生成拓扑文件后,用Gromacs做分子模拟的问题

[复制链接 Copy URL]

78

帖子

0

威望

94

eV
积分
172

Level 3 能力者

首先用Methyl_benzoate.mol2通过Sobtop生成了.gro、.top、.itp文件,然后按照图一所示命令进行分子模拟,最终报错情况如图二所示,请问是哪里出问题了呀

输入命令.png (20.89 KB, 下载次数 Times of downloads: 41)

图一

图一

报错信息.png (19.23 KB, 下载次数 Times of downloads: 40)

图二

图二

Methyl_benzoate.gro

945 Bytes, 下载次数 Times of downloads: 6

Sobtop生成

Methyl_benzoate.itp

12.94 KB, 下载次数 Times of downloads: 15

Sobtop生成

Methyl_benzoate.top

369 Bytes, 下载次数 Times of downloads: 24

Sobtop生成

#Methyl_benzoate.top.1#

369 Bytes, 下载次数 Times of downloads: 6

mdout.mdp

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

第三步输出文件

Methyl_benzoate.top

401 Bytes, 下载次数 Times of downloads: 23

第三步结束后

Methyl_benzoate_newbox.gro

884 Bytes, 下载次数 Times of downloads: 6

第一步输出文件

Methyl_benzoate_solv.gro

127.36 KB, 下载次数 Times of downloads: 4

第二步输出文件

minim.mdp

925 Bytes, 下载次数 Times of downloads: 14

第三步参数文件

评分 Rate

参与人数
Participants 1
eV +3 收起 理由
Reason
Athena + 3 谢谢分享

查看全部评分 View all ratings

49

帖子

0

威望

93

eV
积分
142

Level 2 能力者

16#
发表于 Post on 2024-12-13 10:51:39 | 只看该作者 Only view this author
你好像没有定义water,

78

帖子

0

威望

94

eV
积分
172

Level 3 能力者

15#
 楼主 Author| 发表于 Post on 2022-10-4 13:07:08 | 只看该作者 Only view this author
大头攒毛 发表于 2022-10-3 14:06
你可以先看看这个,gromacs官网教程:http://www.mdtutorials.com/gmx/

嗯嗯好的 谢谢

78

帖子

0

威望

94

eV
积分
172

Level 3 能力者

14#
 楼主 Author| 发表于 Post on 2022-10-4 10:34:57 | 只看该作者 Only view this author
mahoushoujo 发表于 2022-10-2 23:25
还有,没有你的有机分子没有原子电荷

嗯嗯 我算了 电荷为零

195

帖子

0

威望

1461

eV
积分
1656

Level 5 (御坂)

13#
发表于 Post on 2022-10-3 14:06:43 | 只看该作者 Only view this author
深爱小李 发表于 2022-9-25 23:15
谢谢你的回复,那个title,define是不是在指定蛋白质啊,不需要改成我的有机分子吗。确实参加个培训好多 ...

你可以先看看这个,gromacs官网教程:http://www.mdtutorials.com/gmx/

4

帖子

0

威望

153

eV
积分
157

Level 3 能力者

12#
发表于 Post on 2022-10-2 23:25:14 | 只看该作者 Only view this author
还有,没有你的有机分子没有原子电荷

78

帖子

0

威望

94

eV
积分
172

Level 3 能力者

11#
 楼主 Author| 发表于 Post on 2022-9-25 23:15:31 | 只看该作者 Only view this author
本帖最后由 深爱小李 于 2022-9-26 10:12 编辑
牧生 发表于 2022-9-25 20:37
constraints             = all-bonds  改为  hbonds

如果你没有建立索引(看你还是新手,应该还不会建 ...

谢谢你的回复,那个title,define是不是在指定蛋白质啊,不需要改成我的有机分子吗。确实参加个培训好多了,但是我还是学生,而且研究方向是药剂,这个分子模拟也是老师让我搞,所以有问题只能各方面求助,太难了

1560

帖子

0

威望

4995

eV
积分
6555

Level 6 (一方通行)

10#
发表于 Post on 2022-9-25 20:37:26 | 只看该作者 Only view this author
constraints             = all-bonds  改为  hbonds

如果你没有建立索引(看你还是新手,应该还不会建立索引),干脆把温度设为整个体系的得了

tc-grps     =system
tau_t       = 0.1            
ref_t       = 300         

另外,参加一次培训,可以直接起飞,几乎日常所见的所有体系,都可以在这里找到相似度极高的例子,然后照着依葫芦画瓢即可
    http://www.keinsci.com/workshop/KGMX_content.html   
又菜又爱玩

78

帖子

0

威望

94

eV
积分
172

Level 3 能力者

9#
 楼主 Author| 发表于 Post on 2022-9-25 20:21:09 | 只看该作者 Only view this author
本帖最后由 深爱小李 于 2022-9-25 20:23 编辑
牧生 发表于 2022-9-25 19:37
可能是因为[ defaults ]字段重复了,试试删掉这几行

; Created by Sobtop (http://sobereva.com/soft/so ...

删掉这些走通了,但是到做NVT平衡时,nvt.mdp的设置又出问题了,请问我需要改下面这个从教程上复制过来的nvt.mdp的哪些参数才能适合我来用呀
复制过来的nvt.mdp如下:
title       = OPLS Lysozyme NVT equilibration
define      = -DPOSRES  ; position restrain the protein
; Run parameters
integrator  = md        ; leap-frog integrator
nsteps      = 50000     ; 2 * 50000 = 100 ps
dt          = 0.002     ; 2 fs
; Output control
nstxout     = 500       ; save coordinates every 1.0 ps
nstvout     = 500       ; save velocities every 1.0 ps
nstenergy   = 500       ; save energies every 1.0 ps
nstlog      = 500       ; update log file every 1.0 ps
; Bond parameters
continuation            = no        ; first dynamics run
constraint_algorithm    = lincs     ; holonomic constraints
constraints             = all-bonds ; all bonds (even heavy atom-H bonds) constrained
lincs_iter              = 1         ; accuracy of LINCS
lincs_order             = 4         ; also related to accuracy
; Neighborsearching
cutoff-scheme   = Verlet
ns_type         = grid      ; search neighboring grid cells
nstlist         = 10        ; 20 fs, largely irrelevant with Verlet
rcoulomb        = 1.0       ; short-range electrostatic cutoff (in nm)
rvdw            = 1.0       ; short-range van der Waals cutoff (in nm)
; Electrostatics
coulombtype     = PME   ; Particle Mesh Ewald for long-range electrostatics
pme_order       = 4     ; cubic interpolation
fourierspacing  = 0.16  ; grid spacing for FFT
; Temperature coupling is on
tcoupl      = V-rescale             ; modified Berendsen thermostat
tc-grps     = Protein Non-Protein   ; two coupling groups - more accurate
tau_t       = 0.1     0.1           ; time constant, in ps
ref_t       = 300     300           ; reference temperature, one for each group, in K
; Pressure coupling is off
pcoupl      = no        ; no pressure coupling in NVT
; Periodic boundary conditions
pbc     = xyz           ; 3-D PBC
; Dispersion correction
DispCorr    = EnerPres  ; account for cut-off vdW scheme
; Velocity generation
gen_vel     = yes       ; assign velocities from Maxwell distribution
gen_temp    = 300       ; temperature for Maxwell distribution
gen_seed    = -1        ; generate a random seed
报错如下:
Fatal error:
Group Protein referenced in the .mdp file was not found in the index file.
Group names must match either [moleculetype] names or custom index group
names, in which case you must supply an index file to the '-n' option
of grompp.

78

帖子

0

威望

94

eV
积分
172

Level 3 能力者

8#
 楼主 Author| 发表于 Post on 2022-9-25 19:40:58 | 只看该作者 Only view this author
牧生 发表于 2022-9-25 19:37
可能是因为[ defaults ]字段重复了,试试删掉这几行

; Created by Sobtop (http://sobereva.com/soft/so ...

谢谢回复。嗯嗯 我就是借鉴你的这个帖子来的 好的,我试试看看可不可以

1560

帖子

0

威望

4995

eV
积分
6555

Level 6 (一方通行)

7#
发表于 Post on 2022-9-25 19:37:56 | 只看该作者 Only view this author
本帖最后由 牧生 于 2022-9-25 19:42 编辑

可能是因为[ defaults ]字段重复了,试试删掉这几行

; Created by Sobtop (http://sobereva.com/soft/sobtop) Version 1.0(dev3.1) on 2022-09-25

[ defaults ]
; nbfunc        comb-rule       gen-pairs       fudgeLJ    fudgeQQ
     1              2              yes            0.5       0.8333
你include有水,[ molecules ]到底有没有水分子数量啊

看看我以前犯的错
http://bbs.keinsci.com/thread-19761-1-1.html

又菜又爱玩

78

帖子

0

威望

94

eV
积分
172

Level 3 能力者

6#
 楼主 Author| 发表于 Post on 2022-9-25 18:53:49 | 只看该作者 Only view this author
本帖最后由 深爱小李 于 2022-9-25 18:56 编辑

你好@牧生 ,我仿照了你之前的一个帖子include水,为什么还是报错呢?
Methyl_benzoate.top文件如下:
; Created by Sobtop (http://sobereva.com/soft/sobtop) Version 1.0(dev3.1) on 2022-09-25

[ defaults ]
; nbfunc        comb-rule       gen-pairs       fudgeLJ    fudgeQQ
     1              2              yes            0.5       0.8333
#include "amber99sb-ildn.ff/forcefield.itp"
; Include Methyl_benzoate.itp topology
#include "Methyl_benzoate.itp"
#include "amber99sb-ildn.ff/tip4p.itp"

[ system ]
Methyl_benzoate

[ molecules ]
; Molecule      nmols
Methyl_benzoate     1
报错内容如下:
Fatal error:
Syntax error - File forcefield.itp, line 1
Last line read:
'********************************************************************'
Found a second defaults directive.
模拟的命令和步骤还是跟帖子上图一 一样,请问是什么问题呢?@sobereva 老师,可以顺便帮我看一下吗?

78

帖子

0

威望

94

eV
积分
172

Level 3 能力者

5#
 楼主 Author| 发表于 Post on 2022-9-25 14:43:43 | 只看该作者 Only view this author
sobereva 发表于 2022-9-24 21:48
随便跑个水盒子体系,看top里水的itp是怎么include的

如果一点GROMACS的相关常识、拓扑文件编写常识都没 ...

好的 老师,明白了

6万

帖子

99

威望

6万

eV
积分
125122

管理员

公社社长

4#
发表于 Post on 2022-9-24 21:48:10 | 只看该作者 Only view this author
随便跑个水盒子体系,看top里水的itp是怎么include的

如果一点GROMACS的相关常识、拓扑文件编写常识都没有,最好参加北京科音分子动力学与GROMACS培训班(http://www.keinsci.com/workshop/KGMX_content.html)好好完整、系统学一次,GROMACS是绝对没法稀里糊涂地猜着跑出有意义的数据。
北京科音自然科学研究中心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

78

帖子

0

威望

94

eV
积分
172

Level 3 能力者

3#
 楼主 Author| 发表于 Post on 2022-9-24 15:55:33 | 只看该作者 Only view this author

请问具体怎么做呢,能麻烦您说明白一点吗,我刚接触这个,都不太懂

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

GMT+8, 2026-2-17 12:17 , Processed in 0.200489 second(s), 25 queries , Gzip On.

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