Gromacs命令-Chapter1
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的更多相关文章
- Gromacs文件-Chapter1
Gromacs的文件非常的多,这是官方文档地址:http://manual.gromacs.org/online/files.html. 本文章部分内容来自以下网址https://zhuanlan.z ...
- chapter1 渗透测试与metasploit
网络对抗技术课程学习 chapter1 渗透测试与metasploit 一.读书笔记 二.渗透测试 通过模拟恶意攻击者的技术与方法进行攻击,挫败目标系统安全控制措施,取得访问控制权,并发现具备业务影响 ...
- 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 ...
- gitbook命令
安装gitbook命令 前提:已经安装nodejs npm install -g gitbook-cli 查看版本号 gitbook -V gitbook命令 gitbook -h Usage: gi ...
- Gromacs分子动力学模拟流程概述
Gromacs分子动力学模拟主要可以分为以下几个步骤,不同的体系步骤可能略有不同. 在开始之前,先简单了解一下预平衡: 分子动力学模拟的最终目的是对体系进行抽样,然后计算体系的能量,各种化学键,成分分 ...
- Cmder--Windows下命令行利器
cmder cmder是一个增强型命令行工具,不仅可以使用windows下的所有命令,更爽的是可以使用linux的命令,shell命令. 安装包 安装包链接 下载后,直接解压即用. 修改命令提示符λ为 ...
- 【每日一linux命令4】常用参数:
下面所列的是常见的参数(选项)义: --help,-h 显示帮助信息 --version,-V ...
- .NET Core系列 : 1、.NET Core 环境搭建和命令行CLI入门
2016年6月27日.NET Core & ASP.NET Core 1.0在Redhat峰会上正式发布,社区里涌现了很多文章,我也计划写个系列文章,原因是.NET Core的入门门槛相当高, ...
- MVVM模式解析和在WPF中的实现(三)命令绑定
MVVM模式解析和在WPF中的实现(三) 命令绑定 系列目录: MVVM模式解析和在WPF中的实现(一)MVVM模式简介 MVVM模式解析和在WPF中的实现(二)数据绑定 MVVM模式解析和在WPF中 ...
随机推荐
- 多测师讲解自动化测试 _pybot.bat批处理脚本_高级讲师肖sir
- day61 Pyhton 框架Django 04
内容回顾 1.django处理请求的流程: 1. 在浏览器的地址栏输入地址,回车发get请求: 2. wsgi模块接收请求: 3. 在urls.py文件中匹配地址,找到对应的函数: 4. 执行函数,返 ...
- 经验分享:计算机 web 浏览器——访问剪切板图片
有时候,我们希望能访问用户的剪切板,来实现一些方便用户的功能:但是另一方面,剪切板里的数据对用户来说又是非常隐私的,所以浏览器在获取信息方面有安全限制,同时也提供访问接口. 当我们需要实现在富文本 ...
- PHP之Trait详解 转
php从以前到现在一直都是单继承的语言,无法同时从两个基类中继承属性和方法,为了解决这个问题,php出了Trait这个特性 用法:通过在类中使用use 关键字,声明要组合的Trait名称,具体的Tra ...
- centos8平台基于iftop监控网络流量
一,iftop的作用: 基于ip统计外部机器与本机之间的网络流量, 可以方便的查看各客户端是否有非正常的到本机的访问 说明:刘宏缔的架构森林是一个专注架构的博客,地址:https://www.cnbl ...
- python 爬取简书评论
import json import requests from lxml import etree from time import sleep url = "https://www.ji ...
- C# Webservice中如何实现方法重载--(方法名同名时出现的问题)
本文摘抄自:http://blog.sina.com.cn/s/blog_53b720bb0100voh3.html 1.Webservice中的方法重载问题(1)在要重载的WebMethod上打个M ...
- Hibernate关系映射之many-to-many(多对多)
在表设计中,我们一般都会考虑表与表之间的关系,现在我来介绍一下表与表之间的几种对应关系many-to-many 多对多 比如一个用户可以有多种角色 一种角色可以对用多个不同的用户所以角色和用户之间的关 ...
- 全球首个优秀的华人.net微服务框架 作者:百大僧
话不多说,直接上地址 https://gitee.com/shoubashou/NetCoreMicroService,目标斩获10000star, 通往牛逼的路上,风景差得让人只说脏话. 是全球首个 ...
- mysql 必会基础3
1.limit [偏移量,0表示没偏移,在第一行:1表示偏移一行,在第二行:默认值为0] 需要展现的记录数 分页的应用: int curPage = 2; int pageSize = 10; int ...