Closed JHucker closed 2 years ago
Hi @JHucker,
You are right, reactions with reactants "consumed" multiple times are not predicted adequately in the current version of rxnmapper
. I do not see an easy fix for that, and it would probably require some extended research / trial-and-error to detect this automatically.
Balancing the reactions prior to mapping should work, usually.
Let us know if that doesn't answer your question, and sorry for not being able to provide you with an easy solution.
Thanks, @avaucher. At present this is sufficient information. However, in future, it would be excellent to see this introduced as a new feature. I will re-raise this in future if I can obtain sufficient justification and more examples including output from other AAM tools re-using reactants.
Hi all, I was hoping to get some help/ information with regards to mapping reactions which are imbalanced. I have a pipeline which utilises rxnmapper for AAM, downstream a template is extracted and then validated. On a private dataset there is an unacceptable amount of failed validations.
For reproducibility in this issue I have checked for the same validation failures on USPTO. For USPTO these failures appear to relate back to: mapping where the reaction is imbalanced / there is implied stoichiometry and atom map numbers are not repeated on the RHS / missing.
Some examples:
Is it realistic of me to expect that rxnmapper should handle imbalanced reactions in the manner I've described or should these be balanced prior to mapping? Please let me know if any further information or examples are required.
Appreciate your assistance with this.
Other information
This is using rxnmapper 0.2.0, outcome is the same irrespective of
canonicalize_rxns=False
orTrue
.Note that SMILES in 'pre_mapping' have undergone a standardisation process and those in 'post_mapping' have had molecules with no atom mapping removed.