Gromacs的命令非常多,下面我将我最近用到的先总结一下。标题上也写了这只是Chapter1,以后有新的会继续写Chapter2...等等。

下面这个网址http://manual.gromacs.org/programs/byname.html将所有的Gromacs命令按字母表顺序排列了出来,是官方文档。我的文章中部分可能取自这里,或者来自翻译文档的内容。

  • pdb2gmx

pdb2gmx是一个常用命令。遗憾的是我在网上没有找到专门介绍这个命令的文章,不过我还是觉得为Gromacs命令专门写一个系列是值得的。

pdb2gmx最常用于生成拓扑文件。以下是它与文件相关的指令:

-f:(input)结构文件,gro pdb tpr 不常见的有g96 brk ent esp tpb tpa

-o:(output)结构文件,gro pdb g96 brk ent esp

-p:(output)拓扑文件,top

-i:(output)不太常用,指定itp文件,官方文档中说Include file for topology,一般是指posre文件。

-n:(output):index文件

-q:先不管它

一些常见指令:

-ff:指定力场,如果不使用这个选项,运行后会让你选择力场。

-water:指定水模型,none, spc, spce, tip3p, tip4p, tip5p

-ignh:Ignore hydrogen atoms that are in the coordinate file。忽略氢原子

  • editconf

editconf可以用于文件之间的转换,当然最大的用处是是用来构建周期性的盒子。文件指令如下:

-f:(input)结构文件,gro,pdb,还有其他的跟pdb2gmx差不多,以下不再赘述

-o:(output)结构文件,gro,pdb

-n: -bf: -mead:

常用命令如下:

-bt:指定盒子类型,triclinic(三斜), cubic(立方), dodecahedron(十二面体), octahedron(八面体)

-box:Box vector lengths (a,b,c)指定盒子矢量

-angles:Angles between the box vectors (bc,ac,ab)矢量角度

-d:Distance between the solute and the box 指定溶质(蛋白质)与盒子的边缘的距离,一般要大于0.9nm

-c:指定分子处于盒子中央

-princ:Orient molecule(s) along their principal axes 分子指向主轴方向

-pbc:Remove the periodicity (make molecule whole again) 移出周期性,目测应该不怎么用

-rvdw:Default Van der Waals radius (in nm) if one can not be found in the database or if no parameters are present in the topology file 指定vdw截断距离,如果其他地方没有这个参数的话。

  • grompp

GROMacs Pre-Processor 预处理器。一般用于生成tpr文件作为mdrun的输入文件。官方文档解释如下: reads a molecular topology file, checks the validity of the file, expands the topology from a molecular description to an atomic description. The topology file contains information about molecule types and the number of molecules, the preprocessor copies each molecule as needed. There is no limitation on the number of molecule types. Bonds and bond-angles can be converted into constraints, separately for hydrogens and heavy atoms. Then a coordinate file is read and velocities can be generated from a Maxwellian distribution if requested. gmx grompp also reads parameters for gmx mdrun (eg. number of MD steps, time step, cut-off), and others such as NEMD parameters, which are corrected so that the net acceleration is zero. Eventually a binary file is produced that can serve as the sole input file for the MD program.

大致翻译:读入并检查拓扑文件,从分子描述扩展到原子描述,拓扑文件包含了分子类型,分子数量,grompp复制需要的数据,对分子的数量和类型没有限制,键和键角被转化为限制(氢原子和重原子分开处理)。然后读入结构(gro)文件,根据Maxwell速率分布生成速度(如果需要的话)。最后声称tpr文件供mdrun使用。

文件指令:

-f:(input)mdp文件

-c:(input)结构文件,gro pdb

-p:(input)拓扑文件

-o:(output)tpr文件

-ref:(input/output, optional)trr文件,全精度轨迹文件

其他指令:

-v:Be loud and noisy. 运行时输出很多信息

-maxwarn:Number of allowed warnings during input processing. Not for normal use and may generate unstable systems 允许出现的警告数量

  • mdrun

mdrun可能是最关键的一个指令了,分子动力学run起来就靠它了。

gmx mdrun is the main computational chemistry engine within GROMACS. Obviously, it performs Molecular Dynamics simulations, but it can also perform Stochastic Dynamics, Energy Minimization, test particle insertion or (re)calculation of energies.  这是官方文档中的一句话。可以知道mdrun可以做随机动力学模拟,能量最小化,测试粒子插入,计算能量等。

但是在我接触的教程中,一般用到的命令只有两个:

-v:Be loud and noisy 输出运行信息,一般还是不要用的好

-deffnm: Set the default filename for all file options. 这个命令非常的好用,因为它直接定义了所有文件选项的输入,不管是输入还是输出,统一采用-deffnm后面的字符串,这样输入的tpr文件由deffnm定义好了,同时输出文件的名字也由deffnm定义好了。

暂时就这四个常用命令,其他的有了就再写个Chapter2.

Gromacs命令-Chapter1的更多相关文章

  1. Gromacs文件-Chapter1

    Gromacs的文件非常的多,这是官方文档地址:http://manual.gromacs.org/online/files.html. 本文章部分内容来自以下网址https://zhuanlan.z ...

  2. chapter1 渗透测试与metasploit

    网络对抗技术课程学习 chapter1 渗透测试与metasploit 一.读书笔记 二.渗透测试 通过模拟恶意攻击者的技术与方法进行攻击,挫败目标系统安全控制措施,取得访问控制权,并发现具备业务影响 ...

  3. Learning WCF Chapter1 Generating a Service and Client Proxy

    In the previous lab,you created a service and client from scratch without leveraging the tools avail ...

  4. gitbook命令

    安装gitbook命令 前提:已经安装nodejs npm install -g gitbook-cli 查看版本号 gitbook -V gitbook命令 gitbook -h Usage: gi ...

  5. Gromacs分子动力学模拟流程概述

    Gromacs分子动力学模拟主要可以分为以下几个步骤,不同的体系步骤可能略有不同. 在开始之前,先简单了解一下预平衡: 分子动力学模拟的最终目的是对体系进行抽样,然后计算体系的能量,各种化学键,成分分 ...

  6. Cmder--Windows下命令行利器

    cmder cmder是一个增强型命令行工具,不仅可以使用windows下的所有命令,更爽的是可以使用linux的命令,shell命令. 安装包 安装包链接 下载后,直接解压即用. 修改命令提示符λ为 ...

  7. 【每日一linux命令4】常用参数:

     下面所列的是常见的参数(选项)义: --help,-h                              显示帮助信息 --version,-V                        ...

  8. .NET Core系列 : 1、.NET Core 环境搭建和命令行CLI入门

    2016年6月27日.NET Core & ASP.NET Core 1.0在Redhat峰会上正式发布,社区里涌现了很多文章,我也计划写个系列文章,原因是.NET Core的入门门槛相当高, ...

  9. MVVM模式解析和在WPF中的实现(三)命令绑定

    MVVM模式解析和在WPF中的实现(三) 命令绑定 系列目录: MVVM模式解析和在WPF中的实现(一)MVVM模式简介 MVVM模式解析和在WPF中的实现(二)数据绑定 MVVM模式解析和在WPF中 ...

随机推荐

  1. Docker学习:(一)初识Docker

    Docker(容器虚拟化技术)要点(秒级启动) Docker的WWH公式学习 What[是什么]. Why[为什么要用它]. How[怎么用] 1.Docker简介 (1)问题:为什么会有docker ...

  2. Mac 每次都要执行source ~/.bash_profile 后,配置的环境变量才生效

    问题: 自己在 ~/.bash_profile 中配置环境变量, 可是每次重启终端后配置的不生效.需要重新执行 : $source ~/.bash_profile后,才会生效. 原因: 自己是在bas ...

  3. Django的安装和项目的启动

    一.安装(安装最新LTS版): 1.命令行安装 pip install django==1.11.18 -i 源 2.pycharm 安装    二.创建项目 1.命令行创建 下面的命令创建了一个名为 ...

  4. 基于python实现链式队列代码

    """ 链式存储-队列 linkqueue.py 代码实现 思路: 1.入队, 2.出队, 3.判断空满 """ # 异常类 class Q ...

  5. java流程控制之习题

     经过近段时间的学习,差不多也掌握了java的流程控制以及基本知识,下面就来一起练练习题吧,看能做出来几道. 第一道题:假设小明有100块钱,这时候小明去超市需要换零钱,超市提供的零钱有1元面值,2元 ...

  6. spring boot:配置druid数据库连接池(开启sql防火墙/使用log4j2做异步日志/spring boot 2.3.2)

    一,druid数据库连接池的功能? 1,Druid是阿里巴巴开发的号称为监控而生的数据库连接池 它的优点包括: 可以监控数据库访问性能 SQL执行日志 SQL防火墙 2,druid的官方站: http ...

  7. lumen laravel response对象返回数据

    Route::get('home', function () { $content = "内容"; $status = 301; $value = 'text/html'; // ...

  8. selenium--基础学习

    from selenium import webdriver from selenium.common.exceptions import TimeoutException, NoSuchElemen ...

  9. Linux文件的查找之find命令处理动作

    查找到文件之后的处理动作 例如:找出来系统中比较大超过10G的并且存放时间超过一年的log文件并删除 find / -name ".log" -size +10G -mtime + ...

  10. django—csrf中间件校验流程

    CSRF(跨站请求伪造)是一种挟制用户在当前已登录的Web应用程序上执行非本意的操作的攻击方法. 这利用了web中用户身份验证的一个漏洞:简单的身份验证只能保证请求发自某个用户的浏览器,却不能保证请求 ...