Re: [AMBER] RMS rotate about z-axis only

From: Hai Nguyen <nhai.qn.gmail.com>
Date: Fri, 14 Sep 2018 11:07:01 -0400

> If need be I can always do norotate and then manually perform the z-axis
rotation in python, but I would like to avoid re-inventing the wheel, so to
speak, if possible.

Hi, there is a "rotate" function in pytraj, you can give it a try.

pytraj.rotate(traj, "z 90")

Hai

On Tue, Sep 11, 2018 at 4:03 PM Wesley Michael Botello-Smith <
wmsmith.uci.edu> wrote:

> Hello all,
> I am working on a project where I need to make measurements of membrane
> geometry in the presence of a protein.
> The problem I am having is that when I attempt to align the protein using
> the rms function in cpptraj (or pytraj) with the protein as a the reference
> mask, it ends up tilting the membrane. This complicates some future
> measurements I am doing.
> What I would like to be able to do is tell the rms function to only apply
> rotations about the z-axis. I.e. only apply rotations that do not change
> the z-coordinates of atoms. Does anyone know of a way to do this
> efficiently within cpptraj (or pytraj)?
> If need be I can always do norotate and then manually perform the z-axis
> rotation in python, but I would like to avoid re-inventing the wheel, so to
> speak, if possible.
>
> Thanks in advance,
> -Dr. Wesley Botello-Smith
> _______________________________________________
> AMBER mailing list
> AMBER.ambermd.org
> http://lists.ambermd.org/mailman/listinfo/amber
>
_______________________________________________
AMBER mailing list
AMBER.ambermd.org
http://lists.ambermd.org/mailman/listinfo/amber
Received on Fri Sep 14 2018 - 08:30:02 PDT
Custom Search