GROMACS version:2021
GROMACS modification: /No
Here post your question
To insert the ligand, I put ligand.gro, ligand.top, ligand.itp files to the working directory (correct?). Then I use: gmx insert-molecules -f protein_newbox.gro -nmol 26 -ci ligand.gro -o protein_ligand.gro
This only results in a new gro file, while the topol.top file is not updated. I will need to manually add certain lines to the topol.top file to reflect the adding of ligands. How to do this exactly? What else do I need to do?
Why there is not a way to automatically update the topol.top file for insert-molecules, e.g. -p topol.top?
You can manually do this in topol.top file. Go to ligand.top, type #include “ligand.itp” to add your forcefield file. Also, go to the number of molecules section, type name ref and the number of molecules