Re: [AMBER] NMR multiple structures

From: Jason Swails <jason.swails.gmail.com>
Date: Wed, 15 Sep 2010 08:55:19 -0400

On Wed, Sep 15, 2010 at 8:33 AM, Baptiste Legrand <bap.legrand.gmail.com>wrote:

> Ok Thanks, all is fine. I calculate initial structures, minimize them
> and finally sa with NMR restraints.
> After the minimization, I try to create a script (linux) to
> automatically run sander on the multiple structures (min.rst.1,
> min.rst.2...to write sa.rst.1 sa.rst.2 ... respectively) but It fail:
> for x in 'seq 1 100'
>

what kind of quotes are you using here? Are they single quotes? This
should be the ` quote, not the '. What this is doing is setting x to "seq 1
100", so your command line is becoming

sander -O -i sa.in -o sa.out.seq 1 100 -c min.rst.seq 1 100 -p prmtop -r
sa.rst.seq 1 100 -x traj.seq 1 100

I believe. That's why mdfil is complaining about a flag "1" being
unrecognized. Notice the difference in quotes above.

Hope this helps,
Jason

do
> sander -O -i sa.in -o sa.out.$x -c min.rst.$x -p prmtop -r sa.rst.$x -x
> traj.$x
> done
> But I have this error message: /mdfil/: /Error unknown fla/g///: 1/ ...
> My script should not be good, what is the best way to do this operation?
> Thanks.
>
> Best regards,
> Baptiste
>
>
> Le 08/09/2010 19:06, Bill Ross a écrit :
> > ambpdb just uses restrt files as input.
> > You can use ptraj to convert each frame of mdcrd to pdb.
> > You may want to also view an animation of the mdcrd using e.g. VMD -
> > this is very instructive.
> >
> > Bill
> >
> > _______________________________________________
> > AMBER mailing list
> > AMBER.ambermd.org
> > http://lists.ambermd.org/mailman/listinfo/amber
>
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>



-- 
Jason M. Swails
Quantum Theory Project,
University of Florida
Ph.D. Graduate Student
352-392-4032
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Wed Sep 15 2010 - 06:00:05 PDT
Custom Search