计算化学公社

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

[GROMACS] 关于gmx hbond命令中的-life和-dist hb选项的作用?

[复制链接 Copy URL]

305

帖子

0

威望

550

eV
积分
855

Level 4 (黑子)

各位老师好,我最近在网上看到一个gromacs的教程中作者使用了命令gmx hbond -f md_0_100_noPBC.xtc -s md_0_100.tpr -num hbond_num.xvg -ang hbond_ang.xvg -life hbond_life.xvg -dist hb
其中-num和-ang选项我已经在官网进行了了解,但是其中的-life和-dist hb选项我在官网没有找到,所以想问一下各位老师这个-life和-dist hb选项具体是什么作用?



433

帖子

8

威望

4317

eV
积分
4910

Level 6 (一方通行)

石墨

2#
发表于 Post on 2024-6-21 18:08:10 | 只看该作者 Only view this author
本帖最后由 Graphite 于 2024-6-23 11:51 编辑

RTFM
:-) GROMACS - gmx hbond, 2023.2 (-:

Executable:   /usr/local/gromacs/bin/gmx
Data prefix:  /usr/local/gromacs
Working dir:  /mnt/d/
Command line:
  gmx hbond -h

SYNOPSIS

gmx hbond [-f [<.xtc/.trr/...>]] [-s [<.tpr>]] [-n [<.ndx>]] [-num [<.xvg>]]
          [-g [<.log>]] [-ac [<.xvg>]] [-dist [<.xvg>]] [-ang [<.xvg>]]
          [-hx [<.xvg>]] [-hbn [<.ndx>]] [-hbm [<.xpm>]] [-don [<.xvg>]]
          [-dan [<.xvg>]] [-life [<.xvg>]] [-nhbdist [<.xvg>]] [-b <time>]
          [-e <time>] [-dt <time>] [-tu <enum>] [-xvg <enum>] [-a <real>]
          [-r <real>] [-[no]da] [-r2 <real>] [-abin <real>] [-rbin <real>]
          [-[no]nitacc] [-[no]contact] [-shell <real>] [-fitstart <real>]
          [-fitend <real>] [-temp <real>] [-dump <int>] [-max_hb <real>]
          [-[no]merge] [-nthreads <int>] [-acflen <int>] [-[no]normalize]
          [-P <enum>] [-fitfn <enum>] [-beginfit <real>] [-endfit <real>]

DESCRIPTION

gmx hbond computes and analyzes hydrogen bonds. Hydrogen bonds are determined
based on cutoffs for the angle Hydrogen - Donor - Acceptor (zero is extended)
and the distance Donor - Acceptor (or Hydrogen - Acceptor using -noda). OH and
NH groups are regarded as donors, O is an acceptor always, N is an acceptor by
default, but this can be switched using -nitacc. Dummy hydrogen atoms are
assumed to be connected to the first preceding non-hydrogen atom.

You need to specify two groups for analysis, which must be either identical or
non-overlapping. All hydrogen bonds between the two groups are analyzed.

If you set -shell, you will be asked for an additional index group which
should contain exactly one atom. In this case, only hydrogen bonds between
atoms within the shell distance from the one atom are considered.

With option -ac, rate constants for hydrogen bonding can be derived with the
model of Luzar and Chandler (Nature 379:55, 1996; J. Chem. Phys. 113:23,
2000). If contact kinetics are analyzed by using the -contact option, then
n(t) can be defined as either all pairs that are not within contact distance r
at time t (corresponding to leaving the -r2 option at the default value 0) or
all pairs that are within distance r2 (corresponding to setting a second
cut-off value with option -r2). See mentioned literature for more details and
definitions.

Output:

* -num:  number of hydrogen bonds as a function of time.
* -ac:   average over all autocorrelations of the existence functions (either
   0 or 1) of all hydrogen bonds.
* -dist: distance distribution of all hydrogen bonds.
* -ang:  angle distribution of all hydrogen bonds.
* -hx:   the number of n-n+i hydrogen bonds as a function of time where n and
   n+i stand for residue numbers and i ranges from 0 to 6. This includes the
   n-n+3, n-n+4 and n-n+5 hydrogen bonds associated with helices in proteins.
* -hbn:  all selected groups, donors, hydrogens and acceptors for selected
   groups, all hydrogen bonded atoms from all groups and all solvent atoms
   involved in insertion. Output is limited unless -nomerge is set.
* -hbm:  existence matrix for all hydrogen bonds over all frames, this also
   contains information on solvent insertion into hydrogen bonds. Ordering is
   identical to that in -hbn index file.
* -dan: write out the number of donors and acceptors analyzed for each
   timeframe. This is especially useful when using -shell.
* -nhbdist: compute the number of HBonds per hydrogen in order to compare
   results to Raman Spectroscopy.

Note: options -ac, -life, -hbn and -hbm require an amount of memory
proportional to the total numbers of donors times the total number of
acceptors in the selected group(s).

OPTIONS

Options to specify input files:

-f      [<.xtc/.trr/...>]  (traj.xtc)
           Trajectory: xtc trr cpt gro g96 pdb tng
-s      [<.tpr>]           (topol.tpr)
           Portable xdr run input file
-n      [<.ndx>]           (index.ndx)      (Opt.)
           Index file

Options to specify output files:

-num    [<.xvg>]           (hbnum.xvg)
           xvgr/xmgr file
-g      [<.log>]           (hbond.log)      (Opt.)
           Log file
-ac     [<.xvg>]           (hbac.xvg)       (Opt.)
           xvgr/xmgr file
-dist   [<.xvg>]           (hbdist.xvg)     (Opt.)
           xvgr/xmgr file
-ang    [<.xvg>]           (hbang.xvg)      (Opt.)
           xvgr/xmgr file
-hx     [<.xvg>]           (hbhelix.xvg)    (Opt.)
           xvgr/xmgr file
-hbn    [<.ndx>]           (hbond.ndx)      (Opt.)
           Index file
-hbm    [<.xpm>]           (hbmap.xpm)      (Opt.)
           X PixMap compatible matrix file
-don    [<.xvg>]           (donor.xvg)      (Opt.)
           xvgr/xmgr file
-dan    [<.xvg>]           (danum.xvg)      (Opt.)
           xvgr/xmgr file
-life   [<.xvg>]           (hblife.xvg)     (Opt.)
           xvgr/xmgr file
-nhbdist [<.xvg>]          (nhbdist.xvg)    (Opt.)
           xvgr/xmgr file

Other options:

-b      <time>             (0)
           Time of first frame to read from trajectory (default unit ps)
-e      <time>             (0)
           Time of last frame to read from trajectory (default unit ps)
-dt     <time>             (0)
           Only use frame when t MOD dt = first time (default unit ps)
-tu     <enum>             (ps)
           Unit for time values: fs, ps, ns, us, ms, s
-xvg    <enum>             (xmgrace)
           xvg plot formatting: xmgrace, xmgr, none
-a      <real>             (30)
           Cutoff angle (degrees, Hydrogen - Donor - Acceptor)
-r      <real>             (0.35)
           Cutoff radius (nm, X - Acceptor, see next option)
-[no]da                    (yes)
           Use distance Donor-Acceptor (if TRUE) or Hydrogen-Acceptor (FALSE)
-r2     <real>             (0)
           Second cutoff radius. Mainly useful with -contact and -ac
-abin   <real>             (1)
           Binwidth angle distribution (degrees)
-rbin   <real>             (0.005)
           Binwidth distance distribution (nm)
-[no]nitacc                (yes)
           Regard nitrogen atoms as acceptors
-[no]contact               (no)
           Do not look for hydrogen bonds, but merely for contacts within the
           cut-off distance
-shell  <real>             (-1)
           when > 0, only calculate hydrogen bonds within # nm shell around
           one particle
-fitstart <real>           (1)
           Time (ps) from which to start fitting the correlation functions in
           order to obtain the forward and backward rate constants for HB
           breaking and formation. With -gemfit we suggest -fitstart 0
-fitend <real>             (60)
           Time (ps) to which to stop fitting the correlation functions in
           order to obtain the forward and backward rate constants for HB
           breaking and formation (only with -gemfit)
-temp   <real>             (298.15)
           Temperature (K) for computing the Gibbs energy corresponding to HB
           breaking and reforming
-dump   <int>              (0)
           Dump the first N hydrogen bond ACFs in a single .xvg file for
           debugging
-max_hb <real>             (0)
           Theoretical maximum number of hydrogen bonds used for normalizing
           HB autocorrelation function. Can be useful in case the program
           estimates it wrongly
-[no]merge                 (yes)
           H-bonds between the same donor and acceptor, but with different
           hydrogen are treated as a single H-bond. Mainly important for the
           ACF. Not compatible with options that depend on knowing a specific
           hydrogen: -noad, -ang.
-nthreads <int>            (0)
           Number of threads used for the parallel loop over autocorrelations.
           nThreads <= 0 means maximum number of threads. Requires linking
           with OpenMP. The number of threads is limited by the number of
           cores (before OpenMP v.3 ) or environment variable OMP_THREAD_LIMIT
           (OpenMP v.3)
-acflen <int>              (-1)
           Length of the ACF, default is half the number of frames
-[no]normalize             (yes)
           Normalize ACF
-P      <enum>             (0)
           Order of Legendre polynomial for ACF (0 indicates none): 0, 1, 2, 3
-fitfn  <enum>             (none)
           Fit function: none, exp, aexp, exp_exp, exp5, exp7, exp9
-beginfit <real>           (0)
           Time where to begin the exponential fit of the correlation function
-endfit <real>             (-1)
           Time where to end the exponential fit of the correlation function,
           -1 is until the end

GROMACS reminds you: "That Was Pretty Cool" (Beavis)

自在飞花轻似梦,无边丝雨细如愁。

全自动反应动力学(ReaxFF、AIMD、NEP等)后处理工具网页版:http://cc-portal.xyz/reax_tools

305

帖子

0

威望

550

eV
积分
855

Level 4 (黑子)

3#
 楼主 Author| 发表于 Post on 2024-6-21 20:37:31 | 只看该作者 Only view this author


老师,我想请教一下,如果要得到这样一幅图的话,是不是只需要-num这个选项就可以了?

6万

帖子

99

威望

6万

eV
积分
125155

管理员

公社社长

4#
发表于 Post on 2024-6-22 02:41:24 | 只看该作者 Only view this author
12313 发表于 2024-6-21 20:37
老师,我想请教一下,如果要得到这样一幅图的话,是不是只需要-num这个选项就可以了?

北京科音自然科学研究中心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

305

帖子

0

威望

550

eV
积分
855

Level 4 (黑子)

5#
 楼主 Author| 发表于 Post on 2024-6-22 08:51:16 | 只看该作者 Only view this author

好的,谢谢sob老师

本版积分规则 Credits rule

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

GMT+8, 2026-2-24 15:46 , Processed in 0.207263 second(s), 23 queries , Gzip On.

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