Closed Dan-Burns closed 10 months ago
I tend to discover things shortly after I post - regardless of how much time I spent trying to work things out independently before I make the post...
The error is because I'm using the Charmm forcefield. Using Amber fixes it.
This was covered in an openmmforcefields issue here .
Good catch! For future questions about SMIRNOFFTemplateGenerator, the OpenMMForceFields repo is the right place to ask. OpenFF and OpenMM only differ by two letters but we're actually two different groups of developers :-)
Hello,
I need some help with parameterizing a molecule. Unless I'm mistaken (most) NTPs aren't present in standard forcefields.
I've attached a zip with a notebook and input files.
I have a protein system that needs cytidine triphosphate ('CTD') present.
I loaded a .mol file of CTD into a Molecule object as input for SMIRNOFFTemplateGenerator and tried to solvate. This gave me
ValueError: Found multiple NonbondedForce tags with different 1-4 scales
My script is as follows:
Last part of output:
Operating system OSX 12.5.1
openmm and openff versions
openff-amber-ff-ports 0.0.3 pyh6c4a22f_0 conda-forge openff-forcefields 2023.08.0 pyh1a96a4e_0 conda-forge openff-interchange 0.3.13 pyhd8ed1ab_0 conda-forge openff-interchange-base 0.3.13 pyhd8ed1ab_0 conda-forge openff-models 0.1.0 pyh1a96a4e_1 conda-forge openff-toolkit 0.14.3 pyhd8ed1ab_0 conda-forge openff-toolkit-base 0.14.3 pyhd8ed1ab_0 conda-forge openff-units 0.2.1 pyh1a96a4e_0 conda-forge openff-utilities 0.1.9 pyh1a96a4e_0 conda-forge openmm 8.0.0 py311h978448e_1_khronos conda-forge openmmforcefields 0.11.2 pyhd8ed1ab_1 conda-forge
I had to hand edit the last lines of the mol file to specify charges on atoms that I didn't want protonated.
Thank you for any guidance.
Dan 1rab_test.zip