VMD-L Mailing List
From: Mohan maruthi sena (maruthi.sena_at_gmail.com)
Date: Sun Apr 07 2013 - 10:31:03 CDT
- Next message: Paweł Kędzierski: "Re: how to visualize water movement over trajectory"
- Previous message: amin_at_imtech.res.in: "Re: how to visualize water movement over trajectory"
- Next in thread: Axel Kohlmeyer: "Re: moving center of protien to another new center x,y,z"
- Reply: Axel Kohlmeyer: "Re: moving center of protien to another new center x,y,z"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Hi all,
Generally to find the center of protein in vmd we use the
following commands,
set sel [atomselect top all]
set mat [measure center $sel] , if we want to move this
center to some other point x,y,z . How can we do this in vmd. I have tried
using option trans
but , the center of protein is not exactly coinciding with (x,y,z). The
protein is lying close to x,y,z. I have used the following options
set sel [atomselect top protein]
set cen { x, y, z } to move protein current center to this desired
point center.
set mat [ trans offset $cen]
$sel moveby $mat.
please suggest me a way to move current protein center to desired protein
center (x,y,z)
Thank you.
- Next message: Paweł Kędzierski: "Re: how to visualize water movement over trajectory"
- Previous message: amin_at_imtech.res.in: "Re: how to visualize water movement over trajectory"
- Next in thread: Axel Kohlmeyer: "Re: moving center of protien to another new center x,y,z"
- Reply: Axel Kohlmeyer: "Re: moving center of protien to another new center x,y,z"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]