计算化学公社

标题: 网上公开的自由能/增强采样计算教程整理及主观简评 [打印本页]

作者
Author:
student0618    时间: 2025-10-7 06:19
标题: 网上公开的自由能/增强采样计算教程整理及主观简评
本帖最后由 student0618 于 2025-11-19 17:17 编辑

(Working on English-to-Chinese translation slowly when I have time)

网上公开的自由能/增强采样计算教程整理及主观简评 (2025年10月)
List of Freely Accessible Tutorials on Free Energy / Enhanced Sampling Methods with Personal, Subjective Comments (October 2025)


目录 Table of contents

0. 前言 | Preface
0.1. 总评
0.2. 列表格式 | Format of each entry
0.3. 教程选择方向

1. 比较重要的简写 | List of abbrevations

2. 中文教程
2.1 计算化学公社帖文
2.1.1. Colvars (+NAMD)
2.1.2. Gromacs
2.2. 论坛上相关工具及脚本

3. 英文教程
3.1. Gromacs
3.1.1. 粗粒化马丁尼力场 | Coarse-Grained Martini forcefield
3.1.2. 全原子/联合原子力场 | All-atom/United atom forcefield

3.2. Amber
3.2.1. Amber官网教程 | Official Amber tutorials
3.2.2. GaMD-based methods
3.2.3. Grid Inhomogeneous Solvation Theory (GIST)
3.2.4. QM/MM umbrella sampling

3.3. Plumed
3.3.1. Basic
3.3.2. Metadynamics
3.3.3. 伞型采样 | Umbrella sampling
3.3.4. Replica Exchange
3.3.5. Special CV
3.3.6. Others

3.4. NAMD
3.4.1. NAMD 官网教程 | Official NAMD tutorials
3.4.2. LiveCoMS上发表的 NAMD教程 | NAMD Tutorials published on LiveCoMS

3.5. GROMOS

3.6. OpenMM

3.7. WESTPA

4. 相关网址或工具 | Related websites or tools

5. 结语 | Conclusion




0. 前言 Preface

相比起基本的MD 分子模拟,涉及增强采样/自由能计算的任务更爲复杂。最近因为要用到不同的自由能计算方法,更新及整理了以前存下来各主流MD程序的自由能计算教程连结。在此分享这自用的列表,对部分教程也加上自己从学生的角度看、完全主观的简评、以及一些使用上的备注,以供参考。

0.1. 总评 (个人主观意见)


网上公开免费的教程良莠不齐。论完整度、学习难度、论实作与基本理论的平衡: 个人认为特定基于CV增强采样方法教程比较大部分基于炼金术 (alchemical/alchemistry) 的教程优质、更清晰、更易理解。尤其是gromacs的FEP教程还是找不到理想的,挺可惜的。

很多LiveCoMS的教程比官网优质,但不保证如期刊的愿景会与时并进,因此要注意对应的程序版本。自创刊开始follow的我目前只看到WESTPA 和 GROMOS (不是GROMACS) 的教程有从V1.0更新至V2.0。

也吐槽一下Plumed的fill-in-the-blank输入文件填空题教程,到底是谁的主意?部分甚至没给答案?!这其实很妨碍学习的,对需要自学的人很不友善。

(顺带一提,个人认为最优秀的网上免费公开英文教程是Multiwfn手册及解晶体结构软件phenix的教程,至少目前看了多年的大小免费MD教程都无法达到那程度。)


0.2 列表格式 | Format of each entry

教程标题 Tutorial title


0.3. 教程选择方向

1. 比较重要的简写 | List of abbrevations

2. 中文教程

2.1 计算化学公社帖文
2.1.1. Colvars (+NAMD)

NAMD自由能计算教程—1、用eABF和WTM-eABF进行多维自由能计算 (出处: 计算化学公社)
NAMD自由能计算教程—2、用WTM-λABF进行炼金术自由能计算 (出处: 计算化学公社)

2.1.2. Gromacs

GROMACS-2025.0原生PLUMED和Colvars对比  
GROMACS中伞型采样算法应用详解

(very old, not recommended. Use official Plumed tutorials in section 3.3.4 instead!!! 老版本不建议使用,要用Plumed+gmx跑HREMD请参考3.3.4项列出的官方英文教程)


2.2. 论坛上相关工具及脚本

AutoFEP

MUltidimensional Least Energy pathway (MULE)


3. 英文教程
3.1. Gromacs

3.1.1 粗粒化马丁尼力场 Coarse-Grained Martini forcefield

Free energy techniques (Martini)
3.1.2 全原子/联合原子力场 | All-atom/United atom forcefield

LiveCoMS tutorial
Molecular Dynamics: From Basics to Application

GROMACS官网的资源及教程
Training resource and free online GROMACS tutorials
(网址 URL http://tutorials.gromacs.org)
(1) 这边我放文字版的连结,留意它同时有 Jupyter notebook 版可以直接在网上用binder跑。
(2) 个人对官网教程的评价:为了网上免下载用 binder跑教程,过多用python 将教程简单复杂化,反而比第三方用家写的更难学会。

Umbrella sampling (example: Binding free energy of binding of two pyrimidine molecules)

Solvation free energy of ethanol

Potential of mean force using AWH method (example: DNA base pair opening)

Solvation free energy of ethanol using AWH method


Justin Lemkul's tutorials

Tutorials at http://www.mdtutorials.com/gmx
(1) This is NOT the official GMX tutorial site
(2) see some disucssions here

Umbrella Sampling (Example: Binding of Amyloid Protofibrils)

Free Energy of van der Waals transformation
(Original title: Free Energy Calculations: Methane in Water)

Free Energy of Hydration


Tutorial published on JPCB
(1) See my previous comments on this set of tutorials here

Introductory Tutorials for Simulating Protein Dynamics with GROMACS (Example for US: chignolin β-Hairpin Unfolding)

Others
Alchemistry ABFE tutorial
PyAutoFEP


PMX
(1) All PMX Tutorials on http://pmx.mpibpc.mpg.de/tutorial.html
(2) Due to the major overlap in different workshop versions, I am only listing the latest workshops/examples here.

Solvation free energy

Istanbul BioExcel EuroCC Workshop 2025 (Ligand Modification, RBFE)

Alchemical absolute protein–ligand binding free energies for drug design


3.2. Amber
3.2.1. Official Amber tutorials at https://ambermd.org/tutorials/FreeEnergy.php

Thermodynamic Integration using soft core potentials (Example: benzene and phenol in lysozyme L99A)
Advanced Thermodynamic Integration Using ACES (Example: two inhibitors bound to the the human THr160-phospho CDK2/cyclin A protein)

pKa Calculations using Thermodynamic Integration (Example: capped aspartate dipeptide)

Umbrella Sampling: A Potential of Mean Force in alanine dipeptide Phi/Psi Rotation (Example: alanine dipeptide torsion)

Umbrella Sampling: Transferring methanol through a membrane
Free Energy Estimation for Conformers of Dialanine using EMIL
Free energy calculations with the Free Energy Workflow Tool (FEW)
Grid Inhomogeneous Solvation Theory for water thermodynamics: in Factor Xa
Computing Binding Free Energy using the Attach-Pull-Release (APR) Method (Example: Host-guest system)
The Nonequilibrium Free Energy (NFE) Toolkit for PMEMD AMBER: Capabilities, Examples, and Collective Variables

3.2.2. GaMD-based methods
(1) only implemented in PMEMD not sander

GaMD-Amber: Tutorial

3.2.3. Grid Inhomogeneous Solvation Theory (GIST)

Quantifying Spatially Resolved Hydration Thermodynamics Using Grid Inhomogeneous Solvation Theory [v1.0]
3.2.4. QM/MM umbrella sampling

CCPBioSim QM/MM Workshop (QM/MM Modelling of Enzyme Reactions)

3.3. Plumed
(1) Only list official tutorials, re-organized (version 2.9.x)
(2) Plumed can be used with many MD engines, including but not limited to Gromacs, Amber, NAMD, LAMMPS, OpenMM.
(3) Plumed tutorials are organized by workshop title/date, I try to reorganize them here based on types, and remove highly similar tutorials for clarity.
(4) Who on earth decided to make fill-in-the-blank tutorials?! Who?? Some even without providing the answer?
(5) Generally tutorials with "masterclass" are better and more updated than others, but I include older tutorials instead if the newer fill-in-the-blank tutorial does not provide answer.
(6) Other Plumed Tutorials not in the list may be found in the following website: https://www.plumed-tutorials.org/browse.html

3.3.1. Basic

PLUMED Masterclass 21.1: PLUMED syntax and analysis

PLUMED Masterclass 21.2: Statistical errors in MD
(old tutorials) Trieste tutorial: Averaging, histograms and block analysis

Lugano tutorial: Using PLUMED with LAMMPS

3.3.2. Metadynamics

PLUMED Masterclass 21.4: Metadynamics


PLUMED Masterclass 22.1: Funnel-Metadynamics
PLUMED Masterclass 22.2: Analysis of Plumed output by Metadynminer
Lugano tutorial: Computing proton transfer in water

3.3.3. Umbrella sampling

PLUMED Masterclass 21.3: Umbrella sampling


3.3.4. Replica Exchange

PLUMED Masterclass 22.10: Hamiltonian replica exchange with PLUMED and GROMACS


Using Hamiltonian replica exchange with GROMACS


3.3.5. Special CV

PLUMED Masterclass 22.5: Machine learning collective variables with Pytorch

PLUMED Masterclass 22.9: Using path collective variables to find reaction mechanisms in complex free energy landscapes

PLUMED Masterclass 21.6: Dimensionality reduction

MARVEL tutorial: Path CVs

PLUMED Masterclass 22.12: Liquid-solid chemical potential differences with the environment similarity CV

Julich tutorial: Developing CVs in plumed


3.3.6. Others

PLUMED Masterclass 22.3: OPES method

PLUMED Masterclass 22.6: EDS module + Coarse-Grained directed simulations

PLUMED Masterclass 22.8: Modelling Concentration-driven processes with PLUMED

PLUMED Masterclass 22.13: SASA module and the application of PLUMED for implicit solvent simulations

PLUMED Masterclass 22.15: FISST module and application of mechanical forces with PLUMED

PLUMED Masterclass 21.7: Optimizing PLUMED performances


3.4. NAMD
3.4.1. Official NAMD tutorials at https://www.ks.uiuc.edu/Training/Tutorials/#freeenergymethods
(1) Some free energy methods only have GPU support after specific NAMD version

Protein:ligand Standard Binding Free Energies: A Tutorial for Alchemical and Geometrical Transformations

A Tutorial on Alchemical Free Energy Perturbation Calculations in NAMD
A Tutorial on Adaptive Biasing Force Calculations in NAMD (multiple examples)
Stretching Deca-Alanine:

Methods for calculating Potentials of Mean Force

A Tutorial on One-dimensional Replica-exchange Umbrella Sampling

String Method with Swarms of Trajectories: A Tutorial for Free-energy Calculations along a Minimum-action Path

Exploring Complex Conformational Transition Pathways
Adaptive Multilevel Splitting Method: Isomerization of Alanine Dipeptide
Performing Metadynamics Simulations Using NAMD

3.4.2. NAMD Tutorials published on LiveCoMS

Computing Absolute Binding Affinities by Streamlined Alchemical Free Energy Perturbation (SAFEP)


GaMD for NAMD (Example: Alanine dipeptide torsion)

3.5. GROMOS

Tutorial in manual

A Suite of Advanced Tutorials for the GROMOS Biomolecular Simulation Software [v2.0]


3.6. OpenMM
(1) OpenMM is commonly used via the Python interface.
(2) There are some 3rd-party tutorials that use OpenMM for the python interface, skipping them for now and only list official free energy tutorials here.

Alchemical free energy calculations (Computing the free energy of inserting a Lennard-Jones particle in a Lennard-Jones fluid)

Umbrella sampling (Free energy of pulling a deca-alanine helix into a coil in vacuum)

Run a REST simulation (Example: villin in water)

3.7. WESTPA (The Weighted Ensemble Simulation Toolkit with Parallelization and Analysis)
(1) a python toolkit, can interface Amber, Gromacs, OpenMM, NAMD
(2) 注意:教程明文写出部分WESTPA方法应用的I/O频率会对普通Gaming GPU 造成损耗。

Github wiki with links to all tutorials

LiveCoMS Tutorials

A Suite of Tutorials for the WESTPA 2.0 Rare-Events Sampling Software [Article v2.0]

A Suite of Tutorials for the WESTPA Rare-Events Sampling Software [Article v1.0]


4. Related websites or tools
Colvars User Manual
Plumed User Manual
All LiveCoMS tutorials

Generic WHAM reweighting (1d and 2d)


Other collections mostly related to alchemical / FEP methods


5. 结语
以上分享了自用的网上公开免费自由能/增强采样教程连结,希望能帮到大家。

由于这只是一个自用的整理,恕不回应任何教程使用相关问题,请另外开帖或咨询原作者。

如果有好的教程建议、补充欢迎留言分享。如果以上教程连结失效/内容过分误导需移除也请告诉我。




作者
Author:
jzeng    时间: 2025-10-7 08:33

作者
Author:
HNUST    时间: 2025-10-7 13:39
太好了,支持,为新手指引了道路,现在良莠不齐的教程太多了,是时候出个标准的了
作者
Author:
Daniel_Arndt    时间: 2025-10-7 15:00
WESTPA的教程为什么更新工作做得比较好,估计跟Anthony Bogetti当时负责这事有关。他太nice了,他PhD defense时有人专门在open door session这个环节感谢他当年做助教时细致认真。
作者
Author:
youyno    时间: 2025-10-8 05:51
添加一个我们课题组开发的用于自由能处理的Python程序ThermoLib。https://github.ugent.be/pages/lvduyfhu/ThermoLIB/index.html
作者
Author:
student0618    时间: 2025-10-8 11:51
本帖最后由 student0618 于 2025-10-8 12:34 编辑
youyno 发表于 2025-10-8 05:51
添加一个我们课题组开发的用于自由能处理的Python程序ThermoLib。https://github.ugent.be/pages/lvduyfhu/ ...

感谢提供! 由于要申请并非完全open先不放在主帖,有兴趣的朋友可参考以下连结及获取方法
https://molmod.ugent.be/software/thermolib
(图片的github 页面 404 error,是access不公开repo常见的;而楼上的github网址要登入)

(, 下载次数 Times of downloads: 0)


作者
Author:
Daniel_Arndt    时间: 2025-11-3 11:34
plumed里面的REST2教程我之前用过 https://www.plumed.org/doc-v2.9/user-doc/html/hrex.html ,写得还行。
作者
Author:
student0618    时间: 2025-11-3 11:57
本帖最后由 student0618 于 2025-11-3 12:12 编辑
Daniel_Arndt 发表于 2025-11-3 11:34
plumed里面的REST2教程我之前用过 https://www.plumed.org/doc-v2.9/user-doc/html/hrex.html ,写得还行。

谢谢补充,已补上至第3.3.4节。

关键词List of abbreviations加上了 REST/REST1/REST2 Hamiltonian scaling in Replica Exchange with Solute Tempering

作者
Author:
student0618    时间: 2025-11-19 10:13
Justin的旧FEP教程名字更改为Free Energy of van der Waals transformation,还终于加了个比较实际的Free Energy of Hydration 教程 (有VdW+Coulomb transform 不过用31个Lambda)

最近较忙没时间细看及测试,如果发现问题请通知我。

居然还有个Coming soon的Binding free energy (of protein-ligand complex) 但没说方法,先观望一下,如果是ABFE再放。




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3