Add --no-bss
flag to optionally turn off bulk-solvent scaling in phenix.refine
#28
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Note - this PR does not change the default behavior. The default behavior is still to try and produce the "best" phases, which means including bulk-solvent scaling. If this ever changes in the future, I will be sure to make that clear.
The new feature is implemented as an optional flag,
--no-bss
, which takes no argument. Including this flag will tellmatchmaps
to skip the bulk solvent scaling step of phenix refinement for both off and on data. The rationale is that in some cases, there is interesting signal (e.g. a bound ligand) that is far away from the protein model. This signal is susceptible to be altered by BSS in a way that is undesirable. In at least one case (not shown), turning off BSS leads to significant improvement of map quality.In the limiting, isomorphous case, this
--no-bss
flavor ofmatchmaps
is much closer to mathematically equivalent to an isomorphous difference map. Additionally, and unsurprisingly,matchmaps
runs much faster when BSS is skipped.