On 2/6/19 11:26 AM, Antonio PEÓN wrote:
Hello,
I would like to calculate the distance from the center of masses (COM) between two systems. One would be the center of mass of waters and
another would be the center of mass of a lipid membrane. I was using
this command and wanted to know if it is correct.

gmx pairdist -f total.xtc -s md_0143.tpr -n in13.ndx -sel 2 -ref 5 -o
distpair.avg -selrpos whole_mol_com -seltype whole_mol_com
where 2 and 5 are the lipid membrane and waters respectively.
Thanks in advance.


You want gmx distance -select "com of group 'X' plus com of group 'Y'" substituting in real group names for X and Y.

-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

jalem...@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-requ...@gromacs.org.

Reply via email to