Gaussian ONIOM Mode (oniom-export --mode g16)¶
Export an ML/MM system to Gaussian ONIOM (.com/.gjf) using an Amber parm7 topology. This is the Gaussian-specific detail page for oniom-export; it reads topology data from --parm (via ParmEd) and optional coordinates from -i/--input, then writes a Gaussian ONIOM input file with method, layer flags, and connectivity.
Examples¶
Minimal export with explicit charge and multiplicity:
mlmm oniom-export --mode g16 --parm real.parm7 -i pocket.pdb --model-pdb ml_region.pdb \
-o system.com -q 0 -m 1
# Basic export with explicit method
mlmm oniom-export --mode g16 --parm real.parm7 -i pocket.pdb --model-pdb ml_region.pdb \
-o system.com --method "wB97XD/def2-TZVPD"
# Disable element-sequence validation when atom order is already trusted
mlmm oniom-export --mode g16 --parm real.parm7 -i pocket.xyz --model-pdb ml_region.pdb \
-o system.gjf --no-element-check
# Set compute resources and the movable-atom cutoff
mlmm oniom-export --mode g16 --parm real.parm7 -i pocket.pdb --model-pdb ml_region.pdb \
-o system.com --nproc 16 --mem 32GB --near 5.0
Workflow¶
Load atom/bond/charge data from parm7.
Optionally load coordinates and run element-order validation (
--element-check).If
--model-pdbis provided, map those atoms to define the QM layer.Detect QM/MM boundaries and annotate link atoms.
Write Gaussian input with method,
%nprocshared,%mem, coordinates, layer flags, and connectivity.
Outputs¶
system.comorsystem.gjfConsole summary of detected QM atoms and boundary handling
CLI options¶
The full flag list is in the generated command reference; the table below covers the options that need explanation.
Option |
Description |
Default |
|---|---|---|
|
Amber parm7 topology file. |
Required |
|
Coordinate file (PDB/XYZ); atom order must match parm7. |
None |
|
Validate element sequence between input and parm7. |
|
|
PDB file defining QM region atoms. |
None |
|
Output Gaussian input file ( |
Required |
|
QM method and basis set. |
|
|
Charge of QM region. |
Required |
|
Multiplicity of QM region. |
|
|
Distance cutoff (Å) for movable MM atoms. |
|
|
Number of processors. |
|
|
Memory allocation. |
|
See Also¶
oniom_orca — ORCA mode guide (
--mode orca)oniom_export — Export overview and chooser
mm_parm — Build Amber topology (
parm7/rst7)define_layer — Build/check layer annotations
Common Error Recipes — Symptom-first failure routing
Troubleshooting — Detailed troubleshooting guide