@TestClass(value="org.openscience.cdk.normalize.SMSDNormalizerTest") public class SMSDNormalizer extends AtomContainerManipulator
Constructor and Description |
---|
SMSDNormalizer() |
Modifier and Type | Method and Description |
---|---|
static void |
aromatizeMolecule(IAtomContainer mol)
This function finds rings and uses aromaticity detection code to
aromatize the molecule.
|
static IAtomContainer |
convertExplicitToImplicitHydrogens(IAtomContainer atomContainer)
Returns IAtomContainer without Hydrogen.
|
static int |
getExplicitHydrogenCount(IAtomContainer atomContainer,
IAtom atom)
Returns The number of explicit hydrogens for a given IAtom.
|
static int |
getHydrogenCount(IAtomContainer atomContainer,
IAtom atom)
The summed implicit + explicit hydrogens of the given IAtom.
|
static int |
getImplicitHydrogenCount(IAtomContainer atomContainer,
IAtom atom)
Returns The number of Implicit Hydrogen Count for a given IAtom.
|
static IMolecule |
makeDeepCopy(IAtomContainer container)
Returns deep copy of the molecule
|
static void |
percieveAtomTypesAndConfigureAtoms(IAtomContainer container)
Convenience method to perceive atom types for all
IAtom s in the
IAtomContainer , using the CDKAtomTypeMatcher . |
static IAtomContainer |
removeHydrogensAndPreserveAtomID(IAtomContainer atomContainer)
Returns IAtomContainer without Hydrogen.
|
clearAtomConfigurations, convertImplicitToExplicitHydrogens, countExplicitHydrogens, countHydrogens, createAllCarbonAllSingleNonAromaticBondAtomContainer, extractSubstructure, getAllIDs, getAtomArray, getAtomArray, getAtomById, getAtomParity, getBondArray, getBondArray, getBondOrderSum, getElectronContainerArray, getElectronContainerArray, getHeavyAtoms, getIntersection, getMaximumBondOrder, getNaturalExactMass, getSingleBondEquivalentSum, getTotalCharge, getTotalExactMass, getTotalFormalCharge, getTotalHydrogenCount, getTotalNaturalAbundance, getTotalNegativeFormalCharge, getTotalPositiveFormalCharge, percieveAtomTypesAndConfigureUnsetProperties, removeHydrogens, removeHydrogensPreserveMultiplyBonded, replaceAtomByAtom, setAtomProperties, unregisterAtomListeners, unregisterElectronContainerListeners
@TestMethod(value="testMakeDeepCopy") public static IMolecule makeDeepCopy(IAtomContainer container)
container
- @TestMethod(value="testAromatizeMolecule") public static void aromatizeMolecule(IAtomContainer mol)
mol
- input molecule@TestMethod(value="testGetExplicitHydrogenCount") public static int getExplicitHydrogenCount(IAtomContainer atomContainer, IAtom atom)
atomContainer
- atom
- @TestMethod(value="testGetImplicitHydrogenCount") public static int getImplicitHydrogenCount(IAtomContainer atomContainer, IAtom atom)
atomContainer
- atom
- @TestMethod(value="testGetHydrogenCount") public static int getHydrogenCount(IAtomContainer atomContainer, IAtom atom)
atomContainer
- atom
- @TestMethod(value="testRemoveHydrogensAndPreserveAtomID") public static IAtomContainer removeHydrogensAndPreserveAtomID(IAtomContainer atomContainer)
atomContainer
- @TestMethod(value="testConvertExplicitToImplicitHydrogens") public static IAtomContainer convertExplicitToImplicitHydrogens(IAtomContainer atomContainer)
atomContainer
- @TestMethod(value="testPercieveAtomTypesAndConfigureAtoms") public static void percieveAtomTypesAndConfigureAtoms(IAtomContainer container) throws CDKException
IAtom
s in the
IAtomContainer
, using the CDKAtomTypeMatcher
. If the
matcher finds atom matching atom type, the IAtom
will be configured
to have the same properties as the IAtomType
. If no matching atom
type is found, no configuration is performed.container
- CDKException