Closed ljmartin closed 2 years ago
In principle yes, you should be able to do that. The problem is that Amber doesn't support it. For each amino acid it includes three versions: C terminal, N terminal, and middle of chain. It doesn't define parameters for ones that are terminated at both ends.
I believe CHARMM36 does support isolated amino acids, so you might be able to use it.
missingTerminals
only includes heavy atoms, not hydrogens. That's why you don't see the extra N-terminal hydrogen there.
Thank you very much, that works fine.
fixer.addMissingAtoms()
fixer.addMissingHydrogens(7.0)
PDBFile.writeFile(fixer.topology, fixer.positions, open('output.pdb', 'w'))
from openmm.app import ForceField
pdbfile = PDBFile('output.pdb')
forcefield = ForceField('charmm36.xml',)
system = forcefield.createSystem(pdbfile.topology)
Hi PDBFixer, I'd like to model single-residue fragments in OpenMM, which have been extracted from a protein chain. Since they lack backbone bonds to other residues, they won't parameterize automatically in OpenMM. I thought to add terminal patches with pdbfixer, but only one gets generated:
output:
Indeed the result isn't recognised:
returns
No template found for residue 1 (SER)
If this is even sensible - Is there a way to add both terminal caps to a single residue? Thanks