I inserted three different molecules into a box. I only have the individual itp files for these three, but what I need is the topology file for the entire box containing all the components. How do I approach this?
The topology (.top) is just a description of your system. After loading the force field and molecules definitions, you have to specify the number of molecules you have in the box. You can find more information about how to structure the topology in the manual. However, I suggest you to go through some basic tutorial first so that you can have first hand experience with pre-made topologies, like here and here.
i tried making it as shown below, but I’m getting the error but i just got the individual itp files from LIGPARGEN:
Fatal error:
Syntax error - File alginate.itp, line 6
Last line read:
‘[ atomtypes ]’
Invalid order for directive atomtypes
See Common errors when using GROMACS - GROMACS 2024.2 documentation for more information. One solution is to move the [ atomtypes ] sections from the eps.itp, rhamnolipid.itp and alginate.itp to a new file (e.g., “ligand_atom_types.itp”) and then update the topology to: