Dear Justin<br><br>Thanks for your reply.<br><br>As you said &quot; You need to enclose your selection string within &#39; &#39; so it is interpreted as a 
single string.&quot; , I enclosed my selection string:<br><br><br>g_select -f com_ta_full_3.xtc -s com_ta_full.tpr -n index.ndx -oi -select &quot;Close to Protein&quot; &#39;resname&#39; &#39;SOL&#39; and within 0.25 of group &#39;Protein&#39;<br>
<br>But, unfortunately, Program g_select, VERSION 4.5.1<br>Source code file: statutil.c, line: 819<br><br>Invalid command line argument:<br>SOL<br><br><br>If I&#39;m wrong in using selection string above, please correct it.<br>
<br>Best regards.<br>