[gmx-users] how to center the molecule with trjconv

Zhenyu Meng fdmm1989 at gmail.com
Fri Jul 17 08:38:14 CEST 2015


Hi Justin,
Thanks for your comments, it's a big help.

2015-07-15 21:32 GMT+08:00 Justin Lemkul <jalemkul at vt.edu>:

>
>
> On 7/14/15 11:20 PM, Zhenyu Meng wrote:
>
>> Dear GROMACS users,
>> I want to simulate DNA in a cubic box with water as solvent and visualize
>> it.
>> By using -pbc mol I can see part of the DNA is out of the box so I want to
>> center the DNA in box.
>> But using -center seems destruct the DNA into several parts. I tried to
>> use
>> -pbc mol followed by -center or -center followed by -pbc mol but both
>> cannot center the DNA (the DNA doesn't fall apart but it's still not in
>> the
>> center).
>> I'm curious about the algorithm about -center option. e.g. if I have a pbc
>> cubic box with length of 5, and the COM of the DNA is at (3,3,3), in that
>> way, if I use -center I think all the atoms of the system(including DNA
>> and
>> water) will shift with a vector(-0.5,-0.5,-0.5) to make sure the COM of
>> DNA
>> is now at(2.5,2.5,2.5) (the default boxcenter). Am I correct?
>> Your help will be highly appreciated!
>>
>>
> For multi-chain molecules it is often helpful/necessary to center on one
> chain using an index group.
>
> -Justin
>
> --
> ==================================================
>
> Justin A. Lemkul, Ph.D.
> Ruth L. Kirschstein NRSA Postdoctoral Fellow
>
> Department of Pharmaceutical Sciences
> School of Pharmacy
> Health Sciences Facility II, Room 629
> University of Maryland, Baltimore
> 20 Penn St.
> Baltimore, MD 21201
>
> jalemkul at outerbanks.umaryland.edu | (410) 706-7441
> http://mackerell.umaryland.edu/~jalemkul
>
> ==================================================
> --
> Gromacs Users mailing list
>
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-Users_List before
> posting!
>
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
>
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-users or
> send a mail to gmx-users-request at gromacs.org.
>



-- 
Sincerely,
Mr. Meng Zhenyu
Division of Chemistry and Biological Chemistry
School of Physical and Mathematical Sciences
Nanyang Technological University


More information about the gromacs.org_gmx-users mailing list