On Tue, Nov 09, 2004, Greg Kellogg wrote:
> Hi I am currently running Amber 7.0 on Redhat Linux. Is
> there anyway to setup tleap or xleap to run in a batch
> mode? I have 529 structures to convert into prmtop and
> inpcrd and I am looking for an easier way to do it.
>
Roughly, a C-shell script like this should get you started:
#!/bin/csh -f
foreach i ( *.pdb )
cat <<EOF > leap.in
source leaprc.ff03
x = loadpdb $i
saveamberparm x $i:r.top $i:r.crd
quit
EOF
tleap -f leap.in
endif
(Note: this is untested; modify it according to what you really need to do;
if you are unfamiliar with shell programming, you will probably have to do
some reading.)
....hope this helps...dac
-----------------------------------------------------------------------
The AMBER Mail Reflector
To post, send mail to amber.scripps.edu
To unsubscribe, send "unsubscribe amber" to majordomo.scripps.edu
Received on Tue Nov 09 2004 - 17:53:00 PST