<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Luc,<div class=""><br class=""></div><div class=""> The Chimera Segger tool does not have an equivalent command for its menu entry File / Save Each Region to .mrc File. So it would require some Python code to do that without using the GUI. </div><div class=""><br class=""></div><div class=""> I can show you how to do that in ChimeraX. All our development effort has been on ChimeraX and not the old Chimera program for several years now. Maybe you could adapt my example code to work in Chimera if you are familiar with the Python language.</div><div class=""><br class=""></div><div class=""> I looked in my ChimeraX distribution in (on Mac) for the Segger code for that menu entry which I found in</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>ChimeraX.app/Contents/lib/python3.9/site-packages/chimerax/segger/segment_dialog.py</div><div class=""><br class=""></div><div class="">and just copied some of that code to the attached Python mrcregion.py which looks like this</div><div class=""><br class=""></div><div class=""><div class=""># From Segment Map menu entry "Save each region to .mrc file..."</div><div class=""># which calls VolumeSegmentationDialog.WriteEachReginMRCFile() in Segger/segment_dialog.py</div><div class="">#</div><div class="">from chimerax.segger.segment_dialog import volume_segmentation_dialog</div><div class="">vsd = volume_segmentation_dialog(session)</div><div class="">smod = vsd.CurrentSegmentation()</div><div class="">dmap = vsd.SegmentationMap()</div><div class="">path = '/Users/goddard/Desktop/test/test_region_%d.mrc'</div><div class="">for region in smod.regions:</div><div class=""> vsd.SaveRegsToMRC([region], dmap, path % region.rid)</div></div><div class=""><br class=""></div><div class="">After opening or creating your segmentation you can just open my attached Python script in ChimeraX to write the MRC files. The path is coded in the file so you would need to change it to where you want the MRC files to be written. This could be improved to register a ChimeraX command where you could specify the path to write the files.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div class=""><br class=""></div><div class=""></div></body></html>