Fix backbone of protein

GROMACS version:
GROMACS modification: Yes/No
Here post your question

Hello,
I am simulating a protein in lipid bilayer and i want to fix backbone of the protein during equilibration (NPT AND NVT). How to fix the backbone of that protein

Can anyone please help me regarding fixing the backbone?

Thank you

Generate a new position restraint topology using genrestr and selecting only backbone atoms to be restrained. Then #include that topology with a different macro, e.g. #ifdef POSRES_BB.