<p>Hi Marc,</p>
<p>I think that -zeroq ignores the indexing. Using an index will extract a .tpr for the index group only, which is not what you want. There is no simple way to do what you want (using tpbconv). You&#39;ll have to modify the charge in the .top file and generate a new .tpr</p>

<p>Cheers,</p>
<p>Tsjerk</p>
<p><blockquote type="cite">On Sep 30, 2011 3:05 AM, &quot;Marc Charendoff&quot; &lt;<a href="mailto:mcharend@sbcglobal.net">mcharend@sbcglobal.net</a>&gt; wrote:<br><br><div><div style="font-family:arial, helvetica, sans-serif;font-size:10pt;color:#000000">
<div>Hello,</div><div><br></div><div>      I&#39;m trying to turn off a Na+ charge using tpbconv in 4.5.4. There is only one Na+ counterion in my simulation.  I create an index file, run tpbconv,  and my output file looks like the following:</div>
<div><br></div><div>[mcharend@xanadu C4_IS]$ tpbconv -s md.tpr -o mdn.tpr -n index.ndx -zeroq</div><div><br></div><div>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.</div>
<div><br></div><div><div>Reading toplogy and stuff from md.tpr</div><div>Reading file md.tpr, VERSION 4.5.4 (single precision)</div><div>500000 steps (1000 ps) remaining from first run.</div><div>Group     0 (      
   System) has  3037 elements</div><div>Group     1 (          Other) has    15 elements</div><div>Group     2 (            DRG) has    15 elements</div><div>Group     3 (            NA+) has     1 elements</div><div>Group     4 (          Water) has  3021 elements</div>
<div>Group     5 (            SOL) has  3021 elements</div><div>Group     6 (      non-Water) has    16 elements</div><div>Group     7 (            Ion) has     1 elements</div><div>Group     8 (            DRG) has    15 elements</div>
<div>Group     9 (            NA+) has  
   1 elements</div><div>Group    10 ( Water_and_ions) has  3022 elements</div><div>Group    11 (            NA+) has     1 elements</div><div>Select a group: 9</div><div>Selected 9: &#39;NA+&#39;</div><div>Segmentation fault</div>
<div>[mcharend@xanadu C4_IS]$ </div></div><div><br></div><div>The bottom of my index.ndx file looks like:</div><div><br></div><div>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span>.<span style="white-space:pre-wrap">        </span></div>
<div><br></div><div><div>[ NA+ ]</div><div>3037</div></div><div><br></div><div>Guidance appreciated. </div><div><br></div><div>Thanks , Marc</div><div></div>


</div></div><br>--<br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br></blockquote></p>