Package org.openscience.cdk.smsd.tools
Class ExtAtomContainerManipulator
java.lang.Object
org.openscience.cdk.tools.manipulator.AtomContainerManipulator
org.openscience.cdk.smsd.tools.ExtAtomContainerManipulator
Deprecated.
SMSD has been deprecated from the CDK with a newer, more recent
version of SMSD is available at http://github.com/asad/smsd.
Class that handles some customised features for SMSD atom containers.
This is an extension of CDK AtomContainer. Some part of this code was taken from CDK source code and modified.
- Author:
- Syed Asad Rahman <asad@ebi.ac.uk>
-
Field Summary
Fields inherited from class org.openscience.cdk.tools.manipulator.AtomContainerManipulator
MolWeight, MolWeightIgnoreSpecified, MonoIsotopic, MostAbundant, NAT_ABUN_COMP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated.This function finds rings and uses aromaticity detection code to aromatize the molecule.static IAtomContainerconvertExplicitToImplicitHydrogens(IAtomContainer atomContainer) Deprecated.Returns IAtomContainer without Hydrogen.static intgetExplicitHydrogenCount(IAtomContainer atomContainer, IAtom atom) Deprecated.Returns The number of explicit hydrogens for a given IAtom.static intgetHydrogenCount(IAtomContainer atomContainer, IAtom atom) Deprecated.The summed implicit + explicit hydrogens of the given IAtom.static intDeprecated.Returns The number of Implicit Hydrogen Count for a given IAtom.static IAtomContainermakeDeepCopy(IAtomContainer container) Deprecated.Retrurns deep copy of the moleculestatic voidpercieveAtomTypesAndConfigureAtoms(IAtomContainer container) Deprecated.Convenience method to perceive atom types for allIAtoms in theIAtomContainer, using theCDKAtomTypeMatcher.static IAtomContainerremoveHydrogensExceptSingleAndPreserveAtomID(IAtomContainer atomContainer) Deprecated.Returns IAtomContainer without Hydrogen.Methods inherited from class org.openscience.cdk.tools.manipulator.AtomContainerManipulator
anonymise, clearAtomConfigurations, convertImplicitToExplicitHydrogens, copy, copy, copy, copyAndSuppressedHydrogens, countExplicitHydrogens, countHydrogens, createAllCarbonAllSingleNonAromaticBondAtomContainer, extractSubstructure, extractSubstructure, getAllIDs, getAtomArray, getAtomArray, getAtomById, getBondArray, getBondArray, getBondOrderSum, getElectronContainerArray, getElectronContainerArray, getHeavyAtoms, getImplicitHydrogenCount, getIntersection, getMass, getMass, getMaximumBondOrder, getMolecularWeight, getNaturalExactMass, getSingleBondEquivalentSum, getTotalCharge, getTotalExactMass, getTotalFormalCharge, getTotalHydrogenCount, getTotalNaturalAbundance, getTotalNegativeFormalCharge, getTotalPositiveFormalCharge, normalizeHydrogens, percieveAtomTypesAndConfigureUnsetProperties, removeHydrogens, removeHydrogensPreserveMultiplyBonded, removeNonChiralHydrogens, replaceAtomByAtom, setAtomProperties, setSingleOrDoubleFlags, skeleton, suppressHydrogens, unregisterAtomListeners, unregisterElectronContainerListeners
-
Constructor Details
-
ExtAtomContainerManipulator
public ExtAtomContainerManipulator()Deprecated.
-
-
Method Details
-
makeDeepCopy
Deprecated.Retrurns deep copy of the molecule- Parameters:
container-- Returns:
- deep copy of the mol
-
aromatizeMolecule
Deprecated.This function finds rings and uses aromaticity detection code to aromatize the molecule.- Parameters:
mol- input molecule
-
getExplicitHydrogenCount
Deprecated.Returns The number of explicit hydrogens for a given IAtom.- Parameters:
atomContainer-atom-- Returns:
- The number of explicit hydrogens on the given IAtom.
-
getImplicitHydrogenCount
Deprecated.Returns The number of Implicit Hydrogen Count for a given IAtom.- Parameters:
atom-- Returns:
- Implicit Hydrogen Count
-
getHydrogenCount
Deprecated.The summed implicit + explicit hydrogens of the given IAtom.- Parameters:
atomContainer-atom-- Returns:
- The summed implicit + explicit hydrogens of the given IAtom.
-
removeHydrogensExceptSingleAndPreserveAtomID
public static IAtomContainer removeHydrogensExceptSingleAndPreserveAtomID(IAtomContainer atomContainer) Deprecated.Returns IAtomContainer without Hydrogen. If an AtomContainer has atom single atom which is atom Hydrogen then its not removed.- Parameters:
atomContainer-- Returns:
- IAtomContainer without Hydrogen. If an AtomContainer has atom single atom which is atom Hydrogen then its not removed.
-
convertExplicitToImplicitHydrogens
Deprecated.Returns IAtomContainer without Hydrogen. If an AtomContainer has atom single atom which is atom Hydrogen then its not removed.- Parameters:
atomContainer-- Returns:
- IAtomContainer without Hydrogen. If an AtomContainer has atom single atom which is atom Hydrogen then its not removed.
-
percieveAtomTypesAndConfigureAtoms
Deprecated.Convenience method to perceive atom types for allIAtoms in theIAtomContainer, using theCDKAtomTypeMatcher. If the matcher finds atom matching atom type, theIAtomwill be configured to have the same properties as theIAtomType. If no matching atom type is found, no configuration is performed.- Parameters:
container-- Throws:
CDKException
-