I am trying to set up protein-ligand binding simulations with Charmm files (psf, str, prm) which already contains solvent and ions. But when I specify "nonbondedMethod=PME" in
Code: Select all
system = psf.createSystem(params, nonbondedMethod=PME, nonbondedCutoff=1*nanometer, constraints=HBonds)
Code: Select all
Illegal nonbonded method for a non-periodic system
I checked the documentation, it seems that I could use
Code: Select all
system.setPeriodicBoxVectors()
Does anyone know how to solve this issue? Thanks!