Re: [AMBER] How to run LEaP in a shell file?

From: case <case.biomaps.rutgers.edu>
Date: Mon, 14 Dec 2009 07:44:29 -0500

On Mon, Dec 14, 2009, SongLin wrote:
>
> I want to build PDB formatted glycan files using LEaP automatically, so
> I create several shell files like this:
>
> #!/bin/bash
> cd ~/amber10/bin/
> ./tleap << !
> source leaprc.GLYCAM_06
> glycan=sequence{ROH}
> glycan=sequence{glycan 3VA}
> glycan=sequence{glycan 3LB}
> glycan=sequence{glycan 0SA}
> savepdb glycan glycan.pdb
> quit
> !
>
> But when I run this file it returns:
> *** Error: tl_getline(): not interactive, use stdio.

Put the commands in a file, then type 'tleap -f filename'

...dac


_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Mon Dec 14 2009 - 05:00:04 PST
Custom Search