Repository navigation
Examples preparing structures
MOZYME needs every hydrogen atom and a sound Lewis structure. MOPAC adds hydrogens itself, and an automatic check stops inputs with broken groups before the SCF.
Figures: calculations with the CPU build of v1.2.1-gpu, laptop (Intel Core i7-8850H), one core unless a caption says otherwise, or published numbers where the caption says so. Scripts: scripts/wiki_figures.
Crystal structures have no hydrogens; MOPAC adds them. 0SCF stops after the preparation and PDBOUT writes the result as a PDB file (<input>.pdb). Remove waters and alternate conformations first.
Copy next to the input: benchmarks/publication_inputs/pdb_clean/protein_crambin_1crn.pdb
PM7 ADD-H PDBOUT NEWPDB 0SCF GEO-OK GEO_DAT="protein_crambin_1crn.pdb"
Add hydrogens to crambin
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).
Crambin before and after ADD-H.
SITE=(IONIZE) protonates Arg/Lys, deprotonates Asp/Glu and the termini. The protein then carries a net charge; MOZYME computes it from the Lewis structure and reports it.
Copy next to the input: benchmarks/publication_inputs/pdb_clean/protein_crambin_1crn.pdb
PM7 ADD-H SITE=(IONIZE) PDBOUT NEWPDB 0SCF GEO-OK GEO_DAT="protein_crambin_1crn.pdb"
Add hydrogens to crambin, pH 7
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).
The sites that SITE=(IONIZE) changed in crambin, as listed in the output (Changes in Ionization caused by keyword SITE).
PDB entry 1G6X has half sulfate groups on a symmetry axis. The check reports them as errors and stops the job before the SCF; the report is in the output.
Copy next to the input: benchmarks/publication_inputs/mop/protein_1g6x.pdb
PM7 ADD-H PDBOUT NEWPDB 0SCF GEO-OK GEO_DAT="protein_1g6x.pdb"
BPTI 1G6X with its sulfates
Checked: the CPU build of release v1.2-gpu (commit 323b6076) stops this job with the chemistry-check report.
The sulfate groups of 1G6X (grey) and the two incomplete ones that the input chemistry check reports (red).
LET (a standard MOPAC keyword) runs despite the errors; the report stays in the output. Prefer fixing the PDB: in 1G6X the half sulfates made the SCF take 112 iterations instead of 29.
Copy next to the input: benchmarks/publication_inputs/mop/protein_1g6x.pdb
PM7 ADD-H PDBOUT NEWPDB 0SCF GEO-OK LET GEO_DAT="protein_1g6x.pdb"
BPTI 1G6X, check overridden
Checked: runs with the CPU build of release v1.2-gpu (commit 323b6076, 2026-11-20).
SCF of 1G6X (MOZYME, PM7) with the two half sulfates, run with LET, and with them removed: energy change per iteration. These are CPU runs; the README's 112 and 29 iterations are from GPU runs.
scripts/mozyme_md_workflow.py downloads nothing; give it a PDB file. It removes waters and alternate conformations, adds hydrogens, optimizes, and runs NVT and NVE, printing one summary line per stage.
wget https://files.rcsb.org/download/1CRN.pdb
python3 scripts/mozyme_md_workflow.py build/mopac 1CRN.pdb --work-dir crambin_md \
--temperature 300 --opt-cycles 100 --nvt-points 200 --nve-points 200
# --eps 78.4 for implicit water, --ionize for pH-7 protonation
scripts/mozyme_md_workflow.py on chignolin with hydrogens added to its heavy atoms: 30 optimization cycles, then 60 NVT and 60 NVE points (shorter than the command above).
Barranquilla MOPAC is an independent derivative of MOPAC (Apache License 2.0), not affiliated with or endorsed by MolSSI or Virginia Tech. Repository · Releases
Examples