Re: Move molecule

From: Edward Patrick Obrien (edobrien_at_Glue.umd.edu)
Date: Thu Nov 18 2004 - 12:39:00 CST

Hi Uday,

>set molecule [atomselect top "protein"]
> $molecule moveby {dx dy dz}

where dx dy and dz are the x y z displacements from original location.

Do this on the VMD command line with the protein loaded.
Ed

On Thu, 18 Nov 2004, Uday Chippada wrote:

> Hi all,
>
> I have seen the mouse mode commands to move a molecule, thus changing its coordinates.
> 5 mouse mode 4 6 move atom
> 6 mouse mode 4 7 move residue
> 7 mouse mode 4 8 move fragment
> 8 mouse mode 4 9 move molecule
> 9 mouse mode 4 13 move highlighted rep
>
>
> But using these commands, I cannot specify a particular displacement. I want to know, if there is any other text command using which I can move the molecule to a new loaction (if possible copy the present molecule and paste it at a new location). But I want to give the amount by which I want to move it .. like "move rep by 15 A in y-direction". Something similar to that.
>
> Any help would be appreciated,
>
> Thanx
>
> Uday

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:39:00 CST