On 10/31/18 12:06 PM, rose rahmani wrote:
Hi,

I want to calculate distances between fixed tube in the middle of the box
and amino acids(all are same type)around it. But gmx distance gives me the
relative distance i mean AA can be front or back( can be 0.5 or -0.5 from
tube) of  tube but still |-0.5|=0.5 nm far from it. How can i have the
absolute value of distances?
Would you please help me?

Write a simple post-processing script that multiplies any negative value by -1.

-Justin

--
==================================================

Justin A. Lemkul, Ph.D.
Assistant Professor
Virginia Tech Department of Biochemistry

303 Engel Hall
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