[gmx-users] non interactive command

aiswarya pawar aiswarya.pawar at gmail.com
Wed Sep 28 19:40:02 CEST 2011


i have N number of selection ie it should run as a batch. like its should
select group1: 0 and select group2: 32, this is 1st run then after this next
run should be  select group1: 1 and select group2: 32 and so on.

On Wed, Sep 28, 2011 at 10:56 PM, Justin A. Lemkul <jalemkul at vt.edu> wrote:

>
>
> aiswarya pawar wrote:
>
>> justin,
>>
>> if i use echo command then i need to run again and again for each
>> selection right? how can i run as whole bunch.
>>
>>
> I don't understand your question.  You can write a trivial shell script for
> all of your analysis, e.g.:
>
> #!/bin/bash
>
> echo 4 4 | g_rms -f traj.xtc -s topol.tpr
>
> echo 1 | g_gyrate -f traj.xtc -s topol.tpr
>
> (etc)
>
> -Justin
>
>  Thanks
>>
>>
>> On Wed, Sep 28, 2011 at 10:31 PM, Justin A. Lemkul <jalemkul at vt.edu<mailto:
>> jalemkul at vt.edu>> wrote:
>>
>>
>>
>>    aiswarya pawar wrote:
>>
>>        Hi users,
>>
>>        I have n number of program to run so my index file is huge, i
>>        want to know if i use the command option g_energy -flags <
>>        choice.txt , it takes up the numbers given right? but if i have
>>        n numbers in the choice txt. how would it take in each run , ie
>>        it will take 1st two numbers and what about the rest?
>>
>>
>>    You should only provide the chosen number(s), otherwise the program
>>    will try to read all of them.  In the case where you have many
>>    different programs to run, it is vastly easier to run, for instance:
>>
>>    echo x y | g_program -flags
>>
>>    -Justin
>>
>>    --     ==============================**__==========
>>
>>    Justin A. Lemkul
>>    Ph.D. Candidate
>>    ICTAS Doctoral Scholar
>>    MILES-IGERT Trainee
>>    Department of Biochemistry
>>    Virginia Tech
>>    Blacksburg, VA
>>    jalemkul[at]vt.edu <http://vt.edu> | (540) 231-9080
>>
>>    http://www.bevanlab.biochem.__**vt.edu/Pages/Personal/justin<http://vt.edu/Pages/Personal/justin>
>>    <http://www.bevanlab.biochem.**vt.edu/Pages/Personal/justin<http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin>
>> >
>>
>>    ==============================**__==========
>>    --     gmx-users mailing list    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>
>> >
>>    Please search the archive at
>>    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>>
>> before posting!
>>    Please don't post (un)subscribe requests to the list. Use the www
>>    interface or send it to gmx-users-request at gromacs.org
>>    <mailto:gmx-users-request@**gromacs.org<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>
>> >
>>
>>
>>
> --
> ==============================**==========
>
> 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<http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin>
>
> ==============================**==========
> --
> gmx-users mailing list    gmx-users at gromacs.org
> 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 gmx-users-request at gromacs.org.
> Can't post? Read http://www.gromacs.org/**Support/Mailing_Lists<http://www.gromacs.org/Support/Mailing_Lists>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20110928/0d01ecd4/attachment.html>


More information about the gromacs.org_gmx-users mailing list