From: Ashar Malik (asharjm_at_gmail.com)
Date: Wed Jan 17 2018 - 17:44:21 CST

You should also think about weather you want to rotate around the centre of
the residue or the origin.

To rotate about the centre of the residue first map (translate only) it to
the origin do your rotation and then move back( again translate only) by
the same amount you originally translated it by.

On Jan 18, 2018 05:55, "Giacomo Fiorin" <giacomo.fiorin_at_gmail.com> wrote:

> Hi Roshan, use the atomselection commands for this, in particular the
> "move" command (using a matrix generated with "transaxis") and the
> "writeXXX" commands.
>
> Giacomo
>
> On Tue, Jan 16, 2018 at 11:25 PM, Roshan Shrestha <roshanpra_at_gmail.com>
> wrote:
>
>> Dear all,
>> I want to rotate a specific residue (say "resid 7 and
>> resname MET") by 180 degrees around x-axis and save the coordinates. Can it
>> be done using VMD's TK Console ?
>> Thanks
>>
>>
>> --
>> Roshan Shrestha
>> M.Sc (Physics)
>> Central Department of Physics, Tribhuvan University
>> Kathmandu, Nepal
>>
>>
>>
>>
>
>
> --
> Giacomo Fiorin
> Associate Professor of Research, Temple University, Philadelphia, PA
> Contractor, National Institutes of Health, Bethesda, MD
> http://goo.gl/Q3TBQU
> https://github.com/giacomofiorin
>