francesca vitalini wrote:
Yes but those tips are not for bash scripts... :(



Sure they are. This works in a bash script (replacing -flags with something actually sensible):

echo 3 3 | g_rms -flags

-Justin


2012/2/3 Mark Abraham <[email protected] <mailto:[email protected]>>

    On 4/02/2012 12:21 AM, francesca vitalini wrote:

        Hi!
        I have to use the gromacs command trjconv to obtain a .gro file
        from a .xtc and a .pdb file. I have to do it for several files
        in a bash for loop so I'd rather prefer to find a way to make my
        script type in the trjconv interactive terminal always the same
        number for the system. Any tips?


    Check out
    http://www.gromacs.org/__Documentation/How-tos/Using___Commands_in_Scripts
    <http://www.gromacs.org/Documentation/How-tos/Using_Commands_in_Scripts>

    Mark

-- gmx-users mailing list [email protected]
    <mailto:[email protected]>
    http://lists.gromacs.org/__mailman/listinfo/gmx-users
    <http://lists.gromacs.org/mailman/listinfo/gmx-users>
    Please search the archive at
    http://www.gromacs.org/__Support/Mailing_Lists/Search
    <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 [email protected]
    <mailto:[email protected]>.
    Can't post? Read http://www.gromacs.org/__Support/Mailing_Lists
    <http://www.gromacs.org/Support/Mailing_Lists>



--
========================================

Justin A. Lemkul
Ph.D. Candidate
ICTAS Doctoral Scholar
MILES-IGERT Trainee
Department of Biochemistry
Virginia Tech
Blacksburg, VA
jalemkul[at]vt.edu | (540) 231-9080
http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin

========================================
--
gmx-users mailing list    [email protected]
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 [email protected].
Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

Reply via email to