VMD-L Mailing List
From: harish vashisth (harish.vashisth_at_gmail.com)
Date: Wed Nov 23 2011 - 21:43:13 CST
- Next message: Andrés Morales: "Change coordinates"
- Previous message: Ahmet Bakan: "Re: movie out of principal component analysis"
- In reply to: rainy908: "Translocate molecule within a box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Yes, you can do it using a simple tcl script. I suggest reading usage of
"moveto" and "moveby" commands in vmd...For example, see the lines toward
the end on this link:
http://www.ks.uiuc.edu/Research/vmd/vmd-1.7.1/ug/node181.html
On Wed, Nov 23, 2011 at 8:51 PM, rainy908 <rainy908_at_yahoo.com> wrote:
> Hi,
>
> I am a bit new to VMD and am getting familiarized with the basic commands.
> I would like to know how to translocate a molecule in a cubic box with a
> set of coordinates from (x,y,z) to (x-20, y-20, z), so that the molecule at
> the new location (x-20,y-20,z) remains within the original box size. (20
> being 20 Angstroms.) I'd like to do this for ~20 systems. I figure I can
> easily compose a tcl script to execute such a command?
>
> thanks,
> rainy908
>
- Next message: Andrés Morales: "Change coordinates"
- Previous message: Ahmet Bakan: "Re: movie out of principal component analysis"
- In reply to: rainy908: "Translocate molecule within a box"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]