[gmx-users] question about make_ndx

Carlos Navarro carlos.navarro87 at gmail.com
Thu Apr 4 17:55:30 CEST 2019

Dear gmx users,
I’m trying to feed make_ndx though echo, but I’m having some issues.
When I use echo  "r 1"  | gmx make_ndx -f struc.gro -o test.ndx I got the
following error message:

Fatal error:
Error reading user input

So apparently I have to include also the q argument to close properly
make_ndx, but I don’t know how to do this.
I have tried with echo  "r 1 q"  | gmx make_ndx, echo  "r 1” “q"  | gmx
make_ndx, and other combinations, but non of them worked.
Any ideas?
Best regards,

Carlos Navarro Retamal
Bioinformatic Engineering. PhD.
Postdoctoral Researcher in Center of Bioinformatics and Molecular
Universidad de Talca
Av. Lircay S/N, Talca, Chile
E: carlos.navarro87 at gmail.com or cnavarro at utalca.cl

More information about the gromacs.org_gmx-users mailing list