OPLS-AA parameters for organic molecules, on your own computer.
You give LigParGen a molecule. BOSS, the Jorgensen group's simulation program, assigns each atom its OPLS-AA atom type and computes the partial charges with the CM1A model. LigParGen then writes the complete parameter set — charges, Lennard-Jones terms, bonds, angles, dihedrals and impropers — in the files of eleven simulation programs, so the same molecule has the same energy in each.
Everything runs on this computer. Nothing is sent anywhere, except a message you choose to send with Help, or a molecule name you choose to look up on PubChem (see below).
LigParGen-3.0.1-arm64.pkg and follow the steps (Continue, Install). It asks for your Mac password to put LigParGen in Applications.LigParGen Setup 3.0.1.exe and follow the steps. It installs for you only, so no administrator rights are needed.chmod +x LigParGen-3.0.1.AppImage, then ./LigParGen-3.0.1.AppImage.sudo apt install libfuse2).Nothing else is needed: BOSS, Python and RDKit are inside the program.
Draw the molecule in the editor (Ketcher, the same as on jorgensenresearch.com). Hydrogens are added for you.
Paste a SMILES string, such as CC(=O)Oc1ccccc1C(=O)O for aspirin. Hydrogens are added for you; write charges in the SMILES (CC(=O)[O-]).
Or type the molecule's name, such as caffeine, and press Enter. LigParGen knows about 9,700 names (common names, drug names and systematic names) for the 1,094 molecules of the Jorgensen group's test library, and uses the group's own structure for each, without the internet. The box under the name shows which molecule was found; check the picture and formula before you run.
If a name is not in that list, LigParGen offers to look it up on PubChem (US National Library of Medicine). Only when you press Look it up on PubChem is the name sent, and only the name: never a structure, a file or a result. The structure PubChem returns is checked like any SMILES. To work strictly offline, untick Offer to look up names on PubChem in About.
Enter in this box runs the check, not the calculation; press Run LigParGen when the box says Ready.
Drop a MOL, MOL2 or PDB file on the window, or choose one. A MOL, SDF or MOL2 file may be a 2D drawing or leave out its hydrogens: LigParGen adds the hydrogens from the file's bonds and builds the 3D structure, as it does for a SMILES, and says so. A PDB file records no double bonds, so it must contain every hydrogen, at the protonation state you want. LigParGen keeps your file's atom order and atom names in every output file.
aspirin.gmx.itp…) and their folder.Before you run, LigParGen checks the molecule and says Ready, or what needs fixing.
The charges come from BOSS's own charge cycle: charges, then an OPLS-AA optimization with them, three times. Your structure keeps its own coordinates in the output files.
A single atom or ion runs with BOSS's own OPLS-AA parameters for it: He, Ne, Ar, Kr, Xe; F⁻, Cl⁻, Br⁻, I⁻; Li⁺, Na⁺, K⁺, Rb⁺, Cs⁺; Mg²⁺, Ca²⁺, Sr²⁺, Ba²⁺; La³⁺, Nd³⁺, Eu³⁺, Gd³⁺. Other ions are not supported: use your force field's ion parameters.
Results are saved in Documents › LigParGen › name (or the folder you chose), with CITE.txt and a log. In the Files tab you can drag any file, or a program's title for all its files, out of the window: onto the Desktop, into a folder, or into another program.
.openmm.xml, .openmm.pdb, .openmm.py. Build the system with from NAME.openmm import build; pdb, system = build(). The loader keeps OPLS's geometric combining rule and BOSS's impropers, which the XML alone cannot express..gmx.itp, .gmx.gro. Put #include "NAME.gmx.itp" in your topol.top..amber.prmtop, .amber.inpcrd. Use with sander, pmemd or ParmEd. sander reports about 0.3 kcal/mol more per straight (180°) angle, as it cannot measure an angle that close to 180°..charmm.rtf, .charmm.prm, .charmm.pdb. For NAMD, build the PSF with psfgen from the .rtf; the .prm carries NBFIX lines so NAMD mixes Lennard-Jones as OPLS does..lammps.lmp (data), .lammps.in (settings): include NAME.lammps.in..tinker.key, .tinker.xyz..xplor.top, .xplor.param, .xplor.pdb (atom names in capitals, as X-PLOR reads them)..q.lib, .q.prm, .q.pdb. Desmond — .desmond.cms. PQR — .pqr..z, the Z-matrix with its parameters, ready for BOSS and MCPRO.LigParGen writes the molecule's parameters only: no water, no box and no run settings. Build those in your program as usual.
h_add; Open Babel: obabel in.pdb -O out.pdb -h), save it as MOL or SDF, or give the molecule as SMILES.For scripts and long lists, the same LigParGen runs in a terminal. Set it up once: About → Set up the ligpargen command, then open a new terminal. (On Linux you can also run ./LigParGen-3.0.1.AppImage ligpargen … directly.)
ligpargen -s "CC(=O)Oc1ccccc1C(=O)O" -n ASP -r ASP -c 0 -cgen CM1A-LBCC -p aspirin
ligpargen -i mymolecule.mol -n LIG -r LIG -p results/lig
Every option of LigParGen 2.1 works as before (-s, -i, -n, -r, -c, -cgen, -o, -p, -f, and the alchemical -sb, -ib…), so existing scripts keep running. Before a run the molecule gets the same check as in the window; --no-check skips it and --json prints a result a script can read.
ligpargen batch molecules.csv -o results -j 4 — a CSV with the columns name, smiles or file, and optionally charge and cgen; or a folder: ligpargen batch my_mol_files/ -o results. One folder per molecule, and summary.csv with what ran and why anything did not.
ligpargen check -s "[Na+]" -c 1 says Ready or what to fix. ligpargen --help lists everything.
Press Help, give your name and email and say what happened. Leave Attach the last run ticked so we can see the molecule, the settings and the log. We answer by email from support@jorgensenresearch.com. If this computer is offline, your email program opens with the message instead.
If LigParGen helped your work, please cite (the program also saves these in CITE.txt with every run):