Class StereoAnalysis
java.lang.Object
com.chemaxon.calculations.stereoanal.StereoAnalysis
The stereo analysis module is able to calculate stereochemical descriptors for a molecule,
giving an analysis in terms of the stereochemical properties.
API usage example:
API usage example:
// 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.
- Since:
- Marvin 6.2
-
Constructor Summary
ConstructorDescriptionStereoAnalysis
(Molecule mol) Creates an analysis.StereoAnalysis
(Molecule mol, String licenseEnvironment) Creates an analysis. -
Method Summary
Modifier and TypeMethodDescriptionAll stereo centers of molecule.All stereo centers with attached data.Calculates the atrop stereocenters.Calculates the atrop stereocenters with attached data.Calculates the axial stereocenters.Calculates the axial stereocenters with attached data.Calculates the CIS double bonds.Calculates the CIS-TRANS double bonds.Calculates the CIS-TRANS double bonds with attached data.errors()
Error reports.Returns the enhanced stereo flags of the molecule.getEnhancedStereoGroup
(String enhancedStereoFlag) Gets the EnhancedStereoGroup to which the specified flag is mapped.Gets the input molecule.boolean
Gets the absolute stereoconfiguration flag.Calculates the KNOWN atrop stereocenters.Calculates the KNOWN axial stereocenters.Calculates the known, resolved tetrahedral stereogenic centers.Calculates the known, resolved tetrahedral stereogenic centers (with attached data).Calculates the racemic tetrahedral stereogenic centers.Calculates the racemic tetrahedral stereogenic centers (with attached data).Calculates the tetrahedral stereogenic centers.Calculates the tetrahedral stereogenic centers (with attached data).Calculates the TRANS double bonds.Calculates the UNKNOWN atrop stereocenters.Calculates the UNKNOWN axial stereocenters.Calculates the unknown, resolved tetrahedral stereogenic centers.Calculates the unknown, resolved tetrahedral stereogenic centers (with attached data).Calculates the unresolved tetrahedral stereogenic centers.Calculates the unresolved tetrahedral stereogenic centers (with attached data).
-
Constructor Details
-
StereoAnalysis
Creates an analysis.- Parameters:
mol
- input moleculelicenseEnvironment
- license environment
-
StereoAnalysis
Creates an analysis.- Parameters:
mol
- input molecule
-
-
Method Details
-
getInputMolecule
Gets the input molecule.- Returns:
- copy of input molecule
-
isAbsStereo
public boolean isAbsStereo()Gets the absolute stereoconfiguration flag. "Chiral flag" in MDL molfiles.- Returns:
- true for absolute, false for relative configuration
-
allStereoCenters
All stereo centers of molecule.- Returns:
- an immutable list of stereocenters
-
allStereoCentersWithAttachedData
All stereo centers with attached data.- Returns:
- an immutable list of stereocenters
-
tetrahedralStereoCenters
Calculates the tetrahedral stereogenic centers.- Returns:
- the immutable list of stereocenters
-
tetrahedralStereoCentersWithAttachedData
Calculates the tetrahedral stereogenic centers (with attached data).- Returns:
- the immutable list of stereocenters
-
errors
Error reports.- Returns:
- an immutable list of errors
-
knownResolvedStereoCenters
Calculates the known, resolved tetrahedral stereogenic centers.- Returns:
- the immutable list of stereocenters
-
knownResolvedStereoCentersWithAttachedData
Calculates the known, resolved tetrahedral stereogenic centers (with attached data).- Returns:
- the immutable list of stereocenters
-
unknownResolvedStereoCenters
Calculates the unknown, resolved tetrahedral stereogenic centers.- Returns:
- the immutable list of stereocenters
-
unknownResolvedStereoCentersWithAttachedData
Calculates the unknown, resolved tetrahedral stereogenic centers (with attached data).- Returns:
- the immutable list of stereocenters
-
racemicStereoCenters
Calculates the racemic tetrahedral stereogenic centers.- Returns:
- the immutable list of stereocenters
-
racemicStereoCentersWithAttachedData
Calculates the racemic tetrahedral stereogenic centers (with attached data).- Returns:
- the immutable list of stereocenters
-
unresolvedStereoCenters
Calculates the unresolved tetrahedral stereogenic centers.- Returns:
- the immutable list of stereocenters
-
unresolvedStereoCentersWithAttachedData
Calculates the unresolved tetrahedral stereogenic centers (with attached data).- Returns:
- the immutable list of stereocenters
-
cisDoubleBonds
Calculates the CIS double bonds.- Returns:
- the immutable list of stereocenters
-
transDoubleBonds
Calculates the TRANS double bonds.- Returns:
- the immutable list of stereocenters
-
cisTransDoubleBonds
Calculates the CIS-TRANS double bonds.- Returns:
- the immutable list of stereocenters
-
cisTransDoubleBondsWithAttachedData
Calculates the CIS-TRANS double bonds with attached data.- Returns:
- the immutable list of stereocenters
-
axialStereoCenters
Calculates the axial stereocenters.- Returns:
- the immutable list of stereocenters
-
axialStereoCentersWithAttachedData
Calculates the axial stereocenters with attached data.- Returns:
- the immutable list of stereocenters
-
knownAxialStereoCenters
Calculates the KNOWN axial stereocenters.- Returns:
- the immutable list of stereocenters
-
unknownAxialStereoCenters
Calculates the UNKNOWN axial stereocenters.- Returns:
- the immutable list of stereocenters.
-
atropStereoCenters
Calculates the atrop stereocenters.- Returns:
- the immutable list of stereocenters
-
atropStereoCentersWithAttachedData
Calculates the atrop stereocenters with attached data.- Returns:
- the immutable list of stereocenters
-
knownAtropStereoCenters
Calculates the KNOWN atrop stereocenters.- Returns:
- the immutable list of stereocenters
-
unknownAtropStereoCenters
Calculates the UNKNOWN atrop stereocenters.- Returns:
- the immutable list of stereocenters.
-
getEnhancedStereoFlags
Returns the enhanced stereo flags of the molecule.- Returns:
- set of string
-
getEnhancedStereoGroup
Gets the EnhancedStereoGroup to which the specified flag is mapped.- Parameters:
enhancedStereoFlag
- enhanced stereo flag- Returns:
- an EnhancedStereoGroup
- Throws:
IllegalArgumentException
- if molecule does not contains the specified flag- See Also:
-