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.
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).
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).
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.
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).
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 protonationBarranquilla MOPAC is an independent derivative of MOPAC (Apache License 2.0), not affiliated with or endorsed by MolSSI or Virginia Tech. Repository · Releases
Examples