This repository contains the source code accompanying the paper: "Construction of Multiscale Dissipative Particle Dynamics (DPD) Models from Other Coarse-Grained Models".
And the (PENDING) paper: "Coarse-Grained Dissipative Particle Dynamics (DPD) Simulation of Cytochrome c Facilitated Binding Between Lipid Bilayers and Citrate-Coated Gold Nanoparticles"
MultiScaleDPD facilitates the construction of multiscale DPD models derived from existing coarse-grained models, enabling simulations in LAMMPS.
- Model Conversion: Transform MARTINI models into DPD-compatible formats.
- LAMMPS Integration: Generate input files for seamless execution in LAMMPS.
- Customization: Support for advanced configurations, including the incorporation of additional molecular components like heme groups.
- Improved DPD Interactions: Incorporates enhanced pair interaction potentials for DPD simulations using
pair_dpd.cpp.
- Software:
- CHARMM-GUI
- LAMMPS
- NumPy
-
Clone the Repository:
git clone https://github.com/rxhernandez/MultiScaleDPD.git
-
Navigate to the Directory:
cd MultiScaleDPD -
Install Dependencies:
pip install numpy
To use the improved pair_dpd.cpp file, you need to build LAMMPS with the appropriate modifications:
-
Obtain LAMMPS Source Code:
- Clone the LAMMPS repository:
git clone https://github.com/lammps/lammps.git cd lammps -
Replace
pair_dpd.cpp:- Copy the provided
pair_dpd.cppfile into thesrc/DPD-BASICdirectory of the LAMMPS source code:
cp /path/to/MultiScaleDPD/pair_dpd.cpp src/DPD-BASIC/
- Copy the provided
-
Build LAMMPS:
- Follow the official instructions to compile LAMMPS with your desired settings: Build LAMMPS
-
Build a MARTINI Model:
- Utilize CHARMM-GUI with the MARTINI22 force field to construct your protein model.
- Obtain the following files from the output:
step3_charmm2gmx.pdb(structure file)PROA_P.itp(MARTINI force field file)
-
Prepare Files:
- Place
step3_charmm2gmx.pdbandPROA_P.itpin the same directory aslib.pyandconvert.py.
- Place
-
Modify
convert.py:- Open
convert.pyandstep3_charmm2gmx.pdbin a text editor. - Adjust line numbers in
convert.pyto correspond withstep3_charmm2gmx.pdb.
- Open
-
Run Conversion Script:
python convert.py
-
Execute LAMMPS Simulations:
- Utilize
equilibration.lmpsandproduction.lmpsas input files for LAMMPS. - Run the equilibration phase first, followed by the production phase.
- Utilize
-
Advanced Usage:
- Refer to
example2for incorporating additional components, such as heme groups. - Ensure LAMMPS includes bug fixes up to July 2022.
- Refer to
If you utilize this codebase or database, please cite:
Wang, Y; Hernandez R.; ACS Omega 9, 17667 (2024). [https://doi.org/10.1021/acsomega.4c01868]
This work was supported by the National Science Foundation under Grant No. CHE-2001611, the NSF 884 Center for Sustainable Nanotechnology (CSN). The CSN is 885 part of the Centers for Chemical Innovation Program.
MultiScaleDPD code and databases are distributed under terms of the MIT License.