[chimerax-users] radial coloring cryo map
Tom Goddard
goddard at sonic.net
Mon Mar 15 11:31:24 PDT 2021
Hi Ibrahim,
The trick is to specify the center of your EM virus map which apparently is not at 0,0,0. Here is how to tell it to use the center of the bounding box of the map surface (that might be slightly off from the true center).
open 7294 from emdb
color radial #1 center #1
and here I also set the coloring distant range
color radial #1 center #1 range 130,180
You could instead adjust your map origin so that the center of the map is at 0,0,0 using menu Tools / Volume Data / Map Coordinates and adjusting the "Origin Index" -- usually it would need to be 1/2 the map size -- for instance in the above example the map is 280 by 280 by 280 grid points so origin index 140 might put the center at 0,0,0. But the right value might be 139.5 or even 139 -- depends on how the map reconstruction was done, which grid point it used for the center of symmetry.
Tom
Image with color range and center (color radial #1 center #1 range 130,180):
Image with center but no range (color radial #1 center #1) so it uses the full range from center of map to most radially distant point.
Image with no center specified (color radial #1):
> On Mar 15, 2021, at 10:10 AM, Elaine Meng <meng at cgl.ucsf.edu> wrote:
>
> Hi Ibrahim,
> I can't give the exact command because I don't know the center of your system. The command help is here:
>
> <https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#distance>
>
> So the form of the command could be something like
>
> color radial <surf-model> center <center-spec> coordinateSystem <ref-model>
>
> ... where ways to specify the center are:
>
> • x,y,z (three values separated by commas only) – an arbitrary point, interpreted in scene coordinates unless a different coordinateSystem is given
> • an atom-spec – the center of the bounding box of the specified items
> • cofr – the current center of rotation
> • camera – the viewer position
>
> None of those are the same as center of screen, unless you are using the center-of-rotation method that tracks center of view:
> <https://rbvi.ucsf.edu/chimerax/docs/user/commands/cofr.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 15, 2021, at 9:36 AM, Moustafa, Ibrahim M. <ria2 at psu.edu> wrote:
>>
>> Dear all,
>>
>> I am trying to color a cryoem map radially in ChimeraX (to get something similar to surface color by radius in chimera).
>>
>> I used the following comand:
>>
>> color radial #model
>>
>> However, the map is colored from one side to the other instead of radial coloring starting from the center. I tried to specify the center of the screen as 0,0,0 but that did not help.
>>
>> What is the correct command/options to do radial coloring in ChimeraX?
>>
>> Thanks for help,
>> Ibrahim
>>
>> _______________________________________________
>> ChimeraX-users mailing list
>> ChimeraX-users at cgl.ucsf.edu
>> Manage subscription:
>> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
>
>
> _______________________________________________
> ChimeraX-users mailing list
> ChimeraX-users at cgl.ucsf.edu
> Manage subscription:
> https://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210315/e585646a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image3.png
Type: image/png
Size: 519641 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210315/e585646a/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image4.png
Type: image/png
Size: 499290 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210315/e585646a/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image5.png
Type: image/png
Size: 500445 bytes
Desc: not available
URL: <http://plato.cgl.ucsf.edu/pipermail/chimerax-users/attachments/20210315/e585646a/attachment-0005.png>
More information about the ChimeraX-users
mailing list