- Posts: 12
why i am getting lipid bilayer tail outside and water inside?
- sagar
- Topic Author
- Offline
- Fresh Boarder
I have followed the bilayer-lipidome-tutorial ,but there in lipid bilayer tail part is outside and head part is inside with water.
Same bilayer shown in the link below has formed
www.youtube.com/watch?v=SbWh_XgCHyw
How to solve this problem?
Please Log in or Create an account to join the conversation.
- bart
- Offline
- Admin
- Posts: 98
Please Log in or Create an account to join the conversation.
- riccardo
- Offline
- Platinum Boarder
Please Log in or Create an account to join the conversation.
- sagar
- Topic Author
- Offline
- Fresh Boarder
- Posts: 12
Please Log in or Create an account to join the conversation.
- sagar
- Topic Author
- Offline
- Fresh Boarder
- Posts: 12
Could you please tell me how to shift box by z/2? Or what command we need to use to shift the box by z/2?
Please Log in or Create an account to join the conversation.
- riccardo
- Offline
- Platinum Boarder
Please Log in or Create an account to join the conversation.
- sagar
- Topic Author
- Offline
- Fresh Boarder
- Posts: 12
I tried by using gmx editconf with -translate 7.5 7.5 3.52 but still its not working.
Please Log in or Create an account to join the conversation.
- sagar
- Topic Author
- Offline
- Fresh Boarder
- Posts: 12
Could you please help in this? I have stuck at this point for long time.
Please Log in or Create an account to join the conversation.
- riccardo
- Offline
- Platinum Boarder
Translate coordinates with "gmx_editconf": if you want to translate the bilayer along z (let's say your z is 6 nm) by z/2 (--> 3 nm), this would be the command:
gmx editconf -f bilayer.gro -translate 0 0 3.0 -o translated-bilayer.gro
Please Log in or Create an account to join the conversation.
- sagar
- Topic Author
- Offline
- Fresh Boarder
- Posts: 12
$ tar -xzvf bilayer-lipidome-tutorial-GMX5_2017Aug04.tgz
$ cd bilayer-lipidome-tutorial
$ cd spontaneous-assembly/initial_assembly
$ gmx insert-molecules -ci DPPC-em.gro -box 7.5 7.5 7.5 -nmol 128 -radius 0.21 -try 500 -o 128_noW.gro
gmx editconf -f 128_noW.gro -translate 0 0 3.75 -o translated-bilayer.gro
$ [gedit/vi] dppc.top
$ gmx grompp -f minimization.mdp -c 128_noW.gro -p dppc.top -o dppc-min-init.tpr
$ gmx mdrun -deffnm dppc-min-init -v -c 128_minimized.gro
$ gmx solvate -cp 128_minimized.gro -cs water.gro -o waterbox.gro -maxsol 768 -radius 0.21
$ [gedit/vi/other editor] dppc.top
$ gmx grompp -f minimization.mdp -c waterbox.gro -p dppc.top -o dppc-min-solvent.tpr
$ gmx mdrun -deffnm dppc-min-solvent -v -c minimized.gro
$ gmx grompp -f martini_md.mdp -c minimized.gro -p dppc.top -o dppc-md.tpr
$ gmx mdrun -deffnm dppc-md -v
$ gmx view -f dppc-md.xtc -s dppc-md.tpr
$ gmx trjconv -s dppc-md.tpr -f dppc-md.xtc -o dppc-md.pdb -pbc whole -conect
$ pymol dppc-md.pdb
$ chmod +x do_vmd.sh
$ ./do_vmd.sh
Please Log in or Create an account to join the conversation.
- xavier
- Offline
- Admin
- Posts: 416
try to translate the trajectory on the z direction by half the size of the z dimension (X in nm) and put the molecules back into the box:
gmx trjconv -f traj.xtc -trans 0 0 X -pbc mol -s traj.tpr -o traj_centered.xtc
Please Log in or Create an account to join the conversation.
- sagar
- Topic Author
- Offline
- Fresh Boarder
- Posts: 12
I have followed following commands
$ tar -xzvf bilayer-lipidome-tutorial-GMX5_2017Aug04.tgz
$ cd bilayer-lipidome-tutorial
$ cd spontaneous-assembly/initial_assembly
$ gmx insert-molecules -ci DPPC-em.gro -box 7.5 7.5 7.5 -nmol 128 -radius 0.21 -try 500 -o 128_noW.gro
gmx editconf -f 128_noW.gro -translate 0 0 3.75 -o translated-bilayer.gro
$ [gedit/vi] dppc.top
$ gmx grompp -f minimization.mdp -c 128_noW.gro -p dppc.top -o dppc-min-init.tpr
$ gmx mdrun -deffnm dppc-min-init -v -c 128_minimized.gro
$ gmx solvate -cp 128_minimized.gro -cs water.gro -o waterbox.gro -maxsol 768 -radius 0.21
$ [gedit/vi/other editor] dppc.top
$ gmx grompp -f minimization.mdp -c waterbox.gro -p dppc.top -o dppc-min-solvent.tpr
$ gmx mdrun -deffnm dppc-min-solvent -v -c minimized.gro
$ gmx grompp -f martini_md.mdp -c minimized.gro -p dppc.top -o dppc-md.tpr
$ gmx mdrun -deffnm dppc-md -v
$ gmx view -f dppc-md.xtc -s dppc-md.tpr
$ gmx trjconv -f dppc-md.xtc -trans 0 0 3.75 -pbc mol -s dppc-md.tpr -o traj_centered.xtc
gmx trjconv -s dppc-md.tpr -f traj_centered.xtc -o dppc-md.pdb
$ pymol dppc-md.pdb
$ chmod +x do_vmd.sh
$ ./do_vmd.sh
Please Log in or Create an account to join the conversation.
- xavier
- Offline
- Admin
- Posts: 416
My impression is that the trjconv command I suggest should work. Not sure what is happening.
may be you should replace "-pbc mol" by "-pbc inbox". That should put the atoms in the box after translating them. Then run the "-pbc mol" on the new trajectory without translating again :)).
It could also be that running the modifications one by one could help. That is:
- first translate
- then run the pbc option, trying the mol and inbox options.
One of those combination should work.
Please Log in or Create an account to join the conversation.