<br><br>----- Original Message -----<br>From: chris.neale@utoronto.ca<br>Date: Thursday, June 3, 2010 16:19<br>Subject: Re: [gmx-developers] g_sdf, who developed it?<br>To: gmx-developers@gromacs.org<br><br>&gt; I wrote g_spatial. I have never used g_sdf, but the programs are <br>&gt; not exactly identical. Ideally they might be combined, but I <br>&gt; looked into that a while ago and it is beyond my abilities.<br>&gt; <br>&gt; - g_sdf does a fitting based on (I think) 3 atoms defined by the user.<br>&gt; - g_spatial requires the user to do all of the fitting via trjconv.<br>&gt; <br>&gt; In my opinion, it is easier and more robust to require the user <br>&gt; to first pre-process the trajectory with trjconv. Nevertheless, <br>&gt; I see more users on the list inquiring about g_sdf; It is <br>&gt; impossible to discern if this is because g_sdf is harder to use <br>&gt; or because it is more often used.<br>&gt; <br>&gt; The reasons to use g_spatial, are that one might want to fit <br>&gt; based on some arbitrary routine, and this should always be <br>&gt; possible via trjconv. In my opinion, the only thing that favours <br>&gt; g_sdf is that one doesn't need to have the disk space to store a <br>&gt; fit trajectory prior to running g_sdf -- and this could be a big <br>&gt; plus for g_sdf in some cases.<br><br>A solution that does not require the existence of excess disk is that of named pipes (http://en.wikipedia.org/wiki/Named_pipe). I've used such in the past to pipe the .xvg output of some GROMACS tool straight to g_analyze, for example. It's straightforward to write a shell script that makes the named pipe, sets up the consumer process in the background and then runs the producer process.<br><br>I know nothing about either g_sdf or g_spatial, but perhaps the existence of this technique indicates a consolidation of these tools along the lines suggested by Chris.<br><br>Mark<br><br>&gt; In the end, I can only comment that I and my colleagues find <br>&gt; g_spatial to be very useful. Also, from a simple magnitude of <br>&gt; the comments on the list, there is also a desire to use g_sdf.<br>&gt; <br>&gt; Obviously you're close to a release and not wanting to do more <br>&gt; coding, but I note that the idea behind g_spatial was to keep it <br>&gt; simple... let trjconv do all of the heavy lifting. Perhaps it <br>&gt; would be possible in the future to add a new trjconv option to <br>&gt; do whatever fitting is done in g_sdf?<br>&gt; <br>&gt; Sorry I can't be definitive here,<br>&gt; Chris.<br>&gt; <br>&gt; Quoting David van der Spoel &lt;spoel@xray.bmc.uu.se&gt;:<br>&gt; <br>&gt; &gt;On 2010-06-03 06.19, Tsjerk Wassenaar wrote:<br>&gt; &gt;&gt;Hi David, Chris,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;The bug referred to concers make_ndx, not g_sdf. I indeed made <br>&gt; a few<br>&gt; &gt;&gt;changes in the code, but those were minor adaptations required <br>&gt; to have<br>&gt; &gt;&gt;it work with GMX3.3.1, such as changing gmx_fatal statements.<br>&gt; &gt;&gt;<br>&gt; &gt;oops it should be<br>&gt; &gt;<br>&gt; &gt;http://bugzilla.gromacs.org/show_bug.cgi?id=356<br>&gt; &gt;<br>&gt; &gt;An additional problem is that we have two seemingly identical <br>&gt; programs,&gt;g_sdf and g_spatial<br>&gt; &gt;Chris: did you develop the latter then?<br>&gt; &gt;<br>&gt; &gt;Question is whether we need both...<br>&gt; &gt;<br>&gt; &gt;&gt;Cheers,<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;Tsjerk<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;On Wed, Jun 2, 2010 at 10:39 <br>&gt; PM,&lt;chris.neale@utoronto.ca&gt;&nbsp; wrote:<br>&gt; &gt;&gt;&gt;g_sdf was developed by Christoph Freudenburger. It was <br>&gt; uploaded and<br>&gt; &gt;&gt;&gt;supported with mailing-list assistance by Dallas Warren:<br>&gt; &gt;&gt;&gt;http://lists.gromacs.org/pipermail/gmx-users/2005-<br>&gt; August/016578.html&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;Looks like it was also modified by Tsjerk Wassenaar (to work <br>&gt; with 3.3.1):<br>&gt; &gt;&gt;&gt;http://www.gromacs.org/index.php?title=Download_%26_Installation/User_contributions/Other_software<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;Quoting David van der Spoel&lt;spoel@xray.bmc.uu.se&gt;:<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;Hi,<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;I forgot who contributed the code for g_sdf, but there seems <br>&gt; to be a<br>&gt; &gt;&gt;&gt;&gt;strange problem with the code. Maybe he/she with insight in <br>&gt; the innards<br>&gt; &gt;&gt;&gt;&gt;of the program can have a look at<br>&gt; &gt;&gt;&gt;&gt;http://bugzilla.gromacs.org/show_bug.cgi?id=367<br>&gt; &gt;&gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;&gt;Thanks,<br>&gt; &gt;&gt;&gt;&gt;--<br>&gt; &gt;&gt;&gt;&gt;David van der Spoel, Ph.D., Professor of Biology<br>&gt; &gt;&gt;&gt;&gt;Dept. of Cell&amp;&nbsp; Molec. Biol., Uppsala University.<br>&gt; &gt;&gt;&gt;&gt;Box 596, 75124 Uppsala, Sweden. Phone:&nbsp; +46184714205.<br>&gt; &gt;&gt;&gt;&gt;spoel@xray.bmc.uu.se&nbsp;&nbsp;&nbsp; http://folding.bmc.uu.se<br>&gt; &gt;&gt;&gt;&gt;--<br>&gt; &gt;&gt;&gt;&gt;gmx-developers mailing list<br>&gt; &gt;&gt;&gt;&gt;gmx-developers@gromacs.org<br>&gt; &gt;&gt;&gt;&gt;http://lists.gromacs.org/mailman/listinfo/gmx-developers<br>&gt; &gt;&gt;&gt;&gt;Please don't post (un)subscribe requests to the list. Use <br>&gt; the www<br>&gt; &gt;&gt;&gt;&gt;interface or send it to gmx-developers-request@gromacs.org.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;&gt;--<br>&gt; &gt;&gt;&gt;gmx-developers mailing list<br>&gt; &gt;&gt;&gt;gmx-developers@gromacs.org<br>&gt; &gt;&gt;&gt;http://lists.gromacs.org/mailman/listinfo/gmx-developers<br>&gt; &gt;&gt;&gt;Please don't post (un)subscribe requests to the list. Use <br>&gt; thewww interface<br>&gt; &gt;&gt;&gt;or send it to gmx-developers-request@gromacs.org.<br>&gt; &gt;&gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;&gt;<br>&gt; &gt;<br>&gt; &gt;<br>&gt; &gt;-- <br>&gt; &gt;David van der Spoel, Ph.D., Professor of Biology<br>&gt; &gt;Dept. of Cell &amp; Molec. Biol., Uppsala University.<br>&gt; &gt;Box 596, 75124 Uppsala, Sweden. Phone:        +46184714205.<br>&gt; &gt;spoel@xray.bmc.uu.se&nbsp;&nbsp;&nbsp; http://folding.bmc.uu.se<br>&gt; &gt;-- <br>&gt; &gt;gmx-developers mailing list<br>&gt; &gt;gmx-developers@gromacs.org<br>&gt; &gt;http://lists.gromacs.org/mailman/listinfo/gmx-developers<br>&gt; &gt;Please don't post (un)subscribe requests to the list. Use the www<br>&gt; &gt;interface or send it to gmx-developers-request@gromacs.org.<br>&gt; <br>&gt; <br>&gt; <br>&gt; -- <br>&gt; gmx-developers mailing list<br>&gt; gmx-developers@gromacs.org<br>&gt; http://lists.gromacs.org/mailman/listinfo/gmx-developers<br>&gt; Please don't post (un)subscribe requests to the list. Use thewww <br>&gt; interface or send it to gmx-developers-request@gromacs.org.