[chimerax-users] Global Diffusion Tensor Models
Tom Goddard
goddard at sonic.net
Tue Mar 16 17:53:42 PDT 2021
Hi Arun,
I tried replacing the PyMol ellipsoid drawing code in the example file with ChimeraX ellipsoid drawing. Here is the Python I came up with. I just copy the 4 parameters at the bottom of the PyMol script (center, axis lengths, color, rotation) to the ChimeraX script and open it in ChimeraX. I am not sure if I got the rotation right because you didn't provide a molecule -- my rotation may be the inverse of what is needed -- I can fix the script if that is the case.
First I tried the "shape ellipsoid" command and that didn't look so good because ChimeraX uses a smooth spiral triangulation intended for making nice surfaces so it does not show the desired latitude and longitude lines.
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: diffusion_tensor_ellipsoid.png
Type: image/png
Size: 117958 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210316/0b443b3a/attachment-0001.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ELM_ellipsoid_chimerax.py
Type: text/x-python-script
Size: 3422 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210316/0b443b3a/attachment-0001.bin>
-------------- next part --------------
> On Mar 16, 2021, at 3:43 PM, Elaine Meng <meng at cgl.ucsf.edu> wrote:
>
> Hi Arun,
> ChimeraX can't use a Pymol script, which is probably not a surprise. ChimeraX does have a "shape" command that can draw spheres and ellipsoids, among other shapes. However, you would need to figure out how to specify the centers, dimensions, and orientations of your ellipsoids in the way needed by this command. Probably the radius and center specifications are easy, whereas specifying the orientation of the ellipsoid is potentially more tricky.
>
> shape command:
> <https://rbvi.ucsf.edu/chimerax/docs/user/commands/shape.html>
>
> I hope this helps,
> Elaine
> -----
> Elaine C. Meng, Ph.D.
> UCSF Chimera(X) team
> Department of Pharmaceutical Chemistry
> University of California, San Francisco
>
>> On Mar 16, 2021, at 1:21 PM, Gupta, Arun <Arun.Gupta at warwick.ac.uk> wrote:
>>
>> Dear ChimeraX team,
>>
>> I am interested in generating Global diffusion tensor geometry models such as Prolate, Ellipsoid, Oblate or Sphere with overlaid protein PDB or structure of my interest. (As shown in attached pic). I am using diffusion tensor prediction module provided in ROTDIF software (http://gandalf.umd.edu/FushmanLab/pdsw.html) to generate an ellipsoid diffusion tensor of a protein molecule of my interest.
>>
>> Is it possible that I can use ROTDIF generated output (Which is in Pymol output format, please find attached ) to open in ChimeraX with my protein PDB, to render such representative figure ?
>>
>> Thanks!!!
>>
>> Arun
>
>
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
>
More information about the ChimeraX-users
mailing list