<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<br>
<br>
sa wrote:<br>
&gt;<br>
&gt;     On 13/11/2010 4:07 AM, sa wrote:<br>
&gt;      &gt; Dear All,<br>
&gt;      &gt;<br>
&gt;      &gt; I would like to compute the average 2D density distribution of the<br>
&gt;      &gt; water around 6 peptides aggregated in the cluster within the<br>
&gt;      &gt; simulation box with gromacs, for that I think that g_densmap is the<br>
&gt;      &gt; the good tool (correct ?).<br>
&gt;      &gt;<br>
&gt;      &gt; However it is not very clear for how to use g_densmap. Below the<br>
&gt;      &gt; command I used with g_densmap (ver GMX 4.5.3)<br>
&gt;      &gt;<br>
&gt;      &gt; g_densmap_mpi -f ./TRAJ/XTC/6_Pep_Urea_Pref_All.xtc -s<br>
&gt;      &gt; ./TRAJ/TPR/em.tpr  -bin 0.02 -amax 30 -rmax 30 -b 0 -e 80000 -o<br>
&gt;      &gt; 6_Peptide_53A6_densmap.xpm -od 6_Peptide_53A6_densmap.dat<br>
&gt;      &gt;<br>
&gt;      &gt; When I use the above command, g_densmap asks me to choose two groups<br>
&gt;      &gt; to define the axis and an analysis group:<br>
&gt;      &gt;<br>
&gt;      &gt; Reading file ./TRAJ/TPR/em.tpr, VERSION 4.5.1 (single precision)<br>
&gt;      &gt; Reading file ./TRAJ/TPR/em.tpr, VERSION 4.5.1 (single precision)<br>
&gt;      &gt; Select two groups to define the axis and an analysis group<br>
&gt;      &gt; Group     0 (         System) has 86359 elements<br>
&gt;      &gt; Group     1 (        Protein) has   546 elements<br>
&gt;      &gt; Group     2 (      Protein-H) has   396 elements<br>
&gt;      &gt; Group     3 (        C-alpha) has    48 elements<br>
&gt;      &gt; Group     4 (       Backbone) has   144 elements<br>
&gt;      &gt; Group     5 (      MainChain) has   192 elements<br>
&gt;      &gt; Group     6 (   MainChain+Cb) has   234 elements<br>
&gt;      &gt; Group     7 (    MainChain+H) has   246 elements<br>
&gt;      &gt; Group     8 (      SideChain) has   300 elements<br>
&gt;      &gt; Group     9 (    SideChain-H) has   204 elements<br>
&gt;      &gt; Group    10 (    Prot-Masses) has   546 elements<br>
&gt;      &gt; Group    11 (    non-Protein) has 85813 elements<br>
&gt;      &gt; Group    12 (          Other) has 17320 elements<br>
&gt;      &gt; Group    13 (            URE) has 17320 elements<br>
&gt;      &gt; Group    14 (             CL) has     6 elements<br>
&gt;      &gt; Group    15 (          Water) has 68487 elements<br>
&gt;      &gt; Group    16 (            SOL) has 68487 elements<br>
&gt;      &gt; Group    17 (      non-Water) has 17872 elements<br>
&gt;      &gt; Group    18 (            Ion) has     6 elements<br>
&gt;      &gt; Group    19 (            URE) has 17320 elements<br>
&gt;      &gt; Group    20 (             CL) has     6 elements<br>
&gt;      &gt; Group    21 ( Water_and_ions) has 68493 elements<br>
&gt;      &gt; Select a group: 1<br>
&gt;      &gt; Selected 1: &#39;Protein&#39;<br>
&gt;      &gt; Select a group: 16<br>
&gt;      &gt; Selected 16: &#39;SOL&#39;<br>
&gt;      &gt; Select a group: 16<br>
&gt;      &gt; Selected 16: &#39;SOL&#39;<br>
&gt;      &gt;<br>
&gt;      &gt; I chose protein and SOL, the program ask me to choose a third group<br>
&gt;      &gt; (?) What to choose ?<br>
&gt;<br>
&gt;     Doesn&#39;t g_densmap -h explain the three groups?<br>
&gt;<br>
&gt;<br>
&gt;  Yes I have read the help of the tool but it is not clear to me why i<br>
&gt; have to choose three groups since i want to compute the water density<br>
&gt; map around my peptides (-&gt; two groups)<br>
&gt;<br>
&gt;<br>
<br>
The first two groups determine the axis.  Per g_densmap -h:<br>
<br>
&quot;Three groups should be supplied, the centers of mass of the first two<br>
groups define the axis, the third defines the analysis group.&quot;<br>
<br>
I suspect the fact that you&#39;ve chosen &quot;SOL&quot; for the second group might be<br>
causing problems (since, presumably, you have water all around), but I have<br>
never used g_densmap, so I don&#39;t know for sure.<br>
<br>
-Justin<br></blockquote><div><br>Ok I will try and play with the different groups of my system to see if it works...<br><br>Stefane<br> </div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<br>
&gt;      &gt; I choose SOL again, the program computes something but i can not<br>
&gt;      &gt; inspect the results are what i want since no xpm is generated by<br>
&gt;      &gt; g_densmap (is this a bug ?)<br>
&gt;<br>
&gt;     Probably badly-formed input is silently breaking something somewhere.<br>
&gt;<br>
&gt;<br>
&gt; I don&#39;t understand your response since with the above command and -o<br>
&gt; argument show that an xpm with the name &quot;6_Peptide_53A6_densmap.xpm&quot;<br>
&gt; should appear<br>
&gt;<br>
&gt;<br>
&gt;                          :-)  G  R  O  M  A  C  S  (-:<br>
&gt;<br>
&gt;                      Gnomes, ROck Monsters And Chili Sauce<br>
&gt;<br>
&gt;                             :-)  VERSION 4.5.3  (-:<br>
&gt;<br>
&gt;         Written by Emile Apol, Rossen Apostolov, Herman J.C. Berendsen,<br>
&gt;       Aldert van Buuren, Pär Bjelkmar, Rudi van Drunen, Anton Feenstra,<br>
&gt;         Gerrit Groenhof, Peter Kasson, Per Larsson, Pieter Meulenhoff,<br>
&gt;            Teemu Murtola, Szilard Pall, Sander Pronk, Roland Schulz,<br>
&gt;                 Michael Shirts, Alfons Sijbers, Peter Tieleman,<br>
&gt;<br>
&gt;                Berk Hess, David van der Spoel, and Erik Lindahl.<br>
&gt;<br>
&gt;        Copyright (c) 1991-2000, University of Groningen, The Netherlands.<br>
&gt;             Copyright (c) 2001-2010, The GROMACS development team at<br>
&gt;         Uppsala University &amp; The Royal Institute of Technology, Sweden.<br>
&gt;             check out <a href="http://www.gromacs.org" target="_blank">http://www.gromacs.org</a> for more information.<br>
&gt;<br>
&gt;          This program is free software; you can redistribute it and/or<br>
&gt;           modify it under the terms of the GNU General Public License<br>
&gt;          as published by the Free Software Foundation; either version 2<br>
&gt;              of the License, or (at your option) any later version.<br>
&gt;<br>
&gt;            :-)  /work/taulier01/gromacs-4.5.3/bin/g_densmap_mpi  (-:<br>
&gt;<br>
&gt; Option     Filename  Type         Description<br>
&gt; ------------------------------------------------------------<br>
&gt;   -f ./TRAJ/XTC/6_Pep_Urea_Pref_All.xtc  Input        Trajectory: xtc<br>
&gt; trr trj<br>
&gt;                                    gro g96 pdb cpt<br>
&gt;   -s ./TRAJ/TPR/em.tpr  Input, Opt!  Structure+mass(db): tpr tpb tpa gro g96<br>
&gt;                                    pdb<br>
&gt;   -n      index.ndx  Input, Opt.  Index file<br>
&gt;  -od 6_Peptide_53A6_densmap.dat  Output, Opt! Generic data file<br>
&gt;   -o 6_Peptide_53A6_densmap.xpm  Output       X PixMap compatible matrix<br>
&gt; file<br>
&gt;<br>
&gt;<br>
&gt; Stefane<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     Mark<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
--<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>
<br>
<br>
<font color="#888888"><br>
</font></blockquote></div><br>