[gmx-users] trjconv select group

Tsjerk Wassenaar tsjerkw at gmail.com
Sat Feb 4 08:42:34 CET 2012


In bash you can also use 'here-strings':

trjconv ... <<< 0

Quite similar to using echo, though.

Cheers,

Tsjerk

On Feb 3, 2012 3:17 PM, "lina" <lina.lastname at gmail.com> wrote:

On Friday 03,February,2012 10:02 PM, francesca vitalini wrote: > > Sure! >
My code is > > #!/bin/bas...
try touch a file as index.txt and put 0 in the index.txt

trjconv -f ../xtc/300-${i}.xtc -s ../../dynamin_dimer_phfitted.**pdb -o
../cg_gro/300-${i}.gro -pbc < index.txt

> done > > very stupidly I just need to type 0 all the time in the
interactive > window that trjco...

> Thanks
>
> 2012/2/3 lina <lina.lastname at gmail.com <mailto:lina.lastname at gmail.**com<lina.lastname at gmail.com>
> >>
>
> > >    On Friday 03,February,2012 09:56 PM, francesca vitalini wrote: > >
>        Yes but those tips...
>        <mailto:Mark.Abraham at anu.edu._**_au <mailto:Mark.Abraham at anu.edu.**
> au <Mark.Abraham at anu.edu.au>>>>
>
> > > >            On 4/02/2012 12:21 AM, francesca vitalini wrote: > >
>            Hi! >         ...
>        http://www.gromacs.org/____**Documentation/How-tos/Using___**
> __Commands_in_Scripts<http://www.gromacs.org/____Documentation/How-tos/Using_____Commands_in_Scripts>
>        <http://www.gromacs.org/__**Documentation/How-tos/Using___**
> Commands_in_Scripts<http://www.gromacs.org/__Documentation/How-tos/Using___Commands_in_Scripts>
> >
>
> > >        <
> http://www.gromacs.org/__Documentation/How-tos/Using___Commands_in_Scripts>        <ht...
>        <mailto:gmx-users at gromacs.org <mailto:gmx-users at gromacs.org>**>
>        http://lists.gromacs.org/____**mailman/listinfo/gmx-users<http://lists.gromacs.org/____mailman/listinfo/gmx-users>
>        <http://lists.gromacs.org/__**mailman/listinfo/gmx-users<http://lists.gromacs.org/__mailman/listinfo/gmx-users>
> >
>
> > >        <http://lists.gromacs.org/__mailman/listinfo/gmx-users >
>  <http://lists.gromacs.or...
>        http://www.gromacs.org/____**Support/Mailing_Lists/Search<http://www.gromacs.org/____Support/Mailing_Lists/Search>
>        <http://www.gromacs.org/__**Support/Mailing_Lists/Search<http://www.gromacs.org/__Support/Mailing_Lists/Search>
> >
>
> > >        <http://www.gromacs.org/__Support/Mailing_Lists/Search >
>  <http://www.gromacs.org/...
>        <mailto:gmx-users-request at __gr**omacs.org <http://gromacs.org>
>
> >        <mailto:gmx-users-request at gromacs.org>>. >            Can't
> post? Read
>        http://www.gromacs.org/____**Support/Mailing_Lists<http://www.gromacs.org/____Support/Mailing_Lists>
>        <http://www.gromacs.org/__**Support/Mailing_Lists<http://www.gromacs.org/__Support/Mailing_Lists>
> >
>
> >        <http://www.gromacs.org/__Support/Mailing_Lists >        <
> http://www.gromacs.org/Support/M...
>
-- gmx-users mailing list    gmx-users at gromacs.org
http://lists.gromacs.org/mailman/listinfo/gmx-u...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20120204/67ad43d5/attachment.html>


More information about the gromacs.org_gmx-users mailing list