OPLS-AA Parameter Generator

LigParGen

An automatic generator of OPLS-AA force-field parameters for organic molecules and ligands — bond, angle, dihedral and Lennard-Jones terms with 1.14*CM1A or 1.14*CM1A-LBCC partial charges, ready for the major molecular-dynamics packages.

Powered by BOSS — the group's Monte Carlo engine does the work behind this form.

What it is

Force-field parameters for any small molecule.

Before you can simulate a small molecule — a drug candidate, a ligand, a solvent — a computer needs its full force field: the numbers describing how each of its atoms bonds, bends, twists, and interacts with everything around it. Working those out by hand is slow and easy to get wrong.

LigParGen puts that job one paste away. Give it a molecule — as a SMILES string or a structure file — and it hands the work to BOSS, the group’s simulation engine, which assigns the OPLS-AA atom types and computes the CM1A partial charges. LigParGen then writes what comes back out as a complete parameter set — every bonded term included — formatted for GROMACS, OpenMM, CHARMM and seven more packages.

That convenience is why LigParGen is cited in well over a thousand studies — it turns a fiddly, error-prone setup step into a few seconds.

Which tool do I need?

Four tools to get your molecule ready.

BOSS Quick StartTIP3P, TIP4P & TIP5POrganic Solvents LigParGen this page
It answersWhat shape does my molecule take, and how does it behave in water?How do I get my molecule into a box of water, ready to simulate?How do I get my molecule into an organic solvent? What numbers does my MD program need for this molecule?
You getThe most stable shape, hydration free energy, dipole, surface areaYour molecule in thousands of water molecules, with ions, relaxed by BOSSYour molecule in 512 solvent molecules, relaxed by BOSS Force-field parameters
Files forDocking, quantum chemistry, viewingGROMACS, OpenMM, LAMMPS, AMBER, BOSS — ready to runBOSS, GROMACS, OpenMM, LAMMPS — ready to run GROMACS, OpenMM, CHARMM and 7 more
SolventContinuum water (GB/SA)Real water moleculesSeven organic solventsNone
TimeSeconds to a few minutesA few minutesA few minutesA few seconds

Find your molecule’s best shape with BOSS Quick Start → put it in water on TIP3P, TIP4P & TIP5P, or in another solvent on Organic Solvents — or take only its force field here.

Generate parameters

Your molecule.

Structure

Enter a SMILES string. Explicit hydrogens are added automatically.

Charge model

LBCC is for neutral molecules. For an ion, choose 1.14*CM1A — the 1.14 scaling is automatically dropped for charged molecules.

Rounds of geometry optimization before charges are computed.

Recently fixed

Problems you reported, now working.

See more (11)See fewer
  • SMILES with * (open attachment points)

    A SMILES copied from a polymer repeat unit, such as *CC*, has open ends marked *, and the run stopped with an error. It is now flagged before the run, with how to fix it: cap each * with a hydrogen or a methyl group (*CC* becomes CCCC), or for a polymer use a capped trimer.

  • MOL/SDF files saved without hydrogens

    Structures saved from a drawing program with their hydrogens left implicit stopped with an error ending in “'NoneType' object has no attribute 'group'”. They are now flagged before the run, with how to fix it: enter the molecule as SMILES or save it with explicit hydrogens.

  • Boron clusters (boranes and carboranes)

    Borane and carborane cages were rejected with “This file could not be read”, which suggested re-exporting the file might help. They are now recognised and the page explains why LigParGen cannot parameterize them: cage atoms are bonded to five or six neighbours, which OPLS-AA atom types do not describe.

  • 2D drawings saved as MOL/SDF

    Flat 2D structures, such as PubChem's 2D SDF or a drawing program's export, can place unbonded atoms closer together than a bond. LigParGen then joins them and the run stopped with “'NoneType' object has no attribute 'group'” or “ERROR in atom order”. These files are now flagged before the run: upload a 3D structure (PubChem's 3D conformer SDF works) or enter the molecule as SMILES.

  • Thiophene oligomers with alkyl side chains

    Some larger molecules, such as alkylthiophene oligomers, stopped with “invalid literal for int() with base 10: 'are'” because a note BOSS writes among its torsion parameters was read as data. They now run normally.

  • Files holding a whole simulation box

    A file with many molecules, such as a box built with Packmol, was rejected with “This file could not be read”. The page now says how many separate molecules the file holds and to submit one molecule, or a capped repeat unit for a polymer.

  • Perchlorate and other hypervalent halogens

    Ions such as perchlorate, chlorate, bromate and periodate stopped with an error ending in “has no attribute 'GetBonds'”. OPLS-AA has no atom types for a halogen with more than one bond, so they are now refused before the run with a clear message and a pointer to published ion parameters.

  • Amino acids read from PDB files

    Neutral amino acids labelled as standard residues (MET, GLY, …) with the acid hydrogen on the atom named O stopped with an error ending in “has no attribute 'GetBonds'”. They now run normally.

  • Every problem with a structure, before running

    Files with more than one molecule, atoms missing a bonded partner, an odd electron count, elements BOSS cannot type, or too many atoms are now flagged under the file in about a second, all at once and with how to fix each, instead of failing after the run.

  • Nitriles and alkynes

    Molecules with a linear group, such as benzonitrile, acetonitrile or phenylacetylene, failed with two or more optimization rounds, and a structure drawn with an exactly 180° angle could run until it timed out. They now run normally.

  • PDB files written with HETATM records

    PDB files that use HETATM rather than ATOM records are now accepted, and a run that would have returned all-zero charges is stopped with an explanation.

If a run failed for you and your problem is listed here, please run it again.

Used worldwide

A tool the community relies on.

—+

citations in the research literature since 2017

—countries publishing
—most active
Fewer More

Citation count from Google Scholar, October 2026. Map from the peer-reviewed research citing LigParGen (doi:10.1093/nar/gkx312; via OpenAlex).

How to cite

If you use LigParGen, please cite.

Dodda, L. S.; Cabeza de Vaca, I.; Tirado-Rives, J.; Jorgensen, W. L. LigParGen Web Server: An Automatic OPLS-AA Parameter Generator for Organic Ligands. Nucleic Acids Res. 2017, 45, W331–W336. doi:10.1093/nar/gkx312

Jorgensen, W. L.; Tirado-Rives, J. Molecular Modeling of Organic and Biomolecular Systems Using BOSS and MCPRO. J. Comput. Chem. 2005, 26, 1689–1700. doi:10.1002/jcc.20297