Re: [AMBER] generating top file using antechmaber

From: Wei Zhang <zgjzweig.gmail.com>
Date: Thu, 29 Jan 2009 10:26:22 -0600

Hi,

    try the following:

     tleap -f test.lrc

    and

     sleap -f test.lrc

     Sincerely,

     Wei

On Jan 29, 2009, at 9:24 AM, sarvin moghaddam wrote:

> Hi,
>
> When I use the script below:
>
> source leaprc.gaff
> m = loadmol2 test.mol2
> saveamberparm m test.top test.xyz
>
> and
>
> save it as test.lrc, then
>
> tleap < test.lrc
>
> I get:
> *
> *** Error: getline(): not interactive, use stdio.
>
> *I really appreciate if let me know if the source of the error!
> Thank in advance,
>
> Sarvin*
> *
>
>
> Wei Zhang wrote:
>> Hi,
>>
>> No, you cannot do that. You must go through leap (tleap or sleap).
>>
>> 1. you can use antechamber to generate a mol2 file
>>
>> antechamber -i test.mol -fi mol -o test.mol2 -fo mol2
>>
>> the generated mol2 file will have charge amber and atom type
>>
>> 2. use leap to load the generated mol2 file, and generate top file
>> you need write a script like the following:
>>
>> source leaprc.gaff
>> m = loadmol2 test.mol2
>> saveamberparm m test.top test.xyz
>>
>> save it as test.lrc, then
>>
>> sleap < test.lrc
>>
>> Sincerely,
>>
>> Wei
>>
>>
>
>
> _______________________________________________
> 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
Received on Fri Jan 30 2009 - 01:37:23 PST
Custom Search