[chimerax-users] segmented tomogram density in chimeraX

Elaine Meng meng at cgl.ucsf.edu
Tue Oct 25 10:12:40 PDT 2022


Hi Jesse,
The split-by-zone feature applies after you have colored a single map isosurface to match colored atoms. If I understood correctly, you did a segmentation which produces separate surfaces, each with their own colors. 

If the segmentation was done with Segment Map (Segger) in ChimeraX, then you could use the Segment Map tool's File menu to save each segmented map region to a separate map file.

However, your workflow involved segmentation before reading into ChimeraX, so I am not completely sure how you would do it.  If you have separate segmentation surface models (i.e. listed separately in the Model Panel) and you want to generate maps of only the part of the volume inside each surface, maybe you can do it with a "volume mask" command for each surface. 

See <https://rbvi.ucsf.edu/chimerax/docs/user/commands/volume.html#mask>

I hope this helps,
Elaine
-----
Elaine C. Meng, Ph.D.                       
UCSF Chimera(X) team
Department of Pharmaceutical Chemistry
University of California, San Francisco


> On Oct 25, 2022, at 12:29 AM, Jesse HANSEN via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
> 
> hi,
> thank you, this is a very helpful response!  Using segmentation surface #1 each segment I indeed did get all of the surfaces segmented.  The problem though is that the segmentation was not very smooth so I'd like to now smooth the surfaces in chimeraX.
> 
> As a workaround to directly smoothing the surface, I used segmentation color to color the tomogram volume, which seems to have colored as expected.  then I tried "volume splitbyzone #1.2" (for tomogram #1 it has by default #1.1 for surface and #1.2 for image(volume)).  This appears to have executed but I do not get any output sub-volumes separated by color.   
> 
> thanks again
> 
> Jesse
> 
> From: Tom Goddard <goddard at sonic.net>
> Sent: Monday, October 24, 2022 8:32:35 PM
> To: Jesse HANSEN
> Cc: chimerax-users at cgl.ucsf.edu
> Subject: Re: [chimerax-users] segmented tomogram density in chimeraX
>  
> Hi Jesse,
> 
>   I guess your segmentation has assigned an integer region number to each grid point.  It sounds like those region numbers range from 240 to 250.  Displaying that as if is a density map with contour surfaces isn't very useful as you point out.  Instead you can use the ChimeraX segmentation command to make a surface for each region, for example
> 
> segmentation surface #1 each segment
> 
> where "#1" is the id of the segmentation model you opened, and the "each segment" part says to make a separate surface for each region instead of one surface that includes all regions,  Documentation is here
> 
> https://www.cgl.ucsf.edu/chimerax/docs/user/commands/segmentation.html
> 
> You can also color your tomogram using the segmented regions using the "segmentation color" command.  There are examples of both commands for segmented neurons in a rat brain here
> 
> https://www.rbvi.ucsf.edu/chimerax/data/layer4-june2020/mousebrain.html
> 
> This example is a bit fancier than your data in that multiple attributes are associated with each region of the segmentation.
> 
> Tom
> 
> <segmentation.jpg>
> 
>> On Oct 24, 2022, at 6:46 AM, Jesse HANSEN via ChimeraX-users <chimerax-users at cgl.ucsf.edu> wrote:
>> 
>> hi all,
>> 
>> I have segmented a tomogram in Amira and exported to chimera for visualization. I first opened the .rec file in chimera and re-saved as .mrc.  Okay, the segmentation output gives a fully filled volume cube except for the regions of segmentation.   Obviously things are inverted.  Also, the volume viewer shows clear sharp peaks (delta functions) rather than continuous density, as volume slider moves to the right new segmentation features appear.  So I used volume filter with "scale" to -1, and I turned off "displayed subregions only".  This fixed the inversion problem and now as I slide toward the right I see more segmented densities.  However the threshold values are all negative (-250 on the far left to -240 on the far right).   This, combined with the densities being sharp peaks, makes it impossible to use this volume like a regular volume for surface coloring, filtering, segger, etc.  Any suggestion on how to go from this step to a usable density would be appreciated.
>> 
>> thanks!
>> Jesse




More information about the ChimeraX-users mailing list