Skip to content

Commit 9adefd8

Browse files
committed
updated protein
1 parent a1be8aa commit 9adefd8

File tree

1 file changed

+66
-0
lines changed

1 file changed

+66
-0
lines changed

docs/sphinx/source/tutorials/level1/protein-in-electrolyte.rst

+66
Original file line numberDiff line numberDiff line change
@@ -207,4 +207,70 @@ Run an energy minimization
207207
energy decreases from :math:`-3 \mathrm{e}-4~\text{kJ}/\text{mol}` to
208208
:math:`-1.8 \mathrm{e}-5~\text{kJ}/\text{mol}`.
209209

210+
.. container:: justify
211+
212+
The system can be visualized using VMD:
213+
214+
.. code-block:: bash
215+
216+
vmd min.gro min.trr
217+
218+
Add the salt
219+
============
220+
221+
.. container:: justify
222+
223+
Let us add some ions to the system so that the (1) total charge is 0, and (2)
224+
that the salt concentration is :math:`c_\text{s} \approx 1~\text{mol/L}`.
225+
This is done using the *gmx genion* command,
226+
227+
.. code-block:: bash
228+
229+
gmx genion -s min.tpr -p topol.top -conc 1 -neutral -o salted.gro
230+
231+
.. container:: justify
232+
233+
Select the group *SOL* as the continuous group of solvent molecules. GROMACS
234+
will replace some of the *SOL* residue by ions.
235+
236+
.. container:: justify
237+
238+
As can be seen from the *topol.top* file, some sodium (Na+) and chloride
239+
(Cl-) ions were added, and the number :math:`N` of water molecules is
240+
reduced compared to the previous step:
241+
242+
.. code-block:: bash
243+
244+
[ molecules ]
245+
; Compound #mols
246+
Protein 1
247+
SOL 3563
248+
NA 81
249+
CL 75
250+
251+
.. container:: justify
252+
253+
Out of safety, let us run a new energy minimization staring from the
254+
*salted.gro* configuration. The *-maxwarn* option is not necessary
255+
as the system is charge-neutral.
256+
257+
.. code-block:: bash
258+
259+
gmx grompp -f inputs/mininimize.mdp -c salted.gro -p topol.top -o min-s -pp min-s -po min-s
260+
gmx mdrun -v -deffnm min-s
261+
262+
.. container:: justify
263+
264+
As previously, one can have a look at the potential energy using *gmx energy*:
265+
266+
.. code-block:: bash
267+
268+
gmx energy -f min-s.edr -o potential-energy-minimization-s.xvg
269+
270+
Run the molecular dynamics
271+
==========================
272+
273+
274+
275+
210276
.. include:: ../../non-tutorials/accessfile.rst

0 commit comments

Comments
 (0)