public class StereoChemUtils extends Object
Constructor and Description |
---|
StereoChemUtils() |
Modifier and Type | Method and Description |
---|---|
static org.openscience.cdk.stereo.DoubleBondStereochemistry |
bondChange(org.openscience.cdk.interfaces.IAtom at1,
org.openscience.cdk.interfaces.IAtom at2,
org.openscience.cdk.interfaces.IBond.Order initialBondOrder,
org.openscience.cdk.interfaces.IBond.Order updatedBondOrder,
org.openscience.cdk.interfaces.IAtomContainer target,
org.openscience.cdk.stereo.DoubleBondStereochemistry dbsc,
StereoChange stChange) |
static org.openscience.cdk.stereo.ExtendedTetrahedral |
bondChange(org.openscience.cdk.interfaces.IAtom at1,
org.openscience.cdk.interfaces.IAtom at2,
org.openscience.cdk.interfaces.IBond.Order initialBondOrder,
org.openscience.cdk.interfaces.IBond.Order updatedBondOrder,
org.openscience.cdk.interfaces.IAtomContainer target,
org.openscience.cdk.stereo.ExtendedTetrahedral etc) |
static org.openscience.cdk.stereo.TetrahedralChirality |
bondChange(org.openscience.cdk.interfaces.IAtom at1,
org.openscience.cdk.interfaces.IAtom at2,
org.openscience.cdk.interfaces.IBond.Order initialBondOrder,
org.openscience.cdk.interfaces.IBond.Order updatedBondOrder,
org.openscience.cdk.interfaces.IAtomContainer target,
org.openscience.cdk.stereo.TetrahedralChirality thc) |
static int |
checkDoubleBondStereochemistry(org.openscience.cdk.stereo.DoubleBondStereochemistry dbs,
org.openscience.cdk.interfaces.IAtomContainer mol) |
static void |
checkStereoElements(org.openscience.cdk.interfaces.IAtomContainer mol) |
static int |
checkTetrahedralChirality(org.openscience.cdk.stereo.TetrahedralChirality thc,
org.openscience.cdk.interfaces.IAtomContainer mol) |
static void |
cloneAndCheckStereo(org.openscience.cdk.interfaces.IAtomContainer cloneMol,
org.openscience.cdk.interfaces.IAtomContainer originalMol) |
static org.openscience.cdk.stereo.DoubleBondStereochemistry |
cloneDoubleBondStereochemistry(org.openscience.cdk.stereo.DoubleBondStereochemistry originalDBS,
org.openscience.cdk.interfaces.IAtomContainer originalMol,
org.openscience.cdk.interfaces.IAtomContainer cloneMol) |
static org.openscience.cdk.stereo.DoubleBondStereochemistry |
cloneDoubleBondStereochemistry(org.openscience.cdk.stereo.DoubleBondStereochemistry originalDBS,
org.openscience.cdk.interfaces.IAtomContainer originalMol,
org.openscience.cdk.interfaces.IAtomContainer cloneMol,
org.openscience.cdk.interfaces.IAtom[] newAtoms,
org.openscience.cdk.interfaces.IBond[] newBonds) |
static org.openscience.cdk.stereo.TetrahedralChirality |
cloneTetrahedralChirality(org.openscience.cdk.stereo.TetrahedralChirality originalTHC,
org.openscience.cdk.interfaces.IAtomContainer originalMol,
org.openscience.cdk.interfaces.IAtomContainer cloneMol) |
static org.openscience.cdk.stereo.TetrahedralChirality |
cloneTetrahedralChirality(org.openscience.cdk.stereo.TetrahedralChirality originalTHC,
org.openscience.cdk.interfaces.IAtomContainer originalMol,
org.openscience.cdk.interfaces.IAtomContainer cloneMol,
org.openscience.cdk.interfaces.IAtom[] newAtoms) |
static boolean |
contains(org.openscience.cdk.interfaces.IStereoElement element,
org.openscience.cdk.interfaces.IAtom at)
Checks whether the stereo element contains the atom
This function works with invalidated stereo elements.
|
static org.openscience.cdk.stereo.DoubleBondStereochemistry |
deleteAtom(org.openscience.cdk.interfaces.IAtom at,
org.openscience.cdk.stereo.DoubleBondStereochemistry dbsc,
StereoChange stChange) |
static org.openscience.cdk.stereo.ExtendedTetrahedral |
deleteAtom(org.openscience.cdk.interfaces.IAtom at,
org.openscience.cdk.stereo.ExtendedTetrahedral etc) |
static org.openscience.cdk.stereo.TetrahedralChirality |
deleteAtom(org.openscience.cdk.interfaces.IAtom at,
org.openscience.cdk.stereo.TetrahedralChirality thc) |
static String |
doubleBondStereochemistry2String(org.openscience.cdk.stereo.DoubleBondStereochemistry dbs,
org.openscience.cdk.interfaces.IAtomContainer mol) |
static String |
extendedTetrahedral2String(org.openscience.cdk.stereo.ExtendedTetrahedral eth,
org.openscience.cdk.interfaces.IAtomContainer mol) |
static org.openscience.cdk.stereo.DoubleBondStereochemistry |
findDBStereoElementByStereoBond(org.openscience.cdk.interfaces.IBond stereoBond,
org.openscience.cdk.interfaces.IAtomContainer container) |
static org.openscience.cdk.stereo.ExtendedTetrahedral |
findExtendedTetrahedralByChiralCenter(org.openscience.cdk.interfaces.IAtom chirCenter,
org.openscience.cdk.interfaces.IAtomContainer container) |
static org.openscience.cdk.stereo.TetrahedralChirality |
findTetrahedralChiralityByChiralCenter(org.openscience.cdk.interfaces.IAtom chirCenter,
org.openscience.cdk.interfaces.IAtomContainer container) |
static String |
getAllStereoElementsStatus(org.openscience.cdk.interfaces.IAtomContainer mol,
List<org.openscience.cdk.interfaces.IStereoElement> invElements) |
static String |
getStereoElementsStatus(org.openscience.cdk.interfaces.IAtomContainer mol) |
static String |
getTetrahedralChiralityStatusString(int status) |
static boolean |
isInvalidated(org.openscience.cdk.stereo.DoubleBondStereochemistry dbsc) |
static boolean |
isInvalidated(org.openscience.cdk.stereo.ExtendedTetrahedral etc) |
static boolean |
isInvalidated(org.openscience.cdk.stereo.TetrahedralChirality thc) |
static org.openscience.cdk.stereo.DoubleBondStereochemistry |
restoreDBStereo(org.openscience.cdk.interfaces.IAtomContainer target,
org.openscience.cdk.stereo.DoubleBondStereochemistry dbsc,
StereoChange stChange) |
static void |
setSteroElementsAsProperties(org.openscience.cdk.interfaces.IAtomContainer container) |
static String |
stereoElement2String(org.openscience.cdk.interfaces.IStereoElement element,
org.openscience.cdk.interfaces.IAtomContainer mol) |
static String |
tetrahedralChirality2String(org.openscience.cdk.stereo.TetrahedralChirality thc,
org.openscience.cdk.interfaces.IAtomContainer mol) |
public static org.openscience.cdk.stereo.DoubleBondStereochemistry cloneDoubleBondStereochemistry(org.openscience.cdk.stereo.DoubleBondStereochemistry originalDBS, org.openscience.cdk.interfaces.IAtomContainer originalMol, org.openscience.cdk.interfaces.IAtomContainer cloneMol, org.openscience.cdk.interfaces.IAtom[] newAtoms, org.openscience.cdk.interfaces.IBond[] newBonds)
originalDBS
- - the stereo element from the original molecule that will be clonedoriginalMol
- - the original moleculecloneMol
- - the clone molecule. Its atoms and bond must have already be clonednewAtoms
- - the cloned/new atomsnewBonds
- - the cloned/new bondspublic static org.openscience.cdk.stereo.DoubleBondStereochemistry cloneDoubleBondStereochemistry(org.openscience.cdk.stereo.DoubleBondStereochemistry originalDBS, org.openscience.cdk.interfaces.IAtomContainer originalMol, org.openscience.cdk.interfaces.IAtomContainer cloneMol)
public static org.openscience.cdk.stereo.TetrahedralChirality cloneTetrahedralChirality(org.openscience.cdk.stereo.TetrahedralChirality originalTHC, org.openscience.cdk.interfaces.IAtomContainer originalMol, org.openscience.cdk.interfaces.IAtomContainer cloneMol, org.openscience.cdk.interfaces.IAtom[] newAtoms)
public static org.openscience.cdk.stereo.TetrahedralChirality cloneTetrahedralChirality(org.openscience.cdk.stereo.TetrahedralChirality originalTHC, org.openscience.cdk.interfaces.IAtomContainer originalMol, org.openscience.cdk.interfaces.IAtomContainer cloneMol)
public static void checkStereoElements(org.openscience.cdk.interfaces.IAtomContainer mol)
public static int checkDoubleBondStereochemistry(org.openscience.cdk.stereo.DoubleBondStereochemistry dbs, org.openscience.cdk.interfaces.IAtomContainer mol)
dbs
- - DoubleBondStereochemistry object to checkedmol
- - target molecule (IAtomContainer)public static int checkTetrahedralChirality(org.openscience.cdk.stereo.TetrahedralChirality thc, org.openscience.cdk.interfaces.IAtomContainer mol)
thc
- - TetrahedralChirality object to be checkedmol
- - target molecule (IAtomContainer)public static String getTetrahedralChiralityStatusString(int status)
public static String doubleBondStereochemistry2String(org.openscience.cdk.stereo.DoubleBondStereochemistry dbs, org.openscience.cdk.interfaces.IAtomContainer mol)
public static String tetrahedralChirality2String(org.openscience.cdk.stereo.TetrahedralChirality thc, org.openscience.cdk.interfaces.IAtomContainer mol)
public static String extendedTetrahedral2String(org.openscience.cdk.stereo.ExtendedTetrahedral eth, org.openscience.cdk.interfaces.IAtomContainer mol)
public static String stereoElement2String(org.openscience.cdk.interfaces.IStereoElement element, org.openscience.cdk.interfaces.IAtomContainer mol)
public static void cloneAndCheckStereo(org.openscience.cdk.interfaces.IAtomContainer cloneMol, org.openscience.cdk.interfaces.IAtomContainer originalMol)
public static String getStereoElementsStatus(org.openscience.cdk.interfaces.IAtomContainer mol)
public static String getAllStereoElementsStatus(org.openscience.cdk.interfaces.IAtomContainer mol, List<org.openscience.cdk.interfaces.IStereoElement> invElements)
public static void setSteroElementsAsProperties(org.openscience.cdk.interfaces.IAtomContainer container)
public static org.openscience.cdk.stereo.TetrahedralChirality deleteAtom(org.openscience.cdk.interfaces.IAtom at, org.openscience.cdk.stereo.TetrahedralChirality thc)
public static org.openscience.cdk.stereo.ExtendedTetrahedral deleteAtom(org.openscience.cdk.interfaces.IAtom at, org.openscience.cdk.stereo.ExtendedTetrahedral etc)
public static org.openscience.cdk.stereo.TetrahedralChirality bondChange(org.openscience.cdk.interfaces.IAtom at1, org.openscience.cdk.interfaces.IAtom at2, org.openscience.cdk.interfaces.IBond.Order initialBondOrder, org.openscience.cdk.interfaces.IBond.Order updatedBondOrder, org.openscience.cdk.interfaces.IAtomContainer target, org.openscience.cdk.stereo.TetrahedralChirality thc)
public static org.openscience.cdk.stereo.ExtendedTetrahedral bondChange(org.openscience.cdk.interfaces.IAtom at1, org.openscience.cdk.interfaces.IAtom at2, org.openscience.cdk.interfaces.IBond.Order initialBondOrder, org.openscience.cdk.interfaces.IBond.Order updatedBondOrder, org.openscience.cdk.interfaces.IAtomContainer target, org.openscience.cdk.stereo.ExtendedTetrahedral etc)
public static org.openscience.cdk.stereo.DoubleBondStereochemistry deleteAtom(org.openscience.cdk.interfaces.IAtom at, org.openscience.cdk.stereo.DoubleBondStereochemistry dbsc, StereoChange stChange)
public static org.openscience.cdk.stereo.DoubleBondStereochemistry bondChange(org.openscience.cdk.interfaces.IAtom at1, org.openscience.cdk.interfaces.IAtom at2, org.openscience.cdk.interfaces.IBond.Order initialBondOrder, org.openscience.cdk.interfaces.IBond.Order updatedBondOrder, org.openscience.cdk.interfaces.IAtomContainer target, org.openscience.cdk.stereo.DoubleBondStereochemistry dbsc, StereoChange stChange)
public static boolean isInvalidated(org.openscience.cdk.stereo.DoubleBondStereochemistry dbsc)
public static boolean isInvalidated(org.openscience.cdk.stereo.TetrahedralChirality thc)
public static boolean isInvalidated(org.openscience.cdk.stereo.ExtendedTetrahedral etc)
public static boolean contains(org.openscience.cdk.interfaces.IStereoElement element, org.openscience.cdk.interfaces.IAtom at)
element
- at
- public static org.openscience.cdk.stereo.DoubleBondStereochemistry findDBStereoElementByStereoBond(org.openscience.cdk.interfaces.IBond stereoBond, org.openscience.cdk.interfaces.IAtomContainer container)
public static org.openscience.cdk.stereo.TetrahedralChirality findTetrahedralChiralityByChiralCenter(org.openscience.cdk.interfaces.IAtom chirCenter, org.openscience.cdk.interfaces.IAtomContainer container)
public static org.openscience.cdk.stereo.ExtendedTetrahedral findExtendedTetrahedralByChiralCenter(org.openscience.cdk.interfaces.IAtom chirCenter, org.openscience.cdk.interfaces.IAtomContainer container)
public static org.openscience.cdk.stereo.DoubleBondStereochemistry restoreDBStereo(org.openscience.cdk.interfaces.IAtomContainer target, org.openscience.cdk.stereo.DoubleBondStereochemistry dbsc, StereoChange stChange)
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.