









Options to specify input files:
-f [<.gro/.g96/...>] (protein.pdb)
Structure file: gro g96 pdb brk ent esp tpr
Options to specify output files:
-o [<.gro/.g96/...>] (conf.gro)
Structure file: gro g96 pdb brk ent esp
-p [<.top>] (topol.top)
Topology file
-i [<.itp>] (posre.itp)
Include file for topology
-n [<.ndx>] (index.ndx) (Opt.)
Index file
-q [<.gro/.g96/...>] (clean.pdb) (Opt.)
Structure file: gro g96 pdb brk ent esp
Other options:
-chainsep <enum> (id_or_ter)
Condition in PDB files when a new chain should be started (adding
termini): id_or_ter, id_and_ter, ter, id, interactive
-merge <enum> (no)
Merge multiple chains into a single [moleculetype]: no, all,
interactive
-ff <string> (select)
Force field, interactive by default. Use -h for information.
-water <enum> (select)
Water model to use: select, none, spc, spce, tip3p, tip4p, tip5p,
tips3p
-[no]inter (no)
Set the next 8 options to interactive
-[no]ss (no)
Interactive SS bridge selection
-[no]ter (no)
Interactive termini selection, instead of charged (default)
-[no]lys (no)
Interactive lysine selection, instead of charged
-[no]arg (no)
Interactive arginine selection, instead of charged
-[no]asp (no)
Interactive aspartic acid selection, instead of charged
-[no]glu (no)
Interactive glutamic acid selection, instead of charged
-[no]gln (no)
Interactive glutamine selection, instead of charged
-[no]his (no)
Interactive histidine selection, instead of checking H-bonds
-angle <real> (135)
Minimum hydrogen-donor-acceptor angle for a H-bond (degrees)
-dist <real> (0.3)
Maximum donor-acceptor distance for a H-bond (nm)
-[no]una (no)
Select aromatic rings with united CH atoms on phenylalanine,
tryptophane and tyrosine
-[no]ignh (no)
Ignore hydrogen atoms that are in the coordinate file
-[no]missing (no)
Continue when atoms are missing and bonds cannot be made, dangerous
-[no]v (no)
Be slightly more verbose in messages
-posrefc <real> (1000)
Force constant for position restraints
-vsite <enum> (none)
Convert atoms to virtual sites: none, hydrogens, aromatics
-[no]heavyh (no)
Make hydrogen atoms heavy
-[no]deuterate (no)
Change the mass of hydrogens to 2 amu
-[no]chargegrp (yes)
Use charge groups in the .rtp file
-[no]cmap (yes)
Use cmap torsions (if enabled in the .rtp file)
-[no]renum (no)
Renumber the residues consecutively in the output
-[no]rtpres (no)
Use .rtp entry names as residue names
行/部分 | 内容说明 | 示例解析 |
|---|---|---|
第1行 | 标题行:一个自由的字符串,通常用于描述体系。你可以在末尾用 t= 的格式记录时间(单位:皮秒),GROMACS 在读取轨迹时会识别它。 | 标题为 "MD of 2 waters",并记录了模拟时间 "t= 0.0" ps。 |
第2行 | 原子数:一个自由的整数,声明本帧中包含的原子的总个数。 | 6,表示体系中共有6个原子。 |
第3至N+2行 | 原子信息行:每个原子一行,格式固定(见下表)。 | 第3行详细记录了1号残基(水)中的第一个原子(氧原子)。 |
最后一行 | 盒子信息:模拟盒子的大小。最简单的正交盒子只需要提供 v1(x) v2(y) v3(z) 三个值(单位:nm)。 | 1.82060 1.82060 1.82060,表示一个边长均为 1.82060 nm 的立方体盒子。 |
列 | 宽度 | 内容 | 示例 |
|---|---|---|---|
1-5 | 5 字符 | 残基序号 (整数) | 1 |
6-10 | 5 字符 | 残基名称 (字符串) | WATER |
11-15 | 5 字符 | 原子名称 (字符串) | OW1 |
16-20 | 5 字符 | 原子序号 (整数) | 1 |
21-28 | 8 字符 | X 坐标 (浮点数, 单位: nm, 3位小数) | 0.126 |
29-36 | 8 字符 | Y 坐标 (浮点数, 单位: nm, 3位小数) | 1.624 |
37-44 | 8 字符 | Z 坐标 (浮点数, 单位: nm, 3位小数) | 1.679 |
45-52 | 8 字符 | X 速度 (浮点数, 单位: nm/ps, 4位小数) | 0.1227 |
53-60 | 8 字符 | Y 速度 (浮点数, 单位: nm/ps, 4位小数) | -0.0580 |
61-68 | 8 字符 | Z 速度 (浮点数, 单位: nm/ps, 4位小数) | 0.0434 |
参数 | 默认值 | 说明 |
|---|---|---|
-p | topol.top | 输出拓扑文件。包含分子类型、原子、键、成对相互作用等信息 |
-i | posre.itp | 输出位置限制文件。用于对重原子施加位置限制,常用于平衡模拟 |
-n | index.ndx (可选) | 输出索引文件。可按残基、原子名等分组,用于后续分析 |
-q | clean.pdb (可选) | 清理后的PDB文件。输出经过处理的PDB文件 |
参数 | 默认值 | 说明 |
|---|---|---|
-ff | select | 选择力场。运行时会列出可用力场供交互选择。常用力场:charmm27、amber99sb、gromos54a7等 |
-water | select | 水模型选择:• select: 交互选择• none: 无溶剂• spc: SPC模型• spce: SPC/E模型• tip3p: TIP3P模型• tip4p: TIP4P模型• tip5p: TIP5P模型• tips3p: TIP3P改进版 |
CHARMM 和 AMBER 是目前应用最广、验证最充分的经典力场。此外,GAFF 和 OPLS 在药物设计中也有出色表现。
模型类型 | 代表模型 | 核心特点 | 适用场景与说明 |
|---|---|---|---|
三点水模型 (3-point) | TIP3P, SPC, SPC/E | 计算速度快,是应用最广的模型,但热力学性质精度相对较低。 | 最通用、性价比最高的选择,特别适合需要大量采样的场景,如对接后的复合物优化、相对自由能计算(FEP)。 |
四点/五点水模型 (4/5-point) | TIP4P-Ew, TIP5P | 热力学性质更准确,能更好地再现水的密度、介电常数等特性,但计算成本显著增加。 | 当你的研究特别关注水分子本身的特性或配体结合位点的精细水网络结构时,可以考虑使用。 |
# 基本用法(交互式选择力场和水模型)
gmx pdb2gmx -f protein.pdb -o conf.gro -p topol.top
# 指定力场和水模型,忽略PDB中的氢
gmx pdb2gmx -f protein.pdb -o conf.gro -p topol.top -ff amber99sb -water tip3p -ignh原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。