33 #ifndef __RD_REACTION_UTILS_H
34 #define __RD_REACTION_UTILS_H
44 MOL_SPTR_VECT::const_iterator
getEndIterator(
const ChemicalReaction &rxn,
48 const ChemicalReaction &query_rxn);
51 const ChemicalReaction &query_rxn);
54 const ChemicalReaction &query_rxn);
57 const ChemicalReaction &query_rxn,
58 bool includeAgents =
false);
void removeMappingNumbersFromReactions(const ChemicalReaction &rxn)
void updateProductsStereochem(ChemicalReaction *rxn)
bool hasAgentTemplateSubstructMatch(const ChemicalReaction &rxn, const ChemicalReaction &query_rxn)
bool hasProductTemplateSubstructMatch(const ChemicalReaction &rxn, const ChemicalReaction &query_rxn)
bool isReactionTemplateMoleculeAgent(const ROMol &mol, double agentThreshold)
Includes a bunch of functionality for handling Atom and Bond queries.
MOL_SPTR_VECT::const_iterator getStartIterator(const ChemicalReaction &rxn, ReactionMoleculeType t)
MOL_SPTR_VECT::const_iterator getEndIterator(const ChemicalReaction &rxn, ReactionMoleculeType t)
bool hasReactantTemplateSubstructMatch(const ChemicalReaction &rxn, const ChemicalReaction &query_rxn)
bool hasReactionSubstructMatch(const ChemicalReaction &rxn, const ChemicalReaction &query_rxn, bool includeAgents=false)
bool hasReactionAtomMapping(const ChemicalReaction &rxn)