From: Jernej Zidar (
Date: Tue Sep 27 2011 - 22:34:53 CDT

Alternatively you can instruct CHARMM to save the coordinate file with
the COR extension instead of the CRD. Technicaly it's just a matter of
replacing "crd" with "cor" in the input file.

Renaming the files from CRD to COR would accomplish the same. You can
do the renaming using a short bash script like:
ls *.crd | while read var; do mv $var ${var%%.crd}.cor ; done

I've been using the aforementioned methods for the last three/four
years without any problem.


On Wed, Sep 28, 2011 at 10:08, Vadim Patsalo <> wrote:
> Hello VMD mailing list,
> I am a CHARMM user. I find myself having to constantly type:
>    vmd -cor X.crd -cor Y.crd -cor Z.crd
> when trying to load multiple CHARMM CRDs into the same molecule. I would like to overwrite the default VMD behavior of associating the .crd file extension with the Amber7 CRD plugin, and instead associate it with the COR plugin.
> I've attempted to create a symbolic link from to in
>    /Applications/VMD\      (Mac OS X)
> However, this does nothing. It doesn't appear that VMD uses the dynamic libraries inside ../molfile/, and is even able to recognize .crd files as Amber7 CRD when the file is moved.
> Is there a way to correct this behavior at startup inside .vmdrc? I am open to other hackety suggestions. One possibility is to write a wrapper script which takes as input "vmd A.crd B.crd C.crd" and runs the system command "vmd -cor A.crd -cor B.crd -cor C.crd", I suppose. Renaming the files to .cor is not a real option for me.
> Thanks in advance!
> Vadim

Windows: Re-Boot, Linux: Be-Root.