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. 网站搭建-云服务器ECS-镜像管理

    学习笔记: 快照,系统盘可创建镜像,数据盘不可以. 实例可以直接创建镜像,包括系统盘和数据盘 复制镜像: 新购服务器,选择镜像(又买). 共享镜像: 账号ID就是UID 云市场获取镜像; 1. 创建新 ...

  2. Mybatis老手复习文档

    Mybatis学习笔记 再次学习Mybatis,日后,有时间会把这个文档更新,改的越来越好,然后,改成新手老手通用的文档 1.我的认识 Mybatis 是一个持久层框架,(之前 我虽然学了这个myba ...

  3. nginx安全: 配置http基本验证(Basic Auth)(nginx 1.18.0)

    一,http基本验证的作用: 1,http基本身份验证会从浏览器弹出登录窗口, 简单明了,容易理解, 对于面向终端用户的前台来说,不够友好, 但对于内部员工操作的后台还是很有用,通常作为一层安全措施应 ...

  4. 微信小程序学习心得

    我们写小程序时都要跳转页面的,也会有底部导航来进行切换 这个时候就要介绍下窗口是怎样配置的 要在app.json文件里写一个tabBer对象 里面在定义一个list数组里面放我们定义的几个需要切换的页 ...

  5. 如何配置网络,使内网和WiFi同时使用

    实习已经一个多月了,来分享一个网络小知识,  进入正题了,初次进公司都会遇到一个问题,就是公司内网和WiFi不能同时使用,其实打开powershell配置一下路由即可 1. 打开powershell( ...

  6. 【CF1436B】Prime Square 题解

    原题链接 题意简介 要求构造一个由不大于 1e5 的非负数构成的正方形矩阵,矩阵的每个元素不是质数,但每一行.每一列的数字的和都是质数. 思路分析 看到样例二,我们知道数字可以重复. 于是,我们很容易 ...

  7. No compatible servers were found,You'll need to cancel this wizard and install one!

    原文链接:https://www.jianshu.com/p/a11f93fb16ce 问题原因 笔记本重装的windows系统,重新安装mysql的时候,显示错误,看了一下缺失服务,实际上可能是缺少 ...

  8. eclipse中将java项目变成web项目

    今天,用Eclipse开发项目的时候,把一个Web项目导入到Eclipse里会变成了一个java工程,将无法在Tomcat中进行部署运行. 方法: 1.找到.project文件,找到里面的<na ...

  9. kong in kubernetes

    网关 这里提到的网关特指API网关.API网关是在微服务架构的演进过程中产生的,其核心功能是聚合后端服务,为客户端调用提供统一的门户.由于网关的集中式管理,在其上又衍生了限流.负载.路由管理.安全防护 ...

  10. ORB-SLAM3 Initializer.cpp函数解读

    作者: Liam 点击上方"计算机视觉工坊",选择"星标" 干货第一时间送达 构造函数 Initializer::Initializer(const Frame ...