Hi Guillaume,
Recently I noticed that phenix.real_space_refine (version 2.2-6143) seems to only accept PDB format for the input model. Trying to supply CIF is simply ignored, as if no model was supplied. But the program does write its output in both formats by default. Maybe this has been fixed in this nightly build too? If not, it would be nice if it could accept CIF as input, since PDB format was phased out for deposition some time ago now (so it would be more practical if the entire suite handled CIF both as input and output).
I’m surprised to hear about mmCIF... I just tried it with a model in mmCIF format and a map I had on hand, and it worked. Could you send me your model CIF file? Perhaps there’s something particular about your file.
If I may suggest another possible improvement to phenix.real_space_refine: when used with cryoEM maps, it should default to only accepting half maps (and internally producing from the half maps whatever works best for it). It could still accept any map, but with an explicit option to allow that. I think half maps as input are a more sensible default because they are mandatory to deposit and guaranteed free of any alteration (while the map deposited as "main map" in EMDB can be anything, and isn't always clearly documented).
Coming right next. If I weren’t traveling to Warsaw tomorrow (until December 21), this would be in tonight. Yes, what’s coming is that phenix.real_space_refine will have an option to take either two half-maps or one map. If the input is two half-maps, it will generate a difference map (akin to an Fo–Fc map in crystallography) for the refined model using a much-improved algorithm compared to phenix.real_space_diff_map. Stay tuned! All the best, Pavel