Repository navigation
Conversation
lohedges
temporarily deployed
to
biosimspace-build
November 18, 2026 11:41 — with
GitHub Actions
Inactive
lohedges
had a problem deploying
to
biosimspace-build
November 18, 2026 11:41 — with
GitHub Actions
Failure
lohedges
temporarily deployed
to
biosimspace-build
November 18, 2026 11:41 — with
GitHub Actions
Inactive
lohedges
temporarily deployed
to
biosimspace-build
November 18, 2026 11:41 — with
GitHub Actions
Inactive
lohedges
temporarily deployed
to
biosimspace-build
November 18, 2026 11:41 — with
GitHub Actions
Inactive
This branch was previously deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Closes #565.
When the RDKit MCS search in
matchAtomstimed out, RDKit returned the best substructure found so far andmatchAtomsused it without any warning. Since the search runs withCompareAnymatching and hydrogens included, larger ligand pairs can need more than the default 5 s timeout, so the result could depend on machine load.This PR:
mcs_strategyoption tomatchAtoms:"full"(the default and existing behaviour, with the fallback above),"heavy"(heavy-atom search and extension only), or"both"(the largest mapping from either search, using the score to choose between mappings of the same size). It isn't supported withroi.AtomIdxkeys rather than integers."both"helps because RDKit'sFindMCSreturns a single substructure. When several common substructures have the same size, the one it returns can force a poor mapping, e.g. a ring mapped onto itself flipped by 180°, with some pairs 4–5 Å apart in aligned poses. The scoring can only choose between matches of that one substructure.Tested against the 596 edges of the OpenFE industry benchmark set that we prepare with
matchAtoms. With the default"full", mappings only change for the three edges whose search timed out with a truncated result:With
"both", 40 of the 596 edges change: the three above, and about 30 where a ring was previously mapped flipped. For those, the largest distance between mapped atoms in the aligned poses drops from 4–5 Å to below 1 Å. The other 556 mappings are identical. With"both", a mapping can take up to twice the timeout, since each search has its own.