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中 ...
随机推荐
- MYSQL账户是否不允许远程连接。如果无法连接可以尝试以下方法:
mysql账户是否不允许远程连接.如果无法连接可以尝试以下方法: mysql -u root -p //登录MySQL mysql> GRANT ALL PRIVILEGES ON *.* TO ...
- 多测师讲解requests __上_高级讲师肖sir
1.三种接口接口请求方式 # # 在python当中接口的请求方式有哪些:# import requests # 导入requests接口库# # # # 请求方式有三种:# # # # 第一种:# ...
- Celery---一个懂得异步任务,延时任务,周期任务的芹菜
Celery是什么? celey是芹菜 celery是基于Python实现的模块,用于执行异步延时周期任务的 其结构组成是由 1.用户任务 app 2.管道任务broker用于存储任务 官方推荐red ...
- Python面试题-数据库相关
1.mysql如何做分页 mysql数据库做分页用limit关键字,它后面跟两个参数startIndex和pageSize 2.mysql引擎有哪些 innodb和myisam两个引擎,两者区别是 i ...
- Logstash 国内加速下载 转
Logstash. 国内直接从官网(https://www.elastic.co)下载比较困难,需要一些技术手段.这里提供一个国内的镜像下载地址列表,方便网友下载. 找不到想要的版本?您可以访问 索引 ...
- python matplotlib配置
import matplotlib.pyplot as plt import matplotlib as mpl from matplotlib.font_manager import FontPro ...
- 如何利用go-zero在Go中快速实现JWT认证
关于JWT是什么,大家可以看看官网,一句话介绍下:是可以实现服务器无状态的鉴权认证方案,也是目前最流行的跨域认证解决方案. 要实现JWT认证,我们需要分成如下两个步骤 客户端获取JWT token. ...
- 使用 k8s 搭建 confluence 6.10.x 版本
将公司中已有的 confluence 服务迁移到 k8s 集群中,需要保留当前已有的数据.整体需要分为如下几个步骤: 备份 mysql 数据 备份 confluence 安装目录 备份 conflue ...
- 免费申请HTTPS通配符证书
前言 在阿里云买了一个域名giantliu.cn 部署了自己的博客系统 https://www.giantliu.cn/ 所有用https证书是Let's Encrypt免费申请的 因为申请的免费证书 ...
- 阿里P6晋升到P7是一个坎吗? P7 晋升总结
作者:程序之心丁仪 来源:https://chengxuzhixin.com/blog/post/P6_jin_sheng_dao_P7_zong_jie.html 公众号停更了挺长一段时间,首先说声 ...