@Deprecated public class ExtAtomContainerManipulator extends AtomContainerManipulator
This is an extension of CDK AtomContainer. Some part of this code was taken from CDK source code and modified.
MolWeight, MolWeightIgnoreSpecified, MonoIsotopic, MostAbundant, NAT_ABUN_COMP
Constructor and Description |
---|
ExtAtomContainerManipulator()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
aromatizeMolecule(IAtomContainer mol)
Deprecated.
This function finds rings and uses aromaticity detection code to
aromatize the molecule.
|
static IAtomContainer |
convertExplicitToImplicitHydrogens(IAtomContainer atomContainer)
Deprecated.
Returns IAtomContainer without Hydrogen.
|
static int |
getExplicitHydrogenCount(IAtomContainer atomContainer,
IAtom atom)
Deprecated.
Returns The number of explicit hydrogens for a given IAtom.
|
static int |
getHydrogenCount(IAtomContainer atomContainer,
IAtom atom)
Deprecated.
The summed implicit + explicit hydrogens of the given IAtom.
|
static int |
getImplicitHydrogenCount(IAtom atom)
Deprecated.
Returns The number of Implicit Hydrogen Count for a given IAtom.
|
static IAtomContainer |
makeDeepCopy(IAtomContainer container)
Deprecated.
Retrurns deep copy of the molecule
|
static void |
percieveAtomTypesAndConfigureAtoms(IAtomContainer container)
Deprecated.
Convenience method to perceive atom types for all
IAtom s in the
IAtomContainer , using the CDKAtomTypeMatcher . |
static IAtomContainer |
removeHydrogensExceptSingleAndPreserveAtomID(IAtomContainer atomContainer)
Deprecated.
Returns IAtomContainer without Hydrogen.
|
anonymise, clearAtomConfigurations, convertImplicitToExplicitHydrogens, copyAndSuppressedHydrogens, countExplicitHydrogens, countHydrogens, createAllCarbonAllSingleNonAromaticBondAtomContainer, 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, percieveAtomTypesAndConfigureUnsetProperties, removeHydrogens, removeHydrogensPreserveMultiplyBonded, removeNonChiralHydrogens, replaceAtomByAtom, setAtomProperties, setSingleOrDoubleFlags, skeleton, suppressHydrogens, unregisterAtomListeners, unregisterElectronContainerListeners
public static IAtomContainer makeDeepCopy(IAtomContainer container)
container
- public static void aromatizeMolecule(IAtomContainer mol)
mol
- input moleculepublic static int getExplicitHydrogenCount(IAtomContainer atomContainer, IAtom atom)
atomContainer
- atom
- public static int getImplicitHydrogenCount(IAtom atom)
atom
- public static int getHydrogenCount(IAtomContainer atomContainer, IAtom atom)
atomContainer
- atom
- public static IAtomContainer removeHydrogensExceptSingleAndPreserveAtomID(IAtomContainer atomContainer)
atomContainer
- public static IAtomContainer convertExplicitToImplicitHydrogens(IAtomContainer atomContainer)
atomContainer
- 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
Copyright © 2021. All rights reserved.