[gmx-users] Center of mass motion removal
Alex
alexanderwien2k at gmail.com
Mon Dec 16 18:13:04 CET 2019
Hi Justin,
Below is the way I understood to center the trajectory on a single
molecule, would you please confirm if it is true?
1. Adding a new group which contains only the central molecule to the index
file:
a. gmx select -f last-frame.gro -o centeral-mol.ndx ...
> resname MOL and within 0.5 of [x,y,z coordinates of center of the
droplet]
b. gmx trajconv -f last-frame.gro -n centeral-mol.ndx
-o centeral-mol.gro ....
2. gmx trajconv -f mol.clust.xtc -n index.ndx -o mol.clust.center.xtc ...
Select group for centering
Group 0 ( Droplet) has 6254 elements
Group 1 ( centeral-mol) has 45 elements
Select a group: 1
Select group for output
Group 0 ( Droplet) has 6254 elements
Group 1 ( centeral-mol) has 45 elements
Select a group: 0
And below is the output in which the drifting is bit less but still exist
and unfortunately the whole droplet moves around:
https://drive.google.com/open?id=1_aVJzfXJQWQ-aP_rHwgEXGeas7KWcnuo
BTW, I used a proper .tpr file where the molecule are all intact.
Thank you
Alex
On Fri, Dec 13, 2019 at 7:50 PM Justin Lemkul <jalemkul at vt.edu> wrote:
>
>
> On 12/13/19 10:51 AM, Alex wrote:
> > Dallas,
> > Of course that is doable, but removing those flying molecules is not the
> > actual solution specially if one is interested in calculating of some
> > properties in presence of all molecules, rather than visualizing them.
> And
> > also, some other molecules might leave the droplet in some stages, so, by
> > removing those as well, nothing would remain.
>
> Center on a single molecule that ends up near the middle of the cluster.
>
> -Justin
>
> --
> ==================================================
>
> Justin A. Lemkul, Ph.D.
> Assistant Professor
> Office: 301 Fralin Hall
> Lab: 303 Engel Hall
>
> Virginia Tech Department of Biochemistry
> 340 West Campus Dr.
> Blacksburg, VA 24061
>
> jalemkul at vt.edu | (540) 231-3129
> http://www.thelemkullab.com
>
> ==================================================
>
> --
> 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.
>
More information about the gromacs.org_gmx-users
mailing list