Hi All, For those of you on the cutting edge who use the latest Phenix -- the next nightly build will have phenix.real_space_refine substantially optimized for speed and the quality of refined models. Specifically, in my tests, refinement of a 100k-atom model is expected to drop from 5 hours to 50 minutes -- just to give you an idea of the runtime improvement. Remember to let the program use more than one CPU when refining; that helps (but not always). Also expect residue rotamer statistics to improve significantly. Try it out and let me know if you run into any issues. All the best! Pavel
Hi Pavel,
Nice, looking forward to testing this.
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).
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).
Cheers,
Guillaume
________________________________
From: Pavel Afonine
Hi Guillaume and Pavel,
Glad to read about the recent improvements of Phenix, I'll definitely try it soon.
I just felt impelled to jump in because our group often works in resolutions worse than 3 angstroms, and it helps a lot to refine against a sharpened map - yes, we are aware of the problem but it is still much better than what we can get from half maps in the initial cycles. We refine against the unsharpened (or half maps) only at the last steps, lowering the weight, to get the Bs right and deposit with the adequate statistics.
I believe other groups would also prefer to leave that input flexible. Obviously I agree with Guillaume that the half maps are closer to reality, but IMO this is more like something to be told during user training, optionally to be present in the Phenix documentation and/or in a pop-up box.
As a side note, my deep thoughts to everyone developing software and having to deal with the PDB->CIF change...
Best to all,
---------------------------------------------------
Carlos KIKUTI, PhD
Structural Motility Team
UMR144 - CNRS - Institut Curie
12 rue Lhomond - 75005 Paris, France
[email protected] mailto:[email protected]
Le 30/11/2026 14:58, « Guillaume Gaullier »
Hi Carlos, Thanks for sharing your experience with sharpened vs. unsharpened maps in refinement. I wonder what exactly you find better, and how you quantify the difference? As a side note, I forgot to mention that there was a bug in B-factor refinement that I fixed last week. The fix should also be in the nightly builds now (bundled with the speed improvement). All the best! Pavel On 11/30/26 08:19, Kikuti Carlos wrote:
Hi Guillaume and Pavel,
Glad to read about the recent improvements of Phenix, I'll definitely try it soon.
I just felt impelled to jump in because our group often works in resolutions worse than 3 angstroms, and it helps a lot to refine against a sharpened map - yes, we are aware of the problem but it is still much better than what we can get from half maps in the initial cycles. We refine against the unsharpened (or half maps) only at the last steps, lowering the weight, to get the Bs right and deposit with the adequate statistics.
I believe other groups would also prefer to leave that input flexible. Obviously I agree with Guillaume that the half maps are closer to reality, but IMO this is more like something to be told during user training, optionally to be present in the Phenix documentation and/or in a pop-up box.
As a side note, my deep thoughts to everyone developing software and having to deal with the PDB->CIF change...
Best to all,
--------------------------------------------------- Carlos KIKUTI, PhD Structural Motility Team UMR144 - CNRS - Institut Curie 12 rue Lhomond - 75005 Paris, France [email protected] mailto:[email protected]
Dear Pavel, if I could add this feature to the Santa Claus wish list. I refine cryo-EM structures with point-group symmetry (currently a C2 dimer at 1.84 Å). I would find it very useful if phenix.real_space_refine accepted only the unique chain plus a point group, for example symmetry=C2. The program would then: take the symmetry centre and axes from the map (or from a user-supplied operator file), generate the other copies internally and apply them as strict constraints, including contacts and restraints across the interfaces, write the unique chain, and optionally the expanded assembly. Servalcat offers this with --pg C2. I understand that MTRIX records may already allow single-copy input. If that is still supported, could you point me to the current documentation? A direct point-group option would still save the manual expansion and extraction steps. Thank you, Georg. On 11/30/2026 5:51 PM, Pavel Afonine wrote:
Hi Carlos,
Thanks for sharing your experience with sharpened vs. unsharpened maps in refinement. I wonder what exactly you find better, and how you quantify the difference?
As a side note, I forgot to mention that there was a bug in B-factor refinement that I fixed last week. The fix should also be in the nightly builds now (bundled with the speed improvement).
All the best! Pavel
On 11/30/26 08:19, Kikuti Carlos wrote:
Hi Guillaume and Pavel,
Glad to read about the recent improvements of Phenix, I'll definitely try it soon.
I just felt impelled to jump in because our group often works in resolutions worse than 3 angstroms, and it helps a lot to refine against a sharpened map - yes, we are aware of the problem but it is still much better than what we can get from half maps in the initial cycles. We refine against the unsharpened (or half maps) only at the last steps, lowering the weight, to get the Bs right and deposit with the adequate statistics.
I believe other groups would also prefer to leave that input flexible. Obviously I agree with Guillaume that the half maps are closer to reality, but IMO this is more like something to be told during user training, optionally to be present in the Phenix documentation and/or in a pop-up box.
As a side note, my deep thoughts to everyone developing software and having to deal with the PDB->CIF change...
Best to all,
--------------------------------------------------- Carlos KIKUTI, PhD Structural Motility Team UMR144 - CNRS - Institut Curie 12 rue Lhomond - 75005 Paris, France [email protected] mailto:[email protected]
_______________________________________________ phenixbb mailing list -- [email protected] To unsubscribe send an email to [email protected] Unsubscribe: phenixbb-leave@%(host_name)s
Hi Georg, can't you achieve this by supplying phenix.real_space_refine the whole model and then either let it to pick up master+symmetry copies automatically as NCS constraints (which it should do if master vs copies similarity is good enough) or specify them explicitly? Or.. am I missing something? Pavel On 11/30/26 09:43, Georg Mlynek wrote:
Dear Pavel, if I could add this feature to the Santa Claus wish list.
I refine cryo-EM structures with point-group symmetry (currently a C2 dimer at 1.84 Å). I would find it very useful if phenix.real_space_refine accepted only the unique chain plus a point group, for example symmetry=C2.
The program would then:
take the symmetry centre and axes from the map (or from a user-supplied operator file), generate the other copies internally and apply them as strict constraints, including contacts and restraints across the interfaces, write the unique chain, and optionally the expanded assembly.
Servalcat offers this with --pg C2. I understand that MTRIX records may already allow single-copy input. If that is still supported, could you point me to the current documentation? A direct point-group option would still save the manual expansion and extraction steps.
Thank you, Georg.
On 11/30/2026 5:51 PM, Pavel Afonine wrote:
Hi Carlos,
Thanks for sharing your experience with sharpened vs. unsharpened maps in refinement. I wonder what exactly you find better, and how you quantify the difference?
As a side note, I forgot to mention that there was a bug in B-factor refinement that I fixed last week. The fix should also be in the nightly builds now (bundled with the speed improvement).
All the best! Pavel
On 11/30/26 08:19, Kikuti Carlos wrote:
Hi Guillaume and Pavel,
Glad to read about the recent improvements of Phenix, I'll definitely try it soon.
I just felt impelled to jump in because our group often works in resolutions worse than 3 angstroms, and it helps a lot to refine against a sharpened map - yes, we are aware of the problem but it is still much better than what we can get from half maps in the initial cycles. We refine against the unsharpened (or half maps) only at the last steps, lowering the weight, to get the Bs right and deposit with the adequate statistics.
I believe other groups would also prefer to leave that input flexible. Obviously I agree with Guillaume that the half maps are closer to reality, but IMO this is more like something to be told during user training, optionally to be present in the Phenix documentation and/or in a pop-up box.
As a side note, my deep thoughts to everyone developing software and having to deal with the PDB->CIF change...
Best to all,
--------------------------------------------------- Carlos KIKUTI, PhD Structural Motility Team UMR144 - CNRS - Institut Curie 12 rue Lhomond - 75005 Paris, France [email protected] mailto:[email protected]
_______________________________________________ phenixbb mailing list -- [email protected] To unsubscribe send an email to [email protected] Unsubscribe: phenixbb-leave@%(host_name)s
phenixbb mailing list -- [email protected] To unsubscribe send an email to [email protected] Unsubscribe: phenixbb-leave@%(host_name)s
Hi Pavel, thanks. I asked the chat "How can I specify master+symmetry copies as NCS constraints explicitly in real space refine?" and it returned among other things: *Important Considerations for Manual NCS Constraints:* * *Strict Filtering:* Phenix will automatically validate and filter your user-supplied NCS groups before refinement. For the constraints to work properly, the |reference| and |selection| chains must have the exact same number of atoms, matching residues, and identical atoms in all copies. Alternative conformations are excluded. If the copies do not match, Phenix will modify or discard the group and print a notification in the log file. I then asked Claude to check the code on this and it replies that the claim "Chains need exactly the same atoms and residues" is "*Too strict.* Non-matching residues are left out, and residues with differing atom counts can be matched on their common atoms. A group is rejected if the search finds no match." Nevertheless it means that if I do manual model building in coot on chain A before real space refine I have to make the manual expansion. A point-group option (one unique chain plus C2) would avoid this, which is why I asked about it. Would it also speed up refinement? I might also miss something. Best regards, Georg On 11/30/2026 9:33 PM, Pavel Afonine wrote:
Hi Georg,
can't you achieve this by supplying phenix.real_space_refine the whole model and then either let it to pick up master+symmetry copies automatically as NCS constraints (which it should do if master vs copies similarity is good enough) or specify them explicitly? Or.. am I missing something?
Pavel
On 11/30/26 09:43, Georg Mlynek wrote:
Dear Pavel, if I could add this feature to the Santa Claus wish list.
I refine cryo-EM structures with point-group symmetry (currently a C2 dimer at 1.84 Å). I would find it very useful if phenix.real_space_refine accepted only the unique chain plus a point group, for example symmetry=C2.
The program would then:
take the symmetry centre and axes from the map (or from a user-supplied operator file), generate the other copies internally and apply them as strict constraints, including contacts and restraints across the interfaces, write the unique chain, and optionally the expanded assembly.
Servalcat offers this with --pg C2. I understand that MTRIX records may already allow single-copy input. If that is still supported, could you point me to the current documentation? A direct point-group option would still save the manual expansion and extraction steps.
Thank you, Georg.
On 11/30/2026 5:51 PM, Pavel Afonine wrote:
Hi Carlos,
Thanks for sharing your experience with sharpened vs. unsharpened maps in refinement. I wonder what exactly you find better, and how you quantify the difference?
As a side note, I forgot to mention that there was a bug in B-factor refinement that I fixed last week. The fix should also be in the nightly builds now (bundled with the speed improvement).
All the best! Pavel
On 11/30/26 08:19, Kikuti Carlos wrote:
Hi Guillaume and Pavel,
Glad to read about the recent improvements of Phenix, I'll definitely try it soon.
I just felt impelled to jump in because our group often works in resolutions worse than 3 angstroms, and it helps a lot to refine against a sharpened map - yes, we are aware of the problem but it is still much better than what we can get from half maps in the initial cycles. We refine against the unsharpened (or half maps) only at the last steps, lowering the weight, to get the Bs right and deposit with the adequate statistics.
I believe other groups would also prefer to leave that input flexible. Obviously I agree with Guillaume that the half maps are closer to reality, but IMO this is more like something to be told during user training, optionally to be present in the Phenix documentation and/or in a pop-up box.
As a side note, my deep thoughts to everyone developing software and having to deal with the PDB->CIF change...
Best to all,
--------------------------------------------------- Carlos KIKUTI, PhD Structural Motility Team UMR144 - CNRS - Institut Curie 12 rue Lhomond - 75005 Paris, France [email protected] mailto:[email protected]
_______________________________________________ phenixbb mailing list -- [email protected] To unsubscribe send an email to [email protected] Unsubscribe: phenixbb-leave@%(host_name)s
phenixbb mailing list -- [email protected] To unsubscribe send an email to [email protected] Unsubscribe: phenixbb-leave@%(host_name)s
pavel > chat > claude
On Monday, November 30, 2026 at 04:15:05 PM PST, Georg Mlynek
Hi Georg,
can't you achieve this by supplying phenix.real_space_refine the whole model and then either let it to pick up master+symmetry copies automatically as NCS constraints (which it should do if master vs copies similarity is good enough) or specify them explicitly? Or.. am I missing something?
Pavel
On 11/30/26 09:43, Georg Mlynek wrote:
Dear Pavel, if I could add this feature to the Santa Claus wish list.
I refine cryo-EM structures with point-group symmetry (currently a C2 dimer at 1.84 Å). I would find it very useful if phenix.real_space_refine accepted only the unique chain plus a point group, for example symmetry=C2.
The program would then:
take the symmetry centre and axes from the map (or from a user-supplied operator file), generate the other copies internally and apply them as strict constraints, including contacts and restraints across the interfaces, write the unique chain, and optionally the expanded assembly.
Servalcat offers this with --pg C2. I understand that MTRIX records may already allow single-copy input. If that is still supported, could you point me to the current documentation? A direct point-group option would still save the manual expansion and extraction steps.
Thank you, Georg.
On 11/30/2026 5:51 PM, Pavel Afonine wrote:
Hi Carlos,
Thanks for sharing your experience with sharpened vs. unsharpened maps in refinement. I wonder what exactly you find better, and how you quantify the difference?
As a side note, I forgot to mention that there was a bug in B-factor refinement that I fixed last week. The fix should also be in the nightly builds now (bundled with the speed improvement).
All the best! Pavel
On 11/30/26 08:19, Kikuti Carlos wrote:
Hi Guillaume and Pavel,
Glad to read about the recent improvements of Phenix, I'll definitely try it soon.
I just felt impelled to jump in because our group often works in resolutions worse than 3 angstroms, and it helps a lot to refine against a sharpened map - yes, we are aware of the problem but it is still much better than what we can get from half maps in the initial cycles. We refine against the unsharpened (or half maps) only at the last steps, lowering the weight, to get the Bs right and deposit with the adequate statistics.
I believe other groups would also prefer to leave that input flexible. Obviously I agree with Guillaume that the half maps are closer to reality, but IMO this is more like something to be told during user training, optionally to be present in the Phenix documentation and/or in a pop-up box.
As a side note, my deep thoughts to everyone developing software and having to deal with the PDB->CIF change...
Best to all,
--------------------------------------------------- Carlos KIKUTI, PhD Structural Motility Team UMR144 - CNRS - Institut Curie 12 rue Lhomond - 75005 Paris, France [email protected] mailto:[email protected]
_______________________________________________ phenixbb mailing list -- [email protected] To unsubscribe send an email to [email protected] Unsubscribe: phenixbb-leave@%(host_name)s
phenixbb mailing list -- [email protected] To unsubscribe send an email to [email protected] Unsubscribe: phenixbb-leave@%(host_name)s
phenixbb mailing list -- [email protected] To unsubscribe send an email to [email protected] Unsubscribe: phenixbb-leave@%(host_name)s
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
participants (5)
-
Georg Mlynek -
Guillaume Gaullier -
jp d -
Kikuti Carlos -
Pavel Afonine