First draft to catch those problems with dihedrals.
Several things going on:
We have to provide atom and residue names so ParmEd/tleap can work
ParmEd must be monkey patched to catch the right central atom
Scaling factors in dihedrals are not set properly, so we are specifying those manually for all dihedral types. Is there any way to do this in a smarter way?
First draft to catch those problems with dihedrals.
Several things going on: