mirror of
https://github.com/rdkit/mmpdb.git
synced 2026-04-03 08:29:14 -06:00
Symmetric variable fragments are not replaced in both possible directions #78
Labels
No labels
bug
bug
bug
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
enhancement
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github/mmpdb#78
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @KramerChristian on 5/9/2018
When running the transform query, the enumerator only creates one out of the several possible compounds if a fragment to be replaced is symmetric.
Here is a simplified example:
Running a transform query with this input compound
C1CCC1CCN2CC2
yields (among others) this fragmentation:
constant: C1CCC1*.C2CN2*
variable: CC
Note that the variable linker is symmetric.
The MMP database now contains transformations like
CC >> C(C)C
which should produce these two compounds:
C1CCC1C(C)CN2CC2
C1CCC1CC(C)N2CC2
, depending on which way round the transformation is applied. However, it only produces one of them. (The other one is produced too, but based on a different rule with much less pairs.)