Flynn comes bundled with a refinement dictionary writer suitable named writedict. writedict uses the MMFF94 forcefield to derive geometrical constraints for the input ligands or ligand-protein complexes. The output dictionaries enforce, as closely as possible, the input ligand's geometries while allowing the refinement programs to modify the geometry as needed.
writedict also automatically detects covelent bonds in pdb files and inserts the appropriate PDB LINK records and covalent bond entries in the output refinement dictionary.
When necessary, writedict renames and renumbers hydrogens if they exist so that refmac5 won't crash and so the ``.cif'' file is consistent with the ``.pdb'' file.
It is highly recommended to use writedict's generated ``.pdb'' file in conjunction with the ``.cif''.
The MMFF94s forcefield is a variant of MMFF94 that emulates time-averaged structures typically observed during crystallographic structure determination, mainly planar geometries at unstrained delocalized trigonal nitrogen centers. However, there are many theoretical studies that show nitrogen centers are puckered[20].
That being said, due to the prevalence of crystallographic examples where time averaging has occured, many chemist erroneously consider the time-averaged structure to be correct, hence this variant is available for use.
writedict approximates the MMFF94s forcefield by enforcing planar aniline nitrogen configurations using the out of plane atom types and parameters from the MMFF94s. See the -planarAniline parameter to specify planar constraints.