Re: a bundle of coor files

From: Massimiliano Porrini (mozz76_at_gmail.com)
Date: Sat Jul 02 2011 - 20:16:05 CDT

Dear Rajan,

Thanks a lot for the hint, it worked perfectly!
FYI I used the following command

$vmd -dispdev text -eofexit < input.tcl > output.log

and (always FYI) my input.tcl script is the following:

#######################################
# tcl script to convert NAMD binary
# coordinates file (.coor) into pdb file.

mol new top.prm type parm7 first 0 last -1 step 1 filebonds 1 autobonds 1 waitfor all
mol addfile min.1.coor type namdbin first 0 last -1 step 1 filebonds 1 autobonds 1 waitfor all

set sel [atomselect top all]
$sel writepdb min.1.pdb
#######################################

Cheers!
MP

On Jul 2, 2011, at 10:26 PM, Rajan Vatassery wrote:

> Dear Massimiliano,
> Check out this thread on the subject of the .coor files:
> http://www.ks.uiuc.edu/Research/namd/mailing_list/namd-l/13295.html
>
> It contains 2 possible solutions that you may find useful. I know that
> the python script included in this thread works well and it's fairly
> short (hopefully that translates into ease of understanding).
>
> Best of luck,
>
> rajan
>
>
> On Sat, 2011-07-02 at 19:21 +0100, Massimiliano Porrini wrote:
>> Dear all,
>>
>> I have generated 500 NAMD coordinates files which have the
>> following type of name:
>>
>> min.N.coor
>>
>> where N=1,...,500 .
>>
>> and in the runs I used Amber force field parameter file.
>>
>> I would like to convert them into PDB file format.
>>
>> Can anybody give me a hint on which is an efficient way to do that?
>>
>> Thank you in advance.
>>
>> Best regards,
>> MP
>>
>>
>>
>
>

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:57:23 CST