<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><title>Re[2]: [gmx-users] params for g_cluster and g_clustsize</title>
<META http-equiv=Content-Type content="text/html; charset=windows-1251">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
body {
  margin: 5px 5px 5px 5px;
  background-color: #ffffff;
}
/* ========== Text Styles ========== */
hr { color: #000000}
body, table /* Normal text */
{
 font-size: 9pt;
 font-family: 'Courier New';
 font-style: normal;
 font-weight: normal;
 color: #000000;
 text-decoration: none;
}
span.rvts1 /* Heading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #0000ff;
}
span.rvts2 /* Subheading */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-weight: bold;
 color: #000080;
}
span.rvts3 /* Keywords */
{
 font-size: 10pt;
 font-family: 'Arial';
 font-style: italic;
 color: #800000;
}
a.rvts4, span.rvts4 /* Jump 1 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
a.rvts5, span.rvts5 /* Jump 2 */
{
 font-size: 10pt;
 font-family: 'Arial';
 color: #008000;
 text-decoration: underline;
}
span.rvts6
{
 font-weight: bold;
 color: #800000;
}
span.rvts7
{
 font-weight: bold;
 color: #800080;
}
a.rvts8, span.rvts8
{
 color: #0000ff;
 text-decoration: underline;
}
span.rvts9
{
 font-weight: bold;
 color: #800080;
}
span.rvts10
{
 font-size: 8pt;
 font-family: 'arial';
 font-style: italic;
 color: #c0c0c0;
}
a.rvts11, span.rvts11
{
 font-size: 8pt;
 font-family: 'arial';
 color: #0000ff;
 text-decoration: underline;
}
/* ========== Para Styles ========== */
p,ul,ol /* Paragraph Style */
{
 text-align: left;
 text-indent: 0px;
 padding: 0px 0px 0px 0px;
 margin: 0px 0px 0px 0px;
}
.rvps1 /* Centered */
{
 text-align: center;
}
--></style>
</head>
<body>

<p>Hi, Erik!</p>
<p><br></p>
<p>Many thanks for your exhaustive reply.</p>
<p><br></p>
<p><span class=rvts6>&gt; Dmitri Dubov skrev:</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; Thanks, David.</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; Sorry, maybe my questions were too fuzzy.</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; They concern the definition of cluster in these codes.</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; 1) When we estimate through single linkage whether the structure&nbsp;</span></p>
<p><span class=rvts7>&gt;&gt; belongs to the cluster we should find the smallest distance between&nbsp;</span></p>
<p><span class=rvts7>&gt;&gt; any element of the structure and any element of cluster, then compare&nbsp;</span></p>
<p><span class=rvts7>&gt;&gt; this distance with the cutoff value. I don't understand how this&nbsp;</span></p>
<p><span class=rvts7>&gt;&gt; cutoff value may have "root mean square deviation" feature.</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts6>&gt; The rmsd is given in nm, and if the rmsd falls below the cutoff (also&nbsp;</span></p>
<p><span class=rvts6>&gt; given in nm, of course) the two frames are part of the same cluster when</span></p>
<p><span class=rvts6>&gt; single lincage is used for g_cluster.</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; 2) To my knowledge the g_clustsize uses the same "single linkage"&nbsp;</span></p>
<p><span class=rvts7>&gt;&gt; algorithm for cluster construction. If so, there should be the similar&nbsp;</span></p>
<p><span class=rvts7>&gt;&gt; cut-off parameter. The -cut option looks like this one. But very&nbsp;</span></p>
<p><span class=rvts7>&gt;&gt; different default values of these parameters (cutoff=0.1 in g_cluster&nbsp;</span></p>
<p><span class=rvts7>&gt;&gt; and cut=0.35 in g_clustsize) are doubted to me.</span></p>
<p><br></p>
<p><span class=rvts6>&gt; Here's what I believe you've not quite grasped: g_cluster clusters&nbsp;</span></p>
<p><span class=rvts6>&gt; *frames* in a trajectory, generating groups of structures; g_clustsize</span></p>
<p><span class=rvts6>&gt; clusters atoms/molecules *within each frame*. That said, the low default</span></p>
<p><span class=rvts6>&gt; cutoff for g_cluster makes it less likely that you will end up with all</span></p>
<p><span class=rvts6>&gt; frames in the same cluster, and the higher default cut-off for&nbsp;</span></p>
<p><span class=rvts6>&gt; g_clustsize is the typical hydrogen bond length and is useful for&nbsp;</span></p>
<p><span class=rvts6>&gt; finding water clusters, e.g. droplets in vacuo.</span></p>
<p><br></p>
<p>OK, I was using g_clustsize for similar aim. Not understanding&nbsp;<span class=rvts6>g_cluster action&nbsp;</span>I fell into idle trouble about correctness of my analysis<span class=rvts6>.</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; These two questions may be reformulated to single one:</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; If I would apply these two codes (using single linkage with default&nbsp;</span></p>
<p><span class=rvts7>&gt;&gt; values) to the same system how different would be the cluster partitions?</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts6>&gt; One would be clusters containing frames, the other clusters containing</span></p>
<p><span class=rvts6>&gt; atoms/molecules. They are used for completely different things.</span></p>
<p><br></p>
<p><span class=rvts6>&gt; /Erik</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; Thanks one more.</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; Dmitri</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt; Dmitri Dubov wrote:</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; Dear gmx'ers,</span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; Could you explain me the following points in manuals for g_cluster and&nbsp;</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; g_clustsize programs?</span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; 1) Manual for g_cluster:</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; "single linkage: add a structure to a cluster when its distance to any&nbsp;</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; element of the cluster is less than cutoff...</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; Other options...</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; -cutoff real 0.1 RMSD cut-off (nm) for two structures to be neighbor"</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; What does "RMSD" mean here?</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt; Root mean square deviation. Typical for proteins.</span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; 2) Manual for g_clustsize:</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; "-cut real 0.35 Largest distance (nm) to be considered in a cluster"</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; Is there any difference between -cut and -cutoff in g_cluster above?</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt; These are two different programs, unfortunately not sharing any code.</span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; Thanks.</span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; Dmitri</span></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; ------------------------------------------------------------------------</span></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; _______________________________________________</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; gmx-users mailing list &nbsp; &nbsp;</span><a class=rvts8 href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><span class=rvts9>&nbsp;</span></p>
<p><span class=rvts7>&gt;&gt; &lt;</span><a class=rvts8 href="mailto:gmx-users@gromacs.org">mailto:gmx-users@gromacs.org</a><span class=rvts9>&gt;</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt;&nbsp;</span><a class=rvts8 href="http://lists.gromacs.org/mailman/listinfo/gmx-users">http://lists.gromacs.org/mailman/listinfo/gmx-users</a></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; Please search the archive at&nbsp;</span><a class=rvts8 href="http://www.gromacs.org/search">http://www.gromacs.org/search</a><span class=rvts9>&nbsp;before&nbsp;</span></p>
<p><span class=rvts7>&gt;&gt; posting!</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; Please don't post (un)subscribe requests to the list. Use the&nbsp;</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; www interface or send it to&nbsp;</span><a class=rvts8 href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a><span class=rvts9>&nbsp;</span></p>
<p><span class=rvts7>&gt;&gt; &lt;</span><a class=rvts8 href="mailto:gmx-users-request@gromacs.org">mailto:gmx-users-request@gromacs.org</a><span class=rvts9>&gt;.</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; &gt;&gt; Can't post? Read&nbsp;</span><a class=rvts8 href="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</a></p>
<p><br></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; ------------------------------------------------------------------------</span></p>
<p><br></p>
<p><span class=rvts7>&gt;&gt; _______________________________________________</span></p>
<p><span class=rvts7>&gt;&gt; gmx-users mailing list &nbsp; &nbsp;</span><a class=rvts8 href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a></p>
<p><a class=rvts8 href="http://lists.gromacs.org/mailman/listinfo/gmx-users">&gt;&gt; http://lists.gromacs.org/mailman/listinfo/gmx-users</a></p>
<p><span class=rvts7>&gt;&gt; Please search the archive at&nbsp;</span><a class=rvts8 href="http://www.gromacs.org/search">http://www.gromacs.org/search</a><span class=rvts9>&nbsp;before posting!</span></p>
<p><span class=rvts7>&gt;&gt; Please don't post (un)subscribe requests to the list. Use the&nbsp;</span></p>
<p><span class=rvts7>&gt;&gt; www interface or send it to&nbsp;</span><a class=rvts8 href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a><span class=rvts9>.</span></p>
<p><span class=rvts7>&gt;&gt; Can't post? Read&nbsp;</span><a class=rvts8 href="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</a></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><br></p>
<p><span class=rvts10>--&nbsp;</span></p>
<p><span class=rvts10>Regards,</span></p>
<p><span class=rvts10>&nbsp;Dmitri &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;</span><a class=rvts11 href="mailto:ddubov@ngs.ru">mailto:ddubov@ngs.ru</a></p>

</body></html>