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.SetFormat
method to set the flavor of an output molecule streamoemolstreambase.GetFormat
method 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_CAN
namespace encodes symbolic
constants used as bit-masks that control the processing
performed by the OECreateSmiString
function
when writing a molecule into a OEFormat_CAN
format file.
Note
If no aromaticity model is specified for the
OEOFlavor_Generic
namespace for this file format,
then the OpenEye model is used by default to perceive aromaticity by the
OEWriteMolecule
high-level writer.
This namespace contains the following constants:
AllBonds
Corresponds to the OESMILESFlag_AllBonds
constant.
AtomMaps
Corresponds to the OESMILESFlag_AtomMaps
constant.
AtomStereo
Corresponds to the OESMILESFlag_AtomStereo
constant.
BondStereo
Corresponds to the OESMILESFlag_BondStereo
constant.
Canonical
Corresponds to the OESMILESFlag_Canonical
constant.
DEFAULT
Same as the OEOFlavor_CAN_Default
constant.
Default
Combination of
OEOFlavor_CAN_AtomMaps
,
OEOFlavor_CAN_Canonical
and
OEOFlavor_CAN_RGroups
flags.
EnhStereo
Corresponds to the OESMILESFlag_EnhStereo
constant.
ExtBonds
Corresponds to the OESMILESFlag_ExtBonds
constant.
Hydrogens
Corresponds to the OESMILESFlag_Hydrogens
constant.
ImpHCount
Corresponds to the OESMILESFlag_ImpHCount
constant.
Isotopes
Corresponds to the OESMILESFlag_Isotopes
constant.
Kekule
Corresponds to the OESMILESFlag_Kekule
constant.
RGroups
Corresponds to the OESMILESFlag_RGroups
constant.
SmiMask
SuperAtoms
Corresponds to the OESMILESFlag_SuperAtoms
constant.
OEOFlavor::CDX¶
Note
If no aromaticity model is specified for the
OEOFlavor_Generic
namespace for this file format,
then the OpenEye model is used by default to perceive aromaticity by the
OEWriteMolecule
high-level writer.
This namespace contains the following constants:
Add2D
This flag indicates that 2D coordinates are generated prior to
writing a molecule by the
OEWriteMolecule
high-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_Add2D
constant.
OEOFlavor::CIF¶
Note
If no aromaticity model is specified for the
OEOFlavor_Generic
namespace for this file format,
then the OpenEye model is used by default to perceive aromaticity by the
OEWriteMolecule
high-level writer.
This namespace contains the following constants:
Default
OEOFlavor::CSV¶
This namespace contains constants for modifying the behavior of
how the OEFormat_CSV
file format is written.
See also
Header
This flag indicates whether the first line in the
.csv
should 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 the
oemolstreambase.GetCSVHeader
method on the
OECSVHeader object.
If this flag is not set, the first line of the
output .csv
file will be the first molecule record.
Default
Set to include OEOFlavor_CSV_Header
to
automatically write the column names as the first line in the
file.
DEFAULT
Synonym for OEOFlavor_CSV_Default
.
OEOFlavor::CXSMILES¶
The OEOFlavor_CXSMILES
namespace encodes symbolic
constants used as bit-masks that control the processing
performed by the OECreateSmiString
function
when writing a molecule into a OEFormat_CXSMILES
format file.
Note
If no aromaticity model is specified for the
OEOFlavor_Generic
namespace for this file format,
then the OpenEye model is used by default to perceive aromaticity by the
OEWriteMolecule
high-level writer.
This namespace contains the following constants:
AllBonds
Corresponds to the OESMILESFlag_AllBonds
constant.
AtomMaps
Corresponds to the OESMILESFlag_AtomMaps
constant.
AtomStereo
Corresponds to the OESMILESFlag_AtomStereo
constant.
BondStereo
Corresponds to the OESMILESFlag_BondStereo
constant.
Canonical
Corresponds to the OESMILESFlag_Canonical
constant.
DEFAULT
Same as the OEOFlavor_CXSMILES_Default
constant.
Default
Combination of
OEOFlavor_CXSMILES_AtomMaps
,
OEOFlavor_CXSMILES_AtomStereo
,
OEOFlavor_CXSMILES_BondStereo
,
OEOFlavor_CXSMILES_Canonical
,
OEOFlavor_CXSMILES_Isotopes
,
OEOFlavor_CXSMILES_RGroups
and
OEOFlavor_CXSMILES_EnhStereo
flags.
EnhStereo
Corresponds to the OESMILESFlag_EnhStereo
constant.
ExtBonds
Corresponds to the OESMILESFlag_ExtBonds
constant.
Hydrogens
Corresponds to the OESMILESFlag_Hydrogens
constant.
ImpHCount
Corresponds to the OESMILESFlag_ImpHCount
constant.
Isotopes
Corresponds to the OESMILESFlag_Isotopes
constant.
Kekule
Corresponds to the OESMILESFlag_Kekule
constant.
RGroups
Corresponds to the OESMILESFlag_RGroups
constant.
SmiMask
SuperAtoms
Corresponds to the OESMILESFlag_SuperAtoms
constant.
OEOFlavor::Generic¶
This namespace contains the following constants:
OEAroModelDaylight
This flag indicates that the Daylight aromaticity model is
used to perceive aromaticity by the
OEWriteMolecule
high-level writer.
OEAroModelOpenEye
This flag indicates that the OpenEye aromaticity model is
used to perceive aromaticity by the
OEWriteMolecule
high-level writer.
OEAroModelTripos
This flag indicates that the Tripos aromaticity model is
used to perceive aromaticity by the
OEWriteMolecule
high-level writer.
OEAroModelMMFF
This flag indicates that the MMFF aromaticity model is
used to perceive aromaticity by the
OEWriteMolecule
high-level writer.
OEAroModelMDL
This flag indicates that the MDL aromaticity model is
used to perceive aromaticity by the
OEWriteMolecule
high-level writer.
AroMask
Combination of
OEOFlavor_Generic_OEAroModelDaylight
,
OEOFlavor_Generic_OEAroModelOpenEye
,
OEOFlavor_Generic_OEAroModelTripos
,
OEOFlavor_Generic_OEAroModelMMFF
and
OEOFlavor_Generic_OEAroModelMDL
flags.
See also
Aromaticity Models in OEChem TK section
OEAssignAromaticFlags
function
Rings
This flag indicates the rings are (re)perceived by the
OEWriteMolecule
high-level reader by calling
the OEFindRingAtomsAndBonds
function.
GenericMask
Combination of
OEIFlavor_Generic_AroMask
and
OEIFlavor_Generic_Rings
flags.
SpecificMask
DEFAULT
Default
Same as the OEOFlavor_Generic_DEFAULT
constant.
OEOFlavor::INCHI¶
The OEOFlavor_INCHI
namespace encodes symbolic
constants used as bit-masks that control the processing
performed by the OECreateInChI
function
when writing a molecule into the OEFormat_INCHI
format 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 ChiralFlagOn
InChI option.
Default
Equal to OEOFlavor_INCHI_Stereo
and OEOFlavor_INCHI_Title
.
FixedHLayer
Corresponds to the FixedH
InChI option.
Hydrogens
Corresponds to the inverse of the DoNotAddH
InChI option.
RacemicStereo
Corresponds to the SRac
InChI option.
ReconnectedMetals
Corresponds to the RecMet
InChI option.
RelativeStereo
Corresponds to the SRel
InChI option.
Stereo
Corresponds to the inverse of the SNon
InChI option.
Title
If this flag is set, then the molecule’s title (returned by
OEMolBase.GetTitle
method) is written to
the output file.
OEOFlavor::INCHIKEY¶
The OEOFlavor_INCHIKEY
namespace encodes symbolic
constants used as bit-masks that control the processing
performed by the OECreateInChIKey
function
when writing a molecule into a OEFormat_INCHIKEY
format 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 ChiralFlagOn
InChI option.
Default
Equal to OEOFlavor_INCHIKEY_Stereo
and OEOFlavor_INCHIKEY_Title
.
FixedHLayer
Corresponds to the FixedH
InChI option.
Hydrogens
Corresponds to the inverse of the DoNotAddH
InChI option.
RacemicStereo
Corresponds to the SRac
InChI option.
ReconnectedMetals
Corresponds to the RecMet
InChI option.
RelativeStereo
Corresponds to the SRel
InChI option.
Stereo
Corresponds to the inverse of the SNon
InChI option.
Title
If this flag is set, then the molecule’s title (returned by
OEMolBase.GetTitle
method) is written to
the output file.
OEOFlavor::ISM¶
The OEOFlavor_ISM
namespace encodes symbolic
constants used as bit-masks that control the processing
performed by the OECreateSmiString
function
when writing a molecule into a OEFormat_ISM
format file.
Note
If no aromaticity model is specified for the
OEOFlavor_Generic
namespace for this file format,
then the OpenEye model is used by default to perceive aromaticity by the
OEWriteMolecule
high-level writer.
This namespace contains the following constants:
AllBonds
Corresponds to the OESMILESFlag_AllBonds
constant.
AtomMaps
Corresponds to the OESMILESFlag_AtomMaps
constant.
AtomStereo
Corresponds to the OESMILESFlag_AtomStereo
constant.
BondStereo
Corresponds to the OESMILESFlag_BondStereo
constant.
Canonical
Corresponds to the OESMILESFlag_Canonical
constant.
DEFAULT
Same as the OEOFlavor_ISM_Default
constant.
Default
Combination of
OEOFlavor_ISM_AtomMaps
,
OEOFlavor_ISM_AtomStereo
,
OEOFlavor_ISM_BondStereo
,
OEOFlavor_ISM_Canonical
,
OEOFlavor_ISM_Isotopes
and
OEOFlavor_ISM_RGroups
flags.
EnhStereo
Corresponds to the OESMILESFlag_EnhStereo
constant.
ExtBonds
Corresponds to the OESMILESFlag_ExtBonds
constant.
Hydrogens
Corresponds to the OESMILESFlag_Hydrogens
constant.
ImpHCount
Corresponds to the OESMILESFlag_ImpHCount
constant.
Isotopes
Corresponds to the OESMILESFlag_Isotopes
constant.
Kekule
Corresponds to the OESMILESFlag_Kekule
constant.
RGroups
Corresponds to the OESMILESFlag_RGroups
constant.
SmiMask
SuperAtoms
Corresponds to the OESMILESFlag_SuperAtoms
constant.
OEOFlavor::MDL¶
The OEOFlavor_MDL
namespace encodes symbolic
constants used as bit-masks that control the processing
performed by the OEWriteMDLFile
and the
OEWriteMolecule
functions
when writing a molecule into a OEFormat_MDL
format 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
OEWriteMolecule
high-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_MCHG
flag is used to instruct
the MDL mol file writer to write M CHG
and M RAD
lines 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 CHG
and M
RAD
lines are only used for connection tables that ‘overflow’ the
allowed atom block limits.
MISO
The OEOFlavor_MDL_MISO
flag is used to instruct
the OEChem TK MDL mol file writer to write M ISO
lines 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 ISO
lines are only used for connection tables that
‘overflow’ the allowed atom block limits.
MRGP
The OEOFlavor_MDL_MRGP
flag is used to instruct
the OEChem TK MDL mol file writer to write out M RGP
entries 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 symbol R#
.
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 OEMDLHasParity
returns false
,then OEMDLPerceiveParity
function 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 in
OEWriteMDLFile
.
NoParity
If this flag is set, then OEMDLClearParity
function 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 in
OEWriteMDLFile
.
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 in
OEWriteMDLFile
.
MMask
PMask
Combination of
OEOFlavor_MDL_MDLParity
,
OEOFlavor_MDL_NoParity
and
OEOFlavor_MDL_CurrentParity
flags.
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_MISO
and
OEOFlavor_MDL_MCHG
flags.
Default
Same as the OEOFlavor_MDL_DEFAULT
constant.
OEOFlavor::MF¶
The OEOFlavor_MF
namespace encodes symbolic
constants used as bit-masks that control the processing
performed by the OEWriteMolecule
functions
when writing a molecule into a OEFormat_MF
format file.
This namespace contains the following constants:
Title
If this flag is set, then the molecule’s title (returned by
OEMolBase.GetTitle
method) is written to
the output file.
DEFAULT
Same as the OEOFlavor_MF_Title
constant.
Default
Same as the OEOFlavor_MF_DEFAULT
constant.
OEOFlavor::MMCIF¶
Note
If no aromaticity model is specified for the
OEOFlavor_Generic
namespace for this file format,
then the OpenEye model is used by default to perceive aromaticity by the
OEWriteMolecule
high-level writer.
This namespace contains the following constants:
Default
OEOFlavor::MMOD¶
This namespace contains following constants:
AtomTypes
DEFAULT
Default
Same as the OEOFlavor_MMOD_DEFAULT
constant.
OEOFlavor::MOL2¶
Note
Except for MOL2 Flavor Forcefield, if no aromaticity model is specified for the
OEOFlavor_Generic
namespace for this file format,
then the Tripos model is used by default to perceive aromaticity by the
OEWriteMolecule
high-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
, and
OEOFlavor_MOL2_BondTypeNames
flags
This variant of MOL2 reflects a common use of MOL2 format to embody
information for a general forcefield. It combines the OEOFlavor_MOL2_GeneralFFFormat
so that atom names, atom types, and atom ordering are written out “as is”
based on the input molecule, and OEOFlavor_MOL2_ChargePrecision
, which writes out
atomic partial charges to 5 decimal places. Mol2 OEOFlavor_MOL2_BondTypeNames
are
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_DEFAULT
constant.
OEOFlavor::MOL2H¶
Note
If no aromaticity model is specified for the
OEOFlavor_Generic
namespace for this file format,
then the Tripos model is used by default to perceive aromaticity by the
OEWriteMolecule
high-level writer.
This namespace contains the following constants:
AtomTypeNames
BondTypeNames
AtomNames
OrderAtoms
Hydrogens
Substructure
NameMask
AllMask
DEFAULT
Default
Same as the OEOFlavor_MOL2H_DEFAULT
constant.
OEOFlavor::MOPAC¶
This namespace contains the following constants:
XYZ
CHARGES
AllMask
DEFAULT
Default
Same as the OEOFlavor_MOPAC_DEFAULT
constant.
OEOFlavor::PDB¶
The OEOFlavor_PDB
namespace encodes symbolic
constants used as bit-masks that control the processing
performed by the OEWritePDBFile
and the
OEWriteMolecule
functions
when writing a molecule into a OEFormat_PDB
format 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_ORDERS
all bonds are
written as ‘single’ bonds. OEOFlavor_PDB_BONDS
is
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_BONDS
only double and triple bonds are
written to the file. OEOFlavor_PDB_ORDERS
is off by
default.
BOTH
Controls whether CONECT records are written bi-directionally.
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, OEChem’s PDB writer only output uni-directional CONECT
records where the source atom’s serial number is always less than the
destination atom’s. The OEOFlavor_PDB_BOTH
can be
used to request full bi-directional PDB files.
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_CHARGE
is 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_RADIUS
is 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_TER
is off by default.
DELPHI
Combination of OEOFlavor_PDB_CHARGE
and
OEOFlavor_PDB_RADIUS
flags.
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. This is a new feature as of OEChem
1.3.5. OEOFlavor_PDB_ELEMENT
is 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 is a new feature
as of OEChem 1.3.5. This flag is off by default. Enabling
OEOFlavor_PDB_FORMALCHARGE
also enables
OEOFlavor_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 HETATM
in a PDB file).
OEOFlavor_PDB_HETBONDS
is on by default.
See also
OEPreserveResInfo
namespaceOEResidue.IsHetAtom
method to retrieve the ‘hetero atom’ property of an atom in a residueSetHetAtom
method
BasicMask
OEResidues
Note
This flag is only interpreted by the high-level file
writers (OEWriteMolecule
) and not in
OEWritePDBFile
.
NoResidues
Note
This flag is only interpreted by the high-level file
writers (OEWriteMolecule
) and not in
OEWritePDBFile
.
CurrentResidues
Note
This flag is only interpreted by the high-level file
writers (OEWriteMolecule
) and not in
OEWritePDBFile
.
OrderAtoms
Note
This flag is only interpreted by the high-level file
writers (OEWriteMolecule
) and not in
OEWritePDBFile
.
AllMask
DEFAULT
Combination of
OEOFlavor_PDB_OrderAtoms
,
OEOFlavor_PDB_OEResidues
,
OEOFlavor_PDB_HETBONDS
,
OEOFlavor_PDB_ELEMENT
and
OEOFlavor_PDB_BOTH
flags.
Default
Same as the OEOFlavor_PDB_DEFAULT
constant.
OEOFlavor::SDF¶
The OEOFlavor_SDF
namespace encodes symbolic
constants used as bit-masks that control the processing
performed by the OEWriteMDLFile
and the
OEWriteMolecule
functions
when writing a molecule into a OEFormat_SDF
format 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
OEWriteMolecule
high-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 OEMDLHasParity
returns false
,then OEMDLPerceiveParity
function 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 in
OEWriteMDLFile
.
NoParity
If this flag is set, then OEMDLClearParity
function 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 in
OEWriteMDLFile
.
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 in
OEWriteMDLFile
.
MMask
PMask
Combination of
OEOFlavor_SDF_MDLParity
,
OEOFlavor_SDF_NoParity
and
OEOFlavor_SDF_CurrentParity
flags.
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_MISO
and
OEOFlavor_SDF_MCHG
flags.
Default
Same as the OEOFlavor_SDF_DEFAULT
constant.
OEOFlavor::SLN¶
Note
If no aromaticity model is specified for the
OEOFlavor_Generic
namespace for this file format,
then the Tripos model is used by default to perceive aromaticity by the
OEWriteMolecule
high-level writer.
This namespace contains the following constants:
Default
OEOFlavor::SMI¶
The OEOFlavor_SMI
namespace encodes symbolic
constants used as bit-masks that control the processing
performed by the OECreateSmiString
function
when writing a molecule into a OEFormat_SMI
format file.
Note
If no aromaticity model is specified for the
OEOFlavor_Generic
namespace for this file format,
then the OpenEye model is used by default to perceive aromaticity by the
OEWriteMolecule
high-level writer.
This namespace contains the following constants:
AllBonds
Corresponds to the OESMILESFlag_AllBonds
constant.
AtomMaps
Corresponds to the OESMILESFlag_AtomMaps
constant.
AtomStereo
Corresponds to the OESMILESFlag_AtomStereo
constant.
BondStereo
Corresponds to the OESMILESFlag_BondStereo
constant.
Canonical
Corresponds to the OESMILESFlag_Canonical
constant.
DEFAULT
Same as the OEOFlavor_SMI_Default
constant.
Default
Combination of
OEOFlavor_SMI_AtomMaps
,
OEOFlavor_SMI_AtomStereo
,
OEOFlavor_SMI_BondStereo
,
OEOFlavor_SMI_Canonical
,
OEOFlavor_SMI_Isotopes
and
OEOFlavor_SMI_RGroups
flags.
EnhStereo
Corresponds to the OESMILESFlag_EnhStereo
constant.
ExtBonds
Corresponds to the OESMILESFlag_ExtBonds
constant.
Hydrogens
Corresponds to the OESMILESFlag_Hydrogens
constant.
ImpHCount
Corresponds to the OESMILESFlag_ImpHCount
constant.
Isotopes
Corresponds to the OESMILESFlag_Isotopes
constant.
Kekule
Corresponds to the OESMILESFlag_Kekule
constant.
RGroups
Corresponds to the OESMILESFlag_RGroups
constant.
SmiMask
SuperAtoms
Corresponds to the OESMILESFlag_SuperAtoms
constant.
OEOFlavor::USM¶
This namespace contains constants.
AllBonds
Corresponds to the OESMILESFlag_AllBonds
constant.
AtomMaps
Corresponds to the OESMILESFlag_AtomMaps
constant.
AtomStereo
Corresponds to the OESMILESFlag_AtomStereo
constant.
BondStereo
Corresponds to the OESMILESFlag_BondStereo
constant.
Canonical
Corresponds to the OESMILESFlag_Canonical
constant.
DEFAULT
Same as the OEOFlavor_USM_Default
constant.
Default
Combination of
OEOFlavor_USM_AtomMaps
,
OEOFlavor_USM_RGroups
flags.
EnhStereo
Corresponds to the OESMILESFlag_EnhStereo
constant.
ExtBonds
Corresponds to the OESMILESFlag_ExtBonds
constant.
Hydrogens
Corresponds to the OESMILESFlag_Hydrogens
constant.
ImpHCount
Corresponds to the OESMILESFlag_ImpHCount
constant.
Isotopes
Corresponds to the OESMILESFlag_Isotopes
constant.
Kekule
Corresponds to the OESMILESFlag_Kekule
constant.
RGroups
Corresponds to the OESMILESFlag_RGroups
constant.
SmiMask
SuperAtoms
Corresponds to the OESMILESFlag_SuperAtoms
constant.
OEOFlavor::XYZ¶
The OEOFlavor_XYZ
namespace encodes symbolic
constants used as bit-masks that control the processing
performed by the OEWriteXYZFile
function
when writing a molecule into a OEFormat_XYZ
format 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.