[gmx-users] Can I make make_ndx interactive?

Jochen Hub jochen at xray.bmc.uu.se
Wed Aug 4 12:18:19 CEST 2010


Jennifer Williams wrote:
>
> Hi,
>
>
> Is there some way of making the make_ndx file interactive so that I 
> can include it in a script?
>
> I would usually type in  "a C_O and O_C" to select my atoms
>
> I've tried altering the example on the webpage for making commands 
> interactive:
>
> make_ndx -flags <<EOF
> a C_O OC
> q
> EOF -f nn_1.pdb
try:

cat << EOF | make_ndx -f prot.pdb
a C_O
q
EOF

Jochen
>
> but -flags doesn't seem to be recognized. Does anyone know a work around?
>
> Thanks
>
> Jenny
>
>
>
>
>


-- 
---------------------------------------------------
Dr. Jochen Hub
Molecular Biophysics group
Dept. of Cell & Molecular Biology
Uppsala University. Box 596, 75124 Uppsala, Sweden.
Phone: +46-18-4714451 Fax: +46-18-511755
---------------------------------------------------




More information about the gromacs.org_gmx-users mailing list