From: Simpson, Lisa M (lmsimp_at_essex.ac.uk)
Date: Thu Mar 20 2008 - 08:57:47 CDT

Dear VMD users,

I am trying to run the script ca-dist.tcl from the archive http://www.ks.uiuc.edu/Research/vmd/script_library/scripts/ca-dist-v2.0/
I am unfamiliar with running scripts from the command line and thus am having trouble.

Could someone please tell me how the proper commands to use to use this script?

I have been doing the following:

First I loaded my psf and dcd file through the open GL viewer as one molecule.

Then in the vmd script window I have executed:

vmd > set a [atomselect top "index 1014"]
vmd > set b [atomselect top "index 947"]
vmd > source ca-dist.tcl
vmd > ca-dist a b

I keep getting the error invalid command name.

If someone could tell me how to load the script correctly it would be greatly appreciated.

Many thanks.

Lisa.