@Beta public class StereoAnalysis extends Object
// read molecule Molecule inputMolecule = ... // construct new analysis StereoAnalysis analysis = new StereoAnalysis(inputMolecule); // list of all stereocenters of molecule List<StereoCenter> stereoCenters = analysis.allStereoCenters(); // value of first tetrahedral stereocenter TetrahedralStereoCenter sc = analysis.tetrahedralStereoCenters().get(0); TetrahedralStereoIUPACValue value = sc.getCIPValue(); // error list List<ErrorReport> errors = analysis.errors();
Please note that this class is marked with @Beta annotation, so it can be subject of incompatible changes or removal in later releases.
Constructor and Description |
---|
StereoAnalysis(Molecule mol)
Creates an analysis.
|
Modifier and Type | Method and Description |
---|---|
List<StereoCenter> |
allStereoCenters()
All stereo centers of molecule.
|
List<StereoCenter> |
allStereoCentersWithAttachedData()
All stereo centers with attached data.
|
List<AtropStereoCenter> |
atropStereoCenters()
Calculates the atrop stereocenters.
|
List<AtropStereoCenter> |
atropStereoCentersWithAttachedData()
Calculates the atrop stereocenters with attached data.
|
List<AxialStereoCenter> |
axialStereoCenters()
Calculates the axial stereocenters.
|
List<AxialStereoCenter> |
axialStereoCentersWithAttachedData()
Calculates the axial stereocenters with attached data.
|
List<CisTransStereoCenter> |
cisDoubleBonds()
Calculates the CIS double bonds.
|
List<CisTransStereoCenter> |
cisTransDoubleBonds()
Calculates the CIS-TRANS double bonds.
|
List<CisTransStereoCenter> |
cisTransDoubleBondsWithAttachedData()
Calculates the CIS-TRANS double bonds with attached data.
|
List<ErrorReport> |
errors()
Error reports.
|
Set<String> |
getEnhancedStereoFlags()
Returns the enhanced stereo flags of the molecule.
|
EnhancedStereoGroup |
getEnhancedStereoGroup(String enhancedStereoFlag)
Gets the EnhancedStereoGroup to which the specified flag is mapped.
|
Molecule |
getInputMolecule()
Gets the input molecule.
|
boolean |
isAbsStereo()
Gets the absolute stereoconfiguration flag.
|
List<AtropStereoCenter> |
knownAtropStereoCenters()
Calculates the KNOWN atrop stereocenters.
|
List<AxialStereoCenter> |
knownAxialStereoCenters()
Calculates the KNOWN axial stereocenters.
|
List<TetrahedralStereoCenter> |
knownResolvedStereoCenters()
Calculates the known, resolved tetrahedral stereogenic centers.
|
List<TetrahedralStereoCenter> |
knownResolvedStereoCentersWithAttachedData()
Calculates the known, resolved tetrahedral stereogenic centers (with attached data).
|
List<TetrahedralStereoCenter> |
racemicStereoCenters()
Calculates the racemic tetrahedral stereogenic centers.
|
List<TetrahedralStereoCenter> |
racemicStereoCentersWithAttachedData()
Calculates the racemic tetrahedral stereogenic centers (with attached data).
|
List<TetrahedralStereoCenter> |
tetrahedralStereoCenters()
Calculates the tetrahedral stereogenic centers.
|
List<TetrahedralStereoCenter> |
tetrahedralStereoCentersWithAttachedData()
Calculates the tetrahedral stereogenic centers (with attached data).
|
List<CisTransStereoCenter> |
transDoubleBonds()
Calculates the TRANS double bonds.
|
List<AtropStereoCenter> |
unknownAtropStereoCenters()
Calculates the UNKNOWN atrop stereocenters.
|
List<AxialStereoCenter> |
unknownAxialStereoCenters()
Calculates the UNKNOWN axial stereocenters.
|
List<TetrahedralStereoCenter> |
unknownResolvedStereoCenters()
Calculates the unknown, resolved tetrahedral stereogenic centers.
|
List<TetrahedralStereoCenter> |
unknownResolvedStereoCentersWithAttachedData()
Calculates the unknown, resolved tetrahedral stereogenic centers (with attached data).
|
List<TetrahedralStereoCenter> |
unresolvedStereoCenters()
Calculates the unresolved tetrahedral stereogenic centers.
|
List<TetrahedralStereoCenter> |
unresolvedStereoCentersWithAttachedData()
Calculates the unresolved tetrahedral stereogenic centers (with attached data).
|
public StereoAnalysis(Molecule mol)
mol
- input moleculepublic Molecule getInputMolecule()
public boolean isAbsStereo()
public List<StereoCenter> allStereoCenters()
public List<StereoCenter> allStereoCentersWithAttachedData()
public List<TetrahedralStereoCenter> tetrahedralStereoCenters()
public List<TetrahedralStereoCenter> tetrahedralStereoCentersWithAttachedData()
public List<ErrorReport> errors()
public List<TetrahedralStereoCenter> knownResolvedStereoCenters()
public List<TetrahedralStereoCenter> knownResolvedStereoCentersWithAttachedData()
public List<TetrahedralStereoCenter> unknownResolvedStereoCenters()
public List<TetrahedralStereoCenter> unknownResolvedStereoCentersWithAttachedData()
public List<TetrahedralStereoCenter> racemicStereoCenters()
public List<TetrahedralStereoCenter> racemicStereoCentersWithAttachedData()
public List<TetrahedralStereoCenter> unresolvedStereoCenters()
public List<TetrahedralStereoCenter> unresolvedStereoCentersWithAttachedData()
public List<CisTransStereoCenter> cisDoubleBonds()
public List<CisTransStereoCenter> transDoubleBonds()
public List<CisTransStereoCenter> cisTransDoubleBonds()
public List<CisTransStereoCenter> cisTransDoubleBondsWithAttachedData()
public List<AxialStereoCenter> axialStereoCenters()
public List<AxialStereoCenter> axialStereoCentersWithAttachedData()
public List<AxialStereoCenter> knownAxialStereoCenters()
public List<AxialStereoCenter> unknownAxialStereoCenters()
public List<AtropStereoCenter> atropStereoCenters()
public List<AtropStereoCenter> atropStereoCentersWithAttachedData()
public List<AtropStereoCenter> knownAtropStereoCenters()
public List<AtropStereoCenter> unknownAtropStereoCenters()
public Set<String> getEnhancedStereoFlags()
public EnhancedStereoGroup getEnhancedStereoGroup(String enhancedStereoFlag)
enhancedStereoFlag
- enhanced stereo flagIllegalArgumentException
- if molecule does not contains the specified flaggetEnhancedStereoFlags()