[Chimera-users] Imagine processing from gromacs
Eric Pettersen
pett at cgl.ucsf.edu
Thu Apr 23 11:51:18 PDT 2020
Hi Ben,
Typically, one “wraps” a PBC trajectory to produce a new trajectory where molecules stay whole on one side of the box or the other. For Gromacs, the tool for that is trjconv, perhaps with the “-pbc whole” flags. See this page: gmx trjconv — GROMACS 2018 documentation <http://manual.gromacs.org/documentation/2018/onlinehelp/gmx-trjconv.html>.
If wrapping a trajectory is problematic for some reason, you could define a per-frame Python script to hide long bonds. I have attached such a script. To use it, in the MD Movie GUI choose the Per-Frame→Define script… menu entry, and in the resulting dialog change the script type to “Python” and use the “Insert text file” button near the button to insert the attached Python file. Then click OK. Long bonds should disappear and you can play your trajectory and bonds will be hidden and shown appropriately.
--Eric
Eric Pettersen
UCSF Computer Graphics Lab
> On Apr 22, 2020, at 9:10 PM, benjamintam <benjamintam at um.edu.mo> wrote:
>
> Dear all,
>
> I am a new user of Chimera, I have generate a .gro file from gromacs and put it into the chimera. However, the imagine has a lot of cross bonding due to the protein is crossing the PBC. Hence I would like to ask how to fix that so the imagine does not cross the pbc box.
>
> Best regards,
>
> Ben
>
> Ph.D, M.Eng, FHEA
>
> _______________________________________________
> Chimera-users mailing list: Chimera-users at cgl.ucsf.edu <mailto:Chimera-users at cgl.ucsf.edu>
> Manage subscription: http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users <http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20200423/5251361e/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pbc.py
Type: text/x-python-script
Size: 177 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20200423/5251361e/attachment-0001.bin>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimera-users/attachments/20200423/5251361e/attachment-0003.html>
More information about the Chimera-users
mailing list