Automate atom/group selections?

GROMACS version: 2021.3
GROMACS modification: Yes/No
Here post your question

When running commands like gmx make_ndx and gmx cluster, I am prompted to select a group for the analysis. Is there a way I could modify the gmx command to automatically select the desired group(s)?

You can use echo to pass selections to any GROMACS utility.

echo X Y | gmx command ...
1 Like