Hi Justin,<br><br>Thanks for getting back to me.  I executed the following command using g_mindist:<br><br>$gromacs/g_mindist -pi -f n12_random_all.xtc -s n12_random.tpr -n index.ndx -od mindist.xvg <br><br>..and got the output (see below).  It shows that the minimal distance to periodic image is at the most a few nm, but when I look in VMD, it is very apparent that there overlap between portions of the molecule.  If so, wouldn&#39;t the minimal distance be negative? I&#39;ve even executed the above command with the -pbc flag, and get the same output.  <br>

<br>I&#39;m not sure how to interpret these results.    Any additional feedback on your end would be greatly appreciated.<br><br>Thanks,<br>Lili<br><br><br><br># Giant Rising Ordinary Mutants for A Clerical Setup<br>#<br>

@    title &quot;Minimum distance to periodic image&quot;<br>@    xaxis  label &quot;Time (ps)&quot;<br>@    yaxis  label &quot;Distance (nm)&quot;<br>
@TYPE xy<br>@ subtitle &quot;and maximum internal distance&quot;<br>@ view 0.15, 0.15, 0.75, 0.85<br>@ legend on<br>@ legend box on<br>@ legend loctype view<br>@ legend 0.78, 0.8<br>@ legend length 2<br>@ s0 legend &quot;min per.&quot;<br>


@ s1 legend &quot;max int.&quot;<br>@ s2 legend &quot;box1&quot;<br>@ s3 legend &quot;box2&quot;<br>@ s4 legend &quot;box3&quot;<br>        0        4.226 22.198 20.402  8.824 15.015<br>        500      3.475 21.944 19.423  8.400 14.296<br>


        1000     4.266 21.065 19.420  8.397 14.295<br>        1500     3.934 21.430 19.421  8.396 14.297<br>        2000     3.999 21.850 19.424  8.395 14.301<br>        2500     4.031 20.793 19.426  8.394 14.303<br>        3000     3.469 21.160 19.425  8.392 14.304<br>


        3500     3.902 21.372 19.425  8.390 14.305<br>        4000     4.321 20.999 19.424  8.388 14.306<br>        4500     4.667 19.447 19.428  8.388 14.310<br>        5000     4.794 19.991 19.430  8.387 14.312<br>        5500     4.909 19.142 19.430  8.384 14.313<br>


        6000     5.317 19.153 19.432  8.383 14.315<br>        6500     5.110 19.223 19.431  8.381 14.315<br>        7000     4.864 19.127 19.434  8.380 14.318<br>        7500     4.246 18.680 19.438  8.380 14.322<br>        8000     4.508 18.937 19.438  8.377 14.322<br>


        8500     4.441 17.865 19.440  8.376 14.324<br>        9000     4.104 19.036 19.438  8.373 14.324<br>        9500     4.676 18.528 19.439  8.371 14.325<br>        10000    4.313 18.953 19.443  8.371 14.328<br>        10500    4.045 18.462 19.441  8.368 14.328<br>


        11000    5.013 19.162 19.443  8.367 14.330<br>        11500    5.131 18.435 19.446  8.366 14.333<br>        12000    5.054 17.814 19.447  8.364 14.335<br>        12500    4.792 17.266 19.445  8.361 14.334<br>        13000    3.684 16.897 19.451  8.361 14.339<br>


        13500    3.885 16.450 19.451  8.359 14.340<br>        14000    4.007 17.088 19.453  8.357 14.342<br>        14500    3.846 17.498 19.456  8.356 14.345<br><br>&lt;snip&gt;<br><br>        172500   0.619 12.210 19.702  7.999 14.791<br>

        173000   0.668 12.609 19.703  8.000 14.793<br>        173500   0.559 12.401 19.702  7.999 14.793<br>        174000   0.507 12.638 19.701  8.000 14.794<br>        174500   0.518 12.512 19.697  7.998 14.792<br>        175000   0.757 12.316 19.701  8.000 14.796<br>

        175500   0.581 12.105 19.696  7.998 14.793<br>        176000   0.810 11.777 19.696  7.999 14.794<br>        176500   0.763 11.521 19.694  7.998 14.794<br>        177000   0.666 11.886 19.697  7.999 14.797<br>        177500   0.760 11.598 19.694  7.999 14.796<br>

        178000   0.495 11.356 19.689  7.997 14.793<br>        178500   0.782 11.741 19.693  7.999 14.797<br>        179000   0.509 11.908 19.692  7.999 14.798<br>        179500   0.654 12.413 19.690  7.998 14.797<br>        180000   0.840 12.171 19.694  8.000 14.801<br>

        180500   0.631 12.090 19.690  7.999 14.800<br>        181000   0.511 12.345 19.692  8.000 14.802<br>        181500   0.494 12.205 19.688  7.999 14.801<br>        182000   0.579 13.061 19.689  8.000 14.803<br>        182500   0.496 13.220 19.687  7.999 14.803<br>

<br>&lt;snip&gt;<br><br>        1.02e+06         0.785 13.881 19.555  7.999 14.902<br>
        1.0205e+06       0.920 13.526 19.552  7.998 14.900<br>        1.021e+06        0.764 12.981 19.551  7.998 14.899<br>        1.0215e+06       1.000 13.326 19.554  7.999 14.901<br>        1.022e+06        0.983 13.016 19.552  7.998 14.899<br>


        1.0225e+06       0.969 13.209 19.553  7.999 14.900<br>        1.023e+06        0.826 13.377 19.555  7.999 14.901<br>        1.0235e+06       0.717 12.895 19.555  7.999 14.901<br>        1.024e+06        0.868 13.191 19.555  7.999 14.902<br>


        1.0245e+06       0.868 12.682 19.557  8.000 14.903<br>        1.025e+06        0.524 12.980 19.556  8.000 14.903<br>        1.0255e+06       0.468 13.197 19.558  8.001 14.904<br>        1.026e+06        0.715 13.212 19.554  7.999 14.901<br>


        1.0265e+06       0.547 12.988 19.556  7.999 14.902<br>        1.027e+06        0.777 12.686 19.552  7.998 14.900<br>        1.0275e+06       0.798 12.490 19.555  7.999 14.902<br>        1.028e+06        0.702 12.716 19.554  7.999 14.901<br>


        1.0285e+06       0.661 12.851 19.555  7.999 14.902<br>        1.029e+06        0.505 12.433 19.553  7.999 14.901<br>        1.0295e+06       0.889 12.451 19.557  8.000 14.904<br>        1.03e+06         0.769 12.860 19.553  7.998 14.900<br>


        1.0305e+06       0.558 12.903 19.559  8.001 14.905<br>        1.031e+06        0.857 13.268 19.557  8.000 14.904<br><br><br><div class="gmail_quote">On 20 October 2010 13:22, Justin A. Lemkul <span dir="ltr">&lt;<a href="mailto:jalemkul@vt.edu" target="_blank">jalemkul@vt.edu</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div><br>
<br>
<a href="mailto:rainy908@yahoo.com" target="_blank">rainy908@yahoo.com</a> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hi,<br>
<br>
Is there a way to quantitatively determine, from a trajectory file, whether a molecule is interacting with a copy of itself in the adjacent box (given that PBC is applied)?  Currently, I&#39;m using VMD - I&#39;ve already loaded the *xtc file into the*gro structure file and viewed the &quot;periodic images to draw&quot; under the Periodic tab of Graphical Representations. <br>



But I figure there&#39;s got to be an analytical way to do this, using g_dist or g_mindist?  How the molecule is interacting (with its adjacent copy) is not the primary interest - I just want to know whether interactions among adjacent molecules are occurring.<br>



<br>
</blockquote>
<br></div></div>
>From g_mindist -h:<br>
<br>
&quot;With option -pi the minimum distance of a group to its periodic image is<br>
plotted. This is useful for checking if a protein has seen its periodic image<br>
during a simulation. Only one shift in each direction is considered, giving a<br>
total of 26 shifts. It also plots the maximum distance within the group and<br>
the lengths of the three box vectors.&quot;<br>
<br>
-Justin<div><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Does anyone have any ideas?<br>
<br>
Thanks,<br>
Lili<br>
<br>
</blockquote>
<br></div>
-- <br>
========================================<br>
<br>
Justin A. Lemkul<br>
Ph.D. Candidate<br>
ICTAS Doctoral Scholar<br>
MILES-IGERT Trainee<br>
Department of Biochemistry<br>
Virginia Tech<br>
Blacksburg, VA<br>
jalemkul[at]<a href="http://vt.edu" target="_blank">vt.edu</a> | (540) 231-9080<br>
<a href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin" target="_blank">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a><br>
<br>
========================================<br>
</blockquote></div><br>