Here one can find the MDP files used for the hamiltonian replica exchange and some example bash and SBATCH scripts

The gromacs version must be patched with plumed, and the replica exchange implementation is the one described in the plumed documentation

To set up the HREM directories you should use the setup_hrem.py script of HPC_Drug-v2.0 https://github.com/MauriceKarrenbrock/HPC_Drug
The script will also create some scaled topology files, cancel them and use one of the scripts in the bin/ directory depending on your needs

In this paper we did 6 independent HREM runs with 16 replicas each for the complex (BATTERY0-5/scaled0-15), one HREM with 8 replicas for the ligand in vacuum (BATTERY0/scaled0-7), and HREM with 16 replicas each for the ligand in water (BATTERY0/scaled0-15)

WARNING:
setup_hrem.py adds a dummy atom on the center of mass of the protein and to the topology file, but the input files given in gro_pdb and lib already have it

