Class SMSDNormalizer


  • @Deprecated
    public class SMSDNormalizer
    extends AtomContainerManipulator
    Deprecated.
    This class is part of SMSD and either duplicates functionality elsewhere in the CDK or provides public access to internal implementation details. SMSD has been deprecated from the CDK with a newer, more recent version of SMSD is available at http://github.com/asad/smsd.
    This class containes set of modules required to clean a molecule before subjecting it for MCS search. eg. aromatizeMolecule
    Author:
    Syed Asad Rahman <asad@ebi.ac.uk>
    Source code:
    main
    Belongs to CDK module:
    smsd
    • Constructor Detail

      • SMSDNormalizer

        public SMSDNormalizer()
        Deprecated.
    • Method Detail

      • makeDeepCopy

        public static IAtomContainer makeDeepCopy​(IAtomContainer container)
        Deprecated.
        Returns deep copy of the molecule
        Parameters:
        container -
        Returns:
        deep copy of the mol
      • aromatizeMolecule

        public static void aromatizeMolecule​(IAtomContainer mol)
        Deprecated.
        This function finds rings and uses aromaticity detection code to aromatize the molecule.
        Parameters:
        mol - input molecule
      • getExplicitHydrogenCount

        public static int getExplicitHydrogenCount​(IAtomContainer atomContainer,
                                                   IAtom atom)
        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

        public static int getImplicitHydrogenCount​(IAtomContainer atomContainer,
                                                   IAtom atom)
        Deprecated.
        Returns The number of Implicit Hydrogen Count for a given IAtom.
        Parameters:
        atomContainer -
        atom -
        Returns:
        Implicit Hydrogen Count
      • getHydrogenCount

        public static int getHydrogenCount​(IAtomContainer atomContainer,
                                           IAtom atom)
        Deprecated.
        The summed implicit + explicit hydrogens of the given IAtom.
        Parameters:
        atomContainer -
        atom -
        Returns:
        The summed implicit + explicit hydrogens of the given IAtom.
      • removeHydrogensAndPreserveAtomID

        public static IAtomContainer removeHydrogensAndPreserveAtomID​(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

        public static IAtomContainer convertExplicitToImplicitHydrogens​(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.
      • percieveAtomTypesAndConfigureAtoms

        public static void percieveAtomTypesAndConfigureAtoms​(IAtomContainer container)
                                                       throws CDKException
        Deprecated.
        Convenience method to perceive atom types for all IAtoms 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.
        Parameters:
        container -
        Throws:
        CDKException