Please let me know, how I can find the bond, angle, dihedral and improper “coefficients” information for all bond, angle, dihedral and improper types in a large polymer molecule.
Actually, I mean is there any software available for calculating these information or not.
Yes.
Somebody suggested you should purchase a materials studio license, but I don’t think that is necessary.
(But if you have access to materials studio, by all means use it.)
First of all, for other LAMMPS users who arrive here using google, most people use a molecule builder which creates bonds, angles, dihedrals, and improper interactions and looks up the force-field parameters automatically. There’s a list of molecule builders for LAMMPS that do this at the end of this email, as well as other instructions for generating angles, dihedrals, and impropers, if you have an incomplete DATA file.
However if you simply need to lookup force field parameters for existing angles, dihedrals, and impropers (that are already in the data file) then you have to choose which force field you want to use:
All of the MSI force fields you were considering (CVFF, PCFF, COMPASS) are far from complete, regardless of which molecule builder tool you decide to use. (if applicable… Again, they are listed below.) The force-field files you mentioned (ending in .FRC) intentionally omit many atoms (such as SP2 carbons) because the parameters for these atom types are proprietary and owned by Accelrys. I would imagine it would be difficult to build many common molecules using these force fields as a result (unless you purchase a materials studio license. You might also consider MedeA. I haven’t used either of these commercial products and have no opinion about them.)
The OPLSAA, and AMBER GAFF or GAFF2, and GROMOS force fields do not have this problem, and their force-field parameters are available publicly. (Available in moltemplate format here, here, and here, MSI/.frc format here, in TINKER format here, or in AMBER format here, with documentation here,)
GROMOS 54a7 force field parameters are available here (in gromacs-compatible format)
CHARMM force field parameters (version 27) are available here (again, in gromacs-compatible format). I’m not sure if this version of CHARMM includes 5-body cross terms.
You might also have a look at the force-fields distributed with OpenBabel, including MMFF94, UFF, and GHEMICAL.
------ atom typing -----
For each of the atoms in your molecules, you will have to figure out which of the atom types best describes the atom in your molecule. Knowing that you have a carbon atom is not enough. For example, is it an SP2 aromatic carbon? Or is it a carboxylic-acid carbon? These two carbons will have different names, and this will effect which entry you use in the table of force-field parameters. The files mentioned above usually begin with a list of atom type-names and their descriptions. (Sometimes, as with the “oplsaa.lt” file, the atom-type names are numbers.)
------- symmetry ------
Although you (Bahman) already created a LAMMPS data file containing angle, dihedral, and improper interactions, keep in mind that the number of dihedral and improper interactions which should appear in your molecule could depend on what force field you choose to use. For OPLSAA and AMBER and most other force fields, the symmetry rules for generating dihedral interactions are the same. (Usually they just have one dihedral interaction for every 4 consecutively bonded atoms.) However the number of improper interactions may vary for these force fields. (Perhaps this detail does not matter much since improper interactions are usually only used to enforce planarity.) Furthermore, the MSI class2 force fields (COMPASS, PCFF, and possibly CVFF?) use different symmetry rules for generating both dihedrals and improper interactions. If I’m not mistaken, those force fields will generate more dihedrals and impropers, than OPLSAA, AMBER, or CHARMM. (I listed some symmetry rules I came up with for various force fields here, here and here. I realize these files are difficult to interpret, so I’m not sure this helps at all.)
------- starting from scratch -------
As mentioned earlier, if you are willing to start from scratch, here is a list of molecule builders from the LAMMPS’ web page:
https://lammps.sandia.gov/prepost.html
You can use these tools to build your own molecular systems from scratch. (Not really useful for Bahman, since he already has a LAMMPS data file.)
Some additional tools listed here:
https://sgsaenger.github.io/vipster/
https://sourceforge.net/projects/moleculardynami/
https://github.com/lammps/lammps/tree/master/tools/ch2lmp
https://github.com/lammps/lammps/tree/master/tools/amber2lmp
https://github.com/lammps/lammps/tree/master/tools/msi2lmp
Here’s an old old web page that explains the basic features of the LAMMPS’ DATA file format, in case you want to forgoe using a molecule builder, and create the data file yourself from scratch.
If you are using the OPLSAA force-field (or molecules from the ATB database), then moltemplate (https://moltemplate.org) might be the easiest choice because those force-field parameters are already included with software (or with the ATB file download). (Keep in mind that I am biased, because I wrote moltemplate.) However, for OPLSAA, AMBER, or COMPASS, you will have to manually select the best atom type which describes each of the atoms in your system. AMBER(GAFF, GAFF2) and COMPASS are also included. Moltemplate does not know how to automatically determine atom type from a PDB file.
Tools like EMC might be able to automatically infer atom type from PDB files. (I am not sure about this.) VMD+topotools also might have some ability to interpret PDB files as well. (But I am not an expert using these tools.)
If you are using AMBER, it might be easier try using AmberTools, along with amber2lmp, because AmberTools can attempt to determine atom types from PDB files and calculate partial charges for all the atoms automatically. (With moltemplate, you will have to use an external tool to calculate them and then hand-edit your .LT files to include them.)
If you are using CHARMM, I’m under the impression that most people use ch2lmp tool.
If you are using PCFF or COMPASS, then perhaps you should try EMC (http://montecarlo.sourceforge.net/emc/Welcome.html) or msi2lmp (which might require materials studio). If you are using CVFF, then you are limited to msi2lmp. Note: To my knowledge, neither of these tools (EMC, or msi2lmp) understand the “auto-equivalences” sections of these force fields (PCFF and CVFF). I think this means that some of the angle, dihedral, and improper interactions will be omitted, even though they should be there. I don’t know if a warning message is printed when this happens.
(The COMPASS force field does not use “auto-equivalences”.) Also, as mentioned above, most of the MSI force fields (including PCFF, COMPASS, and CVFF) are incomplete.
bond_style harmonic
angle_style harmonic
dihedral_style opls
improper_style cvff
Theses styles (bond_style, angle_style, dihedral_style, and improper_style) will vary depending on which force-field you want to use. (OPLSAA, AMBER, CHARMM, COMPASS, GROMOS, etc…)
I hope this helps.
Andrew