Dear Tsjerk and Mark Thanks for your time and attention.
using g_select -f *.xtc -s *.tpr -n index.ndx -oi -select '"Close to Protein" resname SOL and within 0.25 of group Protein' solved my problem. I want to use trjorder -f *.xtc -s *.tpr -n index.ndx -o ordered.pdb -nshell -r 0.25 -na 3 -da 1 to order water molecules according to the smallest distance to atoms in a reference group (protein). Should the results of both of g_select and trjorder be the same? Best regards.
-- gmx-users mailing list gmx-users@gromacs.org http://lists.gromacs.org/mailman/listinfo/gmx-users Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! Please don't post (un)subscribe requests to the list. Use the www interface or send it to gmx-users-requ...@gromacs.org. Can't post? Read http://www.gromacs.org/Support/Mailing_Lists