irc¶
Runs EulerPC (Euler Predictor-Corrector)-based intrinsic reaction coordinate (IRC) integration from an optimized transition state (validated by tsopt) toward reactants and products, confirming endpoint connectivity (R ↔ TS ↔ P). By default both forward and backward branches are computed; use --no-backward (or --no-forward) to follow only one direction. Setting --hessian-calc-mode Analytical is strongly recommended when VRAM permits. For XYZ/GJF inputs, --ref-pdb supplies a reference PDB topology while keeping XYZ coordinates, enabling conversion of the output to PDB format. A typical workflow is tsopt → irc.
Examples¶
Command synopsis:
pdb2reaction irc -i INPUT.{pdb|xyz|trj|...} [-q CHARGE] [-l, --ligand-charge <number|'RES:Q,...'>] \
[-b/--backend uma|orb|mace|aimnet2] [--solvent SOLVENT] [--solvent-model alpb|cpcmx] \
[--workers N] [--workers-per-node N] [-m 2S+1] \
[--max-cycles N] [--step-size Δs] [--root k] \
[--forward/--no-forward] [--backward/--no-backward] \
[--freeze-links/--no-freeze-links] \
[--out-dir DIR] [--config FILE] \
[--convert-files/--no-convert-files] [--ref-pdb FILE] \
[--hessian-calc-mode Analytical|FiniteDifference] \
[--show-config] [--dry-run]
Basic run with both branches:
pdb2reaction irc -i ts.pdb -q 0 -m 1 --max-cycles 50 --out-dir ./result_irc
Forward-only branch, finite-difference Hessian, larger step size:
# Forward-only branch, finite-difference Hessian, larger step size
pdb2reaction irc -i ts.pdb -q 0 -m 1 --no-backward \
--step-size 0.2 --hessian-calc-mode FiniteDifference --out-dir ./irc_fd/
Increase step size and use analytical Hessians:
# Increase step size and use analytical Hessians
pdb2reaction irc -i ts.pdb -q 0 -m 1 --step-size 0.20 \
--hessian-calc-mode Analytical --out-dir ./result_irc_analytical
Workflow¶
Input preparation – Any format supported by
geom_loaderis accepted. When a reference PDB is available (input is.pdbor--ref-pdbis supplied), EulerPC trajectories are converted to PDB using that topology, and--freeze-linksaugmentsgeom.freeze_atomsby freezing parents of cap hydrogens for PDB inputs.EulerPC integration – The EulerPC predictor-corrector integrator traces the IRC path from the transition state. Forward and/or backward branches are run according to
--forward/--backwardflags. Each step uses an Euler predictor along the mass-weighted steepest-descent direction (with the gradient approximated via a second-order Taylor expansion using the current Hessian), followed by a modified-Bulirsch–Stoer corrector on a distance-weighted-interpolation surface.Trajectory output – Finished, forward, and backward IRC trajectories are written as XYZ files. When a reference PDB is available, PDB companions are also generated (
--convert-files).
Outputs¶
out_dir/ (default:./result_irc/)
├─ <prefix>finished_irc_trj.xyz # Complete IRC trajectory
├─ <prefix>finished_irc.pdb # PDB companion (when ref PDB available + conversion enabled)
├─ <prefix>forward_irc_trj.xyz # Present when the forward branch runs
├─ <prefix>forward_irc.pdb # Forward-branch PDB companion (same gating)
├─ <prefix>backward_irc_trj.xyz # Present when the backward branch runs
└─ <prefix>backward_irc.pdb # Backward-branch PDB companion (same gating)
Console summaries of resolved
geom,calc, andircconfigurations plus wall-clock timing.
CLI options¶
The full flag list is in the generated command reference; the table below covers the options that need explanation.
Option |
Description |
Default |
|---|---|---|
|
Transition-state structure accepted by |
Required |
|
Total charge; used unless YAML sets |
Required unless template/derivation applies |
|
Either a scalar integer (e.g., |
None |
|
MLIP predictor parallelism (workers > 1 disables analytic Hessians). See workers > 1 disables analytical Hessians (UMA backend) for diagnostic notes. |
|
|
Workers per node, forwarded to the parallel predictor. |
|
|
Spin multiplicity (2S+1); used unless YAML sets |
|
|
Maximum IRC steps; used unless YAML sets |
|
|
Step length in unweighted Cartesian coordinates (Bohr); used unless YAML sets |
|
|
0-based index into the projected Hessian’s eigenvalues sorted in ascending order (most-negative first), used to pick the mode for the initial IRC displacement. For a validated TS with exactly one imaginary mode, leave |
|
|
Run forward branch ( |
|
|
Run backward branch ( |
|
|
For PDB inputs, freeze cap-H parents (merged with |
|
|
Comma-separated 1-based atom indices to freeze explicitly (e.g., |
None |
|
Output directory ( |
|
|
Toggle XYZ/TRJ → PDB companions when a reference PDB is available. |
|
|
Reference PDB topology to use when the input is XYZ/GJF (keeps XYZ coordinates). |
None |
|
MLIP Hessian mode ( |
|
|
Base YAML configuration applied before explicit CLI options. |
None |
|
Print resolved YAML layers/config and continue. |
|
|
Write a machine-readable |
|
|
MLIP backend. |
|
|
Implicit solvent name for xTB correction (e.g. |
|
|
xTB solvent model. |
|
|
Validate and print execution plan without running IRC. |
|
YAML configuration¶
See CLI Conventions: Configuration precedence for the full resolution order.
The geom, calc, and irc sections are unchanged from the canonical definitions in YAML Reference: see geom, calc, and irc. --freeze-links augments geom.freeze_atoms for PDB inputs, and --hessian-calc-mode plus CLI charge/spin values supplement the merged calc block.
irc-specific hard overrides (applied after YAML/CLI merging, regardless of YAML values):
geom:
coord_type: cart # forced to cart for irc (YAML value ignored)
calc:
return_partial_hessian: true # forced true for irc (partial Hessian with active-DOF processing)
Exit codes¶
See Exit codes in CLI Conventions.
Notes¶
The MLIP backend (UMA by default) is reused throughout the IRC; aggressive
step_lengthvalues can destabilize EulerPC.When
--freeze-linksis active, cap-hydrogen parent atoms are automatically frozen (see Cap hydrogen and frozen atoms).
See Also¶
Common Error Recipes – Symptom-first failure routing
Troubleshooting — Detailed fixes for common failure modes
tsopt — Optimize the TS before running IRC
freq — Full vibrational analysis and thermochemistry
opt — Optimize IRC endpoints to true minima
all — End-to-end workflow that runs IRC after tsopt
YAML Reference — Full
ircconfiguration optionsGlossary — Definition of IRC (Intrinsic Reaction Coordinate)