﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
15949	Add molmap option to create a cube shaped map	olibclarke@…	Tom Goddard	"From: Oliver Clarke via ChimeraX-users
Subject: [chimerax-users] Molmap default to cubic box?
Date: September 12, 2024 at 5:53:12 PM PDT
To: ChimeraX Users Help <chimerax-users@cgl.ucsf.edu>

Hi,

Currently, molmap defaults to creating the new map in a minimal bounding box - a minimal rectangular prism.

Most cryoEM software doesn't like rectangular prisms, and rather prefers cubes (ideally with sides that are an even number of voxels). 

Would it be possible to either (a) alter molmap so it defaults to a minimal cubic box or (b) add an option to automatically resample to a cubic box of specified dimensions? Often this doesn't really matter as we have a map already loaded that we can resample on the grid of, but it would be convenient to be able to do this in a single command.

Cheers
Oli
_____________


Hi Oliver,

 I agree.  I think adding an option to molmap like ""cube true"" to make it add appropriate padding to make the box a cube would be the best approach.  That's probably pretty easy and I'll try to add it soon.  Thanks for the suggestion.

	Tom


-------------


Wonderful, thanks Tom! I wonder if it would be worth considering having it default to true? Having rectangular maps does save a little bit of disk space, but for most use cases in EM at least having cubic maps is worth the tradeoff. But possibly there are more cases where having it default to a minimal bounding box is better, I don't know for sure. Thanks again

Cheers
Oli


------------

Thanks Oli for raising this issue and Tom for the quick response!

To add to this, I think the ""cube true"" option (whether it's the default or not) should also default to an even box size (rounding up), since that's what most EM packages expect. Or at least add an extra option ""even true"", if that's more appropriate.

Best wishes,

--
Ricardo Diogo Righetto"	enhancement	closed	moderate		Volume Data		fixed		ricardorighetto@… Elaine Meng				all	ChimeraX
