[chimerax-users] Use different distances for several marker sets

Tom Goddard goddard at sonic.net
Thu Aug 4 14:26:29 PDT 2022


Hi Shiqing,

  You can color from different marker sets using the color zone ocmmand with the "farColor keep" option.  For example, coloring surface of map #1 using marker sets #2 and #3

	color zone #1 near #2 distance 30
	color zone #1 near #3 distance 50 farColor keep

The second command colors near markers #3 with a different distance but keeps the previous colors that are beyond distance 50 from markers #3.  So for parts of the surface that are within the distance specified of the first command and also within the distance in the second command will get the colors from the second command.

	Tom


> On Aug 4, 2022, at 12:54 PM, Elaine Meng via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
> 
> Hi Shiqing,
> Although you can use "color zone"  with more than one marker set at a time, you cannot use different distances. It will always use the same zone distance for all of the specified atoms/markers.
> 
> <https://rbvi.ucsf.edu/chimerax/docs/user/tools/colorzone.html <https://rbvi.ucsf.edu/chimerax/docs/user/tools/colorzone.html>>
> <https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#zone <https://rbvi.ucsf.edu/chimerax/docs/user/commands/color.html#zone>>
> 
> I tried opening the same map twice and coloring one copy by zone from one set of atoms/markers, and coloring the other copy by zone from the other set of atoms/markers with a different distance, and then making one of the map surfaces partly transparent.  It did show both colorings somewhat, but not very well, as you can see in the attached image.
> Best,
> Elaine
> -----
> Elaine C. Meng, Ph.D.
> UCSF Chimera(X) team
> Department of Pharmaceutical Chemistry
> University of California, San Francisco
> 
> <2zones.png>
>> On Aug 4, 2022, at 12:11 PM, SHIQING LIAO via ChimeraX-users <chimerax-users at cgl.ucsf.edu <mailto:chimerax-users at cgl.ucsf.edu>> wrote:
>> 
>> Dear community,
>> 
>> I'm wondering if there is any way for me to color a volume density with different distances from several marker sets. Thank you for your help! 
>> 
>> Best,
>> Shiqing
> 
> _______________________________________________
> 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://www.rbvi.ucsf.edu/pipermail/chimerax-users/attachments/20220804/33e4bd16/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: colorzone2.png
Type: image/png
Size: 724506 bytes
Desc: not available
URL: <http://www.rbvi.ucsf.edu/pipermail/chimerax-users/attachments/20220804/33e4bd16/attachment-0001.png>


More information about the ChimeraX-users mailing list