Class TautomerizationReaction
java.lang.Object
org.openscience.cdk.reaction.ReactionEngine
org.openscience.cdk.reaction.type.TautomerizationReaction
- All Implemented Interfaces:
IReactionProcess
IReactionProcess which produces a tautomerization chemical reaction. As most commonly encountered, this reaction results in the formal migration of a hydrogen atom or proton, accompanied by a switch of a single bond and adjacent double bond
X=Y-Z-H => X(H)-Y=Z
Below you have an example how to initiate the mechanism.
It is processed by the HeterolyticCleavageMechanism class
IAtomContainerSet setOfReactants = DefaultChemObjectBuilder.getInstance().newAtomContainerSet();
setOfReactants.addAtomContainer(new AtomContainer());
IReactionProcess type = new TautomerizationReaction();
Object[] params = {Boolean.FALSE};
type.setParameters(params);
IReactionSet setOfReactions = type.initiate(setOfReactants, null);
We have the possibility to localize the reactive center. Good method if you want to specify the reaction in a fixed point.
atoms[0].setFlag(CDKConstants.REACTIVE_CENTER,true);
Moreover you must put the parameter Boolean.TRUE
If the reactive center is not specified then the reaction process will try to find automatically the possible reaction centers.
- Author:
- Miguel Rojas
- See Also:
- Created on:
- 2008-02-11
-
Field Summary
Fields inherited from class org.openscience.cdk.reaction.ReactionEngine
mechanism, paramsMap, paramsMap2 -
Constructor Summary
ConstructorsConstructorDescriptionConstructor of the TautomerizationReaction object. -
Method Summary
Modifier and TypeMethodDescriptionGets the specification attribute of the TautomerizationReaction object.initiate(IAtomContainerSet reactants, IAtomContainerSet agents) Initiate process.Methods inherited from class org.openscience.cdk.reaction.ReactionEngine
getParameterClass, getParameterList, setParameterListMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openscience.cdk.reaction.IReactionProcess
getParameterClass, getParameterList, setParameterList
-
Constructor Details
-
TautomerizationReaction
public TautomerizationReaction()Constructor of the TautomerizationReaction object.
-
-
Method Details
-
getSpecification
Gets the specification attribute of the TautomerizationReaction object.- Specified by:
getSpecificationin interfaceIReactionProcess- Returns:
- The specification value
-
initiate
public IReactionSet initiate(IAtomContainerSet reactants, IAtomContainerSet agents) throws CDKException Initiate process. It is needed to call the addExplicitHydrogensToSatisfyValency from the class tools.HydrogenAdder.- Specified by:
initiatein interfaceIReactionProcess- Parameters:
reactants- reactants of the reactionagents- agents of the reaction (Must be in this case null)- Returns:
- the set of reactions.
- Throws:
CDKException- Description of the Exception
-