OEOFlavor
The OEOFlavor namespace encodes symbolic
constants used as bit-masks to indicate how to read various
file formats by OEChem TK.
The OEOFlavor_Generic namespace within
OEOFlavor defines control bit-masks that are
common to all of the output formats.
Although these generic bits are common to all file formats, they
may be specified independently for each file format.
See also
oemolostream.SetFormatmethod to set the flavor of an output molecule streamoemolstreambase.GetFormatmethod to retrieve the flavor of a molecule stream
The interpretation of many of these flavor values, is identical to those passed to the corresponding OEChem TK low-level file format writers.
This namespace contains the following namespaces:
OEOFlavor::CAN
The
OEOFlavor_CANnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOECreateSmiStringfunction when writing a molecule into aOEFormat_CANformat file.Note
If no aromaticity model is specified for the
OEOFlavor_Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
AllBonds
Corresponds to the
OESMILESFlag_AllBondsconstant.AtomMaps
Corresponds to the
OESMILESFlag_AtomMapsconstant.AtomStereo
Corresponds to the
OESMILESFlag_AtomStereoconstant.BondStereo
Corresponds to the
OESMILESFlag_BondStereoconstant.Canonical
Corresponds to the
OESMILESFlag_Canonicalconstant.DEFAULT
Same as the
OEOFlavor_CAN_Defaultconstant.Default
Combination of
OEOFlavor_CAN_AtomMaps,OEOFlavor_CAN_CanonicalandOEOFlavor_CAN_RGroupsflags.EnhStereo
Corresponds to the
OESMILESFlag_EnhStereoconstant.ExtBonds
Corresponds to the
OESMILESFlag_ExtBondsconstant.Hydrogens
Corresponds to the
OESMILESFlag_Hydrogensconstant.ImpHCount
Corresponds to the
OESMILESFlag_ImpHCountconstant.Isotopes
Corresponds to the
OESMILESFlag_Isotopesconstant.Kekule
Corresponds to the
OESMILESFlag_Kekuleconstant.RGroups
Corresponds to the
OESMILESFlag_RGroupsconstant.SmiMask
SuperAtoms
Corresponds to the
OESMILESFlag_SuperAtomsconstant.
OEOFlavor::CDX
Note
If no aromaticity model is specified for the
OEOFlavor_Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
Add2D
This flag indicates that 2D coordinates are generated prior to writing a molecule by the
OEWriteMoleculehigh-level writer. If the molecule already has 2D coordinates then these coordinates are left intact. In certain cases the 2D layout may result in incorrect stereochemistry in the resulting connection table. In these cases no coordinates are generated.UnsetBad2DStereo
This flag is used with the Add2D constant. In certain cases the 2D layout may result in incorrect stereochemistry in the output connection table format. When this flag is set the writer will output the generated coordinates and set the stereochemistry of the offending stereocenters to ‘Undefined’.
Default
Same as the
OEOFlavor_CDX_Add2Dconstant.
OEOFlavor::CIF
Note
If no aromaticity model is specified for the
OEOFlavor_Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
Default
OEOFlavor::CSV
This namespace contains constants for modifying the behavior of how the
OEFormat_CSVfile format is written.See also
Header
This flag indicates whether the first line in the
.csvshould contain the column names for the file. Column names are determined by the SD data present on the first molecule written to the oemolostream, regardless of whether this flag is set. The column names are retrievable through theoemolstreambase.GetCSVHeadermethod on the OECSVHeader object.If this flag is not set, the first line of the output
.csvfile will be the first molecule record.Default
Set to include
OEOFlavor_CSV_Headerto automatically write the column names as the first line in the file.DEFAULT
Synonym for
OEOFlavor_CSV_Default.OEOFlavor::CXSMILES
The
OEOFlavor_CXSMILESnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOECreateSmiStringfunction when writing a molecule into aOEFormat_CXSMILESformat file.Note
If no aromaticity model is specified for the
OEOFlavor_Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
AllBonds
Corresponds to the
OESMILESFlag_AllBondsconstant.AtomMaps
Corresponds to the
OESMILESFlag_AtomMapsconstant.AtomStereo
Corresponds to the
OESMILESFlag_AtomStereoconstant.BondStereo
Corresponds to the
OESMILESFlag_BondStereoconstant.Canonical
Corresponds to the
OESMILESFlag_Canonicalconstant.DEFAULT
Same as the
OEOFlavor_CXSMILES_Defaultconstant.Default
Combination of
OEOFlavor_CXSMILES_AtomMaps,OEOFlavor_CXSMILES_AtomStereo,OEOFlavor_CXSMILES_BondStereo,OEOFlavor_CXSMILES_Canonical,OEOFlavor_CXSMILES_Isotopes,OEOFlavor_CXSMILES_RGroupsandOEOFlavor_CXSMILES_EnhStereoflags.EnhStereo
Corresponds to the
OESMILESFlag_EnhStereoconstant.ExtBonds
Corresponds to the
OESMILESFlag_ExtBondsconstant.Hydrogens
Corresponds to the
OESMILESFlag_Hydrogensconstant.ImpHCount
Corresponds to the
OESMILESFlag_ImpHCountconstant.Isotopes
Corresponds to the
OESMILESFlag_Isotopesconstant.Kekule
Corresponds to the
OESMILESFlag_Kekuleconstant.RGroups
Corresponds to the
OESMILESFlag_RGroupsconstant.SmiMask
SuperAtoms
Corresponds to the
OESMILESFlag_SuperAtomsconstant.OEOFlavor::FASTA
This namespace contains the following constants:
Default
OEOFlavor::Generic
This namespace contains the following constants:
OEAroModelDaylight
This flag indicates that the Daylight aromaticity model is used to perceive aromaticity by the
OEWriteMoleculehigh-level writer.OEAroModelOpenEye
This flag indicates that the OpenEye aromaticity model is used to perceive aromaticity by the
OEWriteMoleculehigh-level writer.OEAroModelTripos
This flag indicates that the Tripos aromaticity model is used to perceive aromaticity by the
OEWriteMoleculehigh-level writer.OEAroModelMMFF
This flag indicates that the MMFF aromaticity model is used to perceive aromaticity by the
OEWriteMoleculehigh-level writer.OEAroModelMDL
This flag indicates that the MDL aromaticity model is used to perceive aromaticity by the
OEWriteMoleculehigh-level writer.AroMask
Combination of
OEOFlavor_Generic_OEAroModelDaylight,OEOFlavor_Generic_OEAroModelOpenEye,OEOFlavor_Generic_OEAroModelTripos,OEOFlavor_Generic_OEAroModelMMFFandOEOFlavor_Generic_OEAroModelMDLflags.See also
Aromaticity Models in OEChem TK section
OEAssignAromaticFlagsfunctionRings
This flag indicates the rings are (re)perceived by the
OEWriteMoleculehigh-level reader by calling theOEFindRingAtomsAndBondsfunction.GenericMask
Combination of
OEIFlavor_Generic_AroMaskandOEIFlavor_Generic_Ringsflags.SpecificMask
DEFAULT
Default
Same as the
OEOFlavor_Generic_DEFAULTconstant.OEOFlavor::INCHI
The
OEOFlavor_INCHInamespace encodes symbolic constants used as bit-masks that control the processing performed by theOECreateInChIfunction when writing a molecule into theOEFormat_INCHIformat file. These constants translate into InChI library options documented in the InChI API Reference documentation.See also
This namespace contains the following constants:
Chiral
Corresponds to the
ChiralFlagOnInChI option.Default
Equal to
OEOFlavor_INCHI_StereoandOEOFlavor_INCHI_Title.FixedHLayer
Corresponds to the
FixedHInChI option.Hydrogens
Corresponds to the inverse of the
DoNotAddHInChI option.RacemicStereo
Corresponds to the
SRacInChI option.ReconnectedMetals
Corresponds to the
RecMetInChI option.RelativeStereo
Corresponds to the
SRelInChI option.Stereo
Corresponds to the inverse of the
SNonInChI option.Title
If this flag is set, then the molecule’s title (returned by
OEMolBase.GetTitlemethod) is written to the output file.OEOFlavor::INCHIKEY
The
OEOFlavor_INCHIKEYnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOECreateInChIKeyfunction when writing a molecule into aOEFormat_INCHIKEYformat file. These constants translate into InChI library options documented in the InChI API Reference documentation.This namespace contains the following constants:
Chiral
Corresponds to the
ChiralFlagOnInChI option.Default
Equal to
OEOFlavor_INCHIKEY_StereoandOEOFlavor_INCHIKEY_Title.FixedHLayer
Corresponds to the
FixedHInChI option.Hydrogens
Corresponds to the inverse of the
DoNotAddHInChI option.RacemicStereo
Corresponds to the
SRacInChI option.ReconnectedMetals
Corresponds to the
RecMetInChI option.RelativeStereo
Corresponds to the
SRelInChI option.Stereo
Corresponds to the inverse of the
SNonInChI option.Title
If this flag is set, then the molecule’s title (returned by
OEMolBase.GetTitlemethod) is written to the output file.OEOFlavor::ISM
The
OEOFlavor_ISMnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOECreateSmiStringfunction when writing a molecule into aOEFormat_ISMformat file.Note
If no aromaticity model is specified for the
OEOFlavor_Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
AllBonds
Corresponds to the
OESMILESFlag_AllBondsconstant.AtomMaps
Corresponds to the
OESMILESFlag_AtomMapsconstant.AtomStereo
Corresponds to the
OESMILESFlag_AtomStereoconstant.BondStereo
Corresponds to the
OESMILESFlag_BondStereoconstant.Canonical
Corresponds to the
OESMILESFlag_Canonicalconstant.DEFAULT
Same as the
OEOFlavor_ISM_Defaultconstant.Default
Combination of
OEOFlavor_ISM_AtomMaps,OEOFlavor_ISM_AtomStereo,OEOFlavor_ISM_BondStereo,OEOFlavor_ISM_Canonical,OEOFlavor_ISM_IsotopesandOEOFlavor_ISM_RGroupsflags.EnhStereo
Corresponds to the
OESMILESFlag_EnhStereoconstant.ExtBonds
Corresponds to the
OESMILESFlag_ExtBondsconstant.Hydrogens
Corresponds to the
OESMILESFlag_Hydrogensconstant.ImpHCount
Corresponds to the
OESMILESFlag_ImpHCountconstant.Isotopes
Corresponds to the
OESMILESFlag_Isotopesconstant.Kekule
Corresponds to the
OESMILESFlag_Kekuleconstant.RGroups
Corresponds to the
OESMILESFlag_RGroupsconstant.SmiMask
SuperAtoms
Corresponds to the
OESMILESFlag_SuperAtomsconstant.OEOFlavor::MDL
The
OEOFlavor_MDLnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOEWriteMDLFileand theOEWriteMoleculefunctions when writing a molecule into aOEFormat_MDLformat file.This namespace contains the following constants:
Add2D
This flag indicates that if a molecule has no coordinates, then 2D coordinates are generated prior to writing a molecule by the
OEWriteMoleculehigh-level writer. If the molecule already has 2D or 3D coordinates then these coordinates are left intact. In certain cases the 2D layout may result in incorrect stereochemistry in the resulting connection table. In these cases no coordinates are generated.UnsetBad2DStereo
This flag is used with the Add2D constant. In certain cases the 2D layout may result in incorrect stereochemistry in the output connection table format. When this flag is set the writer will output the generated coordinates and set the stereochemistry of the offending stereocenters to ‘Undefined’.
MCHG
The
OEOFlavor_MDL_MCHGflag is used to instruct the MDL mol file writer to writeM CHGandM RADlines for charged/radical atoms in the output connection table, even if the charge and radical values of every atom are within the ranges representable by the MDL atom block. By default,M CHGandM RADlines are only used for connection tables that ‘overflow’ the allowed atom block limits.MISO
The
OEOFlavor_MDL_MISOflag is used to instruct the OEChem TK MDL mol file writer to writeM ISOlines for isotopes in the output connection table, even if the isotopic masses of every atom are within the range representable by the MDL atom block. By default,M ISOlines are only used for connection tables that ‘overflow’ the allowed atom block limits.MRGP
The
OEOFlavor_MDL_MRGPflag is used to instruct the OEChem TK MDL mol file writer to write outM RGPentries for each R-group atom, i.e. atom with element zero and a non-zero atom map index. These atoms are always written with atomic symbolR#.MV30
Force every molecule to be written in V3000 format. By default, only molecules with more than 999 atoms or enhanced stereo groups will be written in V3000 format.
MDLParity
If this flag is set and
OEMDLHasParityreturnsfalse,thenOEMDLPerceiveParityfunction is called to perceive the MDL atom stereo parity fields.Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWriteMDLFile.NoParity
If this flag is set, then
OEMDLClearParityfunction is called to set all MDL atom stereo parity fields to zero.Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWriteMDLFile.CurrentParity
If this flag is set, then the MDL atom stereo parity fields are left intact.
Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWriteMDLFile.MMask
PMask
Combination of
OEOFlavor_MDL_MDLParity,OEOFlavor_MDL_NoParityandOEOFlavor_MDL_CurrentParityflags. The flag controls the processing of the MDL stereo parity bit field of each atom.SuppressImp2ExpENHSTE
This flavor suppresses any implicit to explicit enhanced stereogroup conversions if the output is V3000 format.
SuppressTimestamps
This flavor suppresses the output of timestamps in MDL format header line(s). This can be useful for generation of simple diffable standards for use in tests.
DEFAULT
Combination of
OEOFlavor_MDL_Add2D,OEOFlavor_MDL_MDLParity,OEOFlavor_MDL_MRGP,OEOFlavor_MDL_MISOandOEOFlavor_MDL_MCHGflags.Default
Same as the
OEOFlavor_MDL_DEFAULTconstant.OEOFlavor::MF
The
OEOFlavor_MFnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOEWriteMoleculefunctions when writing a molecule into aOEFormat_MFformat file.This namespace contains the following constants:
Title
If this flag is set, then the molecule’s title (returned by
OEMolBase.GetTitlemethod) is written to the output file.DEFAULT
Same as the
OEOFlavor_MF_Titleconstant.Default
Same as the
OEOFlavor_MF_DEFAULTconstant.
OEOFlavor::MMCIF
Note
If no aromaticity model is specified for the
OEOFlavor_Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
PerceiveMetadata
Default
OEOFlavor::MMOD
This namespace contains following constants:
AtomTypes
DEFAULT
Default
Same as the
OEOFlavor_MMOD_DEFAULTconstant.OEOFlavor::MOL2
Note
Except for MOL2 Flavor Forcefield, if no aromaticity model is specified for the
OEOFlavor_Genericnamespace for this file format, then the Tripos model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constant:
AtomNames
AtomTypeNames
BondTypeNames
ChargePrecision
This flavor allows for increased precision of partial charges by writing them out to 5 decimal places.
Forcefield
Combination of
OEOFlavor_MOL2_GeneralFFFormat,OEOFlavor_MOL2_ChargePrecision, andOEOFlavor_MOL2_BondTypeNamesflagsThis variant of MOL2 reflects a common use of MOL2 format to embody information for a general forcefield. It combines the
OEOFlavor_MOL2_GeneralFFFormatso that atom names, atom types, and atom ordering are written out “as is” based on the input molecule, andOEOFlavor_MOL2_ChargePrecision, which writes out atomic partial charges to 5 decimal places. Mol2OEOFlavor_MOL2_BondTypeNamesare retained from the Tripos standard at this point because they are generally reasonable and historically they don’t conflict with the other needs of general forcefield format.GeneralFFFormat
This variant of MOL2 is commonly used for carrying information for force fields more general than the Tripos forcefield (the MOL2 standard). Here the atom names, atom types, and atom ordering are retained from the input molecule, rather than being changed to comply with the Tripos MOL2 standard. If an atom does not have a user-defined atom name and atom type for all atoms, warnings will be given and no molecule will be written.
Hydrogens
OrderAtoms
Substructure
NameMask
AllMask
DEFAULT
Default
Same as the
OEOFlavor_MOL2_DEFAULTconstant.OEOFlavor::MOL2H
Note
If no aromaticity model is specified for the
OEOFlavor_Genericnamespace for this file format, then the Tripos model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
AtomTypeNames
BondTypeNames
AtomNames
OrderAtoms
Hydrogens
Substructure
NameMask
AllMask
DEFAULT
Default
Same as the
OEOFlavor_MOL2H_DEFAULTconstant.OEOFlavor::MOPAC
This namespace contains the following constants:
XYZ
CHARGES
AllMask
DEFAULT
Default
Same as the
OEOFlavor_MOPAC_DEFAULTconstant.OEOFlavor::OEB
This namespace contains the following constants:
Default
OEOFlavor::OEZ
This namespace contains the following constants:
Default
OEOFlavor::PDB
The
OEOFlavor_PDBnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOEWritePDBFileand theOEWriteMoleculefunctions when writing a molecule into aOEFormat_PDBformat file.This namespace contains the following constants:
BONDS
Controls whether the OEChem PDB file writer includes CONECT records to describe the connectivity of the molecule. If this flag is given without
OEOFlavor_PDB_ORDERSall bonds are written as ‘single’ bonds.OEOFlavor_PDB_BONDSis off by default.ORDERS
Controls whether the PDB file writer should use repeated CONECT records to represent multiple bond orders (i.e. double and triple bonds). If this flag is given without
OEOFlavor_PDB_BONDSonly double and triple bonds are written to the file.OEOFlavor_PDB_ORDERSis off by default.BOTH
Including this bit-mask writes bi-directional CONECT records. Conventionally, PDB files list connect records both from source atom to destination atom, and again from destination to source. This duplication doubles the number/size of CONECT records with redundant information, as most readers (if they honor CONECT records at all) can work with uni-directional CONECT records. By default, this flavor is enabled and bi-directional CONECT records are written.
CHARGE
Controls whether the PDB file writer takes the value for the PDB file’s B-factor field from the atom’s partial charge property. A number of applications, including Delphi, (ab)use the PDB file format specification to store atomic partial charges in the b-factor field rather instead of crystallographically determined anisotropic temperature factors.
OEOFlavor_PDB_CHARGEis off by default.RADIUS
Controls whether the PDB file writer takes the value for the PDB file’s occupancy field from the atom’s radius property. A number of applications, including Delphi, (ab)use the PDB file format specification to store radii in the occupancy field rather instead of crystallographically determined anisotropic occupancies.
OEOFlavor_PDB_RADIUSis off by default.TER
Controls whether the PDB file writer terminates each connection table with a TER record rather than an END record. Some dubious molecular graphics software, such as Grasp, requires that multiple compounds be separated by the chain/fragment separator TER, rather than the molecule separator END.
OEOFlavor_PDB_TERis off by default.DELPHI
Combination of
OEOFlavor_PDB_CHARGEandOEOFlavor_PDB_RADIUSflags.ELEMENT
Controls whether the PDB writer writes the chemical symbol right-justified in columns 77-78, as specified by version 2.2 of the PDB format specification.
OEOFlavor_PDB_ELEMENTis on by default.FORMALCHARGE
Controls whether the PDB file writer writes the formal charge right-justified (e.g.
2+,2-) in columns 79-80, as specified by version 2.2 of the PDB format specification. This flag is off by default. EnablingOEOFlavor_PDB_FORMALCHARGEalso enablesOEOFlavor_PDB_ELEMENT.HETBONDS
Controls whether the PDB writer writes any bond to or from a ‘hetero atom’ (i.e. atom that has the record type
HETATMin a PDB file).OEOFlavor_PDB_HETBONDSis on by default.See also
OEPreserveResInfonamespace
OEResidue.IsHetAtommethod to retrieve the ‘hetero atom’ property of an atom in a residue
SetHetAtommethodBasicMask
OEResidues
Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWritePDBFile.NoResidues
Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWritePDBFile.CurrentResidues
Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWritePDBFile.OrderAtoms
Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWritePDBFile.AllMask
DEFAULT
Combination of
OEOFlavor_PDB_OrderAtoms,OEOFlavor_PDB_OEResidues,OEOFlavor_PDB_HETBONDS,OEOFlavor_PDB_ELEMENTandOEOFlavor_PDB_BOTHflags.Default
Same as the
OEOFlavor_PDB_DEFAULTconstant.OEOFlavor::SDF
The
OEOFlavor_SDFnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOEWriteMDLFileand theOEWriteMoleculefunctions when writing a molecule into aOEFormat_SDFformat file.This namespace contains the following constants:
Add2D
This flag indicates that if a molecule has no coordinates, then 2D coordinates are generated prior to writing a molecule by the
OEWriteMoleculehigh-level writer. If the molecule already has 2D or 3D coordinates then these coordinates are left intact. In certain cases the 2D layout may result in incorrect stereochemistry in the resulting connection table. In these cases no coordinates are generated.UnsetBad2DStereo
This flag is used with the Add2D constant. In certain cases the 2D layout may result in incorrect stereochemistry in the output connection table format. When this flag is set the writer will output the generated coordinates and set the stereochemistry of the offending stereocenters to ‘Undefined’.
MCHG
MISO
MRGP
MV30
MDLParity
If this flag is set and
OEMDLHasParityreturnsfalse,thenOEMDLPerceiveParityfunction is called to perceive the MDL atom stereo parity fields.Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWriteMDLFile.NoParity
If this flag is set, then
OEMDLClearParityfunction is called to set all MDL atom stereo parity fields to zero.Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWriteMDLFile.CurrentParity
If this flag is set, then the MDL atom stereo parity fields are left intact.
Note
This flag is only interpreted by the high-level file writers (
OEWriteMolecule) and not inOEWriteMDLFile.MMask
PMask
Combination of
OEOFlavor_SDF_MDLParity,OEOFlavor_SDF_NoParityandOEOFlavor_SDF_CurrentParityflags. The flag controls the processing of the MDL stereo parity bit field of each atom.SuppressImp2ExpENHSTE
This flavor suppresses any implicit to explicit enhanced stereogroup conversions if the output is V3000 format.
SuppressTimestamps
This flavor suppresses the output of timestamps in MDL format header line(s). This can be useful for generation of simple diffable standards for use in tests.
DEFAULT
Combination of
OEOFlavor_SDF_Add2D,OEOFlavor_SDF_MDLParity,OEOFlavor_SDF_MRGP,OEOFlavor_SDF_MISOandOEOFlavor_SDF_MCHGflags.Default
Same as the
OEOFlavor_SDF_DEFAULTconstant.OEOFlavor::SLN
Note
If no aromaticity model is specified for the
OEOFlavor_Genericnamespace for this file format, then the Tripos model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
Default
OEOFlavor::SMI
The
OEOFlavor_SMInamespace encodes symbolic constants used as bit-masks that control the processing performed by theOECreateSmiStringfunction when writing a molecule into aOEFormat_SMIformat file.Note
If no aromaticity model is specified for the
OEOFlavor_Genericnamespace for this file format, then the OpenEye model is used by default to perceive aromaticity by theOEWriteMoleculehigh-level writer.This namespace contains the following constants:
AllBonds
Corresponds to the
OESMILESFlag_AllBondsconstant.AtomMaps
Corresponds to the
OESMILESFlag_AtomMapsconstant.AtomStereo
Corresponds to the
OESMILESFlag_AtomStereoconstant.BondStereo
Corresponds to the
OESMILESFlag_BondStereoconstant.Canonical
Corresponds to the
OESMILESFlag_Canonicalconstant.DEFAULT
Same as the
OEOFlavor_SMI_Defaultconstant.Default
Combination of
OEOFlavor_SMI_AtomMaps,OEOFlavor_SMI_AtomStereo,OEOFlavor_SMI_BondStereo,OEOFlavor_SMI_Canonical,OEOFlavor_SMI_IsotopesandOEOFlavor_SMI_RGroupsflags.EnhStereo
Corresponds to the
OESMILESFlag_EnhStereoconstant.ExtBonds
Corresponds to the
OESMILESFlag_ExtBondsconstant.Hydrogens
Corresponds to the
OESMILESFlag_Hydrogensconstant.ImpHCount
Corresponds to the
OESMILESFlag_ImpHCountconstant.Isotopes
Corresponds to the
OESMILESFlag_Isotopesconstant.Kekule
Corresponds to the
OESMILESFlag_Kekuleconstant.RGroups
Corresponds to the
OESMILESFlag_RGroupsconstant.SmiMask
SuperAtoms
Corresponds to the
OESMILESFlag_SuperAtomsconstant.OEOFlavor::USM
This namespace contains constants.
AllBonds
Corresponds to the
OESMILESFlag_AllBondsconstant.AtomMaps
Corresponds to the
OESMILESFlag_AtomMapsconstant.AtomStereo
Corresponds to the
OESMILESFlag_AtomStereoconstant.BondStereo
Corresponds to the
OESMILESFlag_BondStereoconstant.Canonical
Corresponds to the
OESMILESFlag_Canonicalconstant.DEFAULT
Same as the
OEOFlavor_USM_Defaultconstant.Default
Combination of
OEOFlavor_USM_AtomMaps,OEOFlavor_USM_RGroupsflags.EnhStereo
Corresponds to the
OESMILESFlag_EnhStereoconstant.ExtBonds
Corresponds to the
OESMILESFlag_ExtBondsconstant.Hydrogens
Corresponds to the
OESMILESFlag_Hydrogensconstant.ImpHCount
Corresponds to the
OESMILESFlag_ImpHCountconstant.Isotopes
Corresponds to the
OESMILESFlag_Isotopesconstant.Kekule
Corresponds to the
OESMILESFlag_Kekuleconstant.RGroups
Corresponds to the
OESMILESFlag_RGroupsconstant.SmiMask
SuperAtoms
Corresponds to the
OESMILESFlag_SuperAtomsconstant.OEOFlavor::XYZ
The
OEOFlavor_XYZnamespace encodes symbolic constants used as bit-masks that control the processing performed by theOEWriteXYZFilefunction when writing a molecule into aOEFormat_XYZformat file.This namespace contains the following constants:
Charges
Specifies that the partial charge for each atom should be appended as an additional column.
Symbols
Write the atomic symbol instead of the atomic number.
SinglePrecision
Forces coordinates to be written in single precision with only 5 significant digits.
DoublePrecision
Forces coordinates to be written in double precision with only 18 significant digits.
Default
Equivalent to
Charges | Symbols. By default, what precision, single or double precision will be introspected from the molecule type.