class OEMolBuilderOptions : public OESystem::OEOptions

This class provides an interface to setup options required for generating an initial 3D structure of a molecule, by connecting pre-generated fragment coordinates that constitute the molecule.

See also

The OEMolBuilderOptions class defines the following public methods:


OEMolBuilderOptions(const OEMolBuilderOptions &)

Default and copy constructors.


OEMolBuilderOptions &operator=(const OEMolBuilderOptions &)

Assignment operator.


bool GetCanonOrder() const

See SetCanonOrder method.


unsigned int GetEnumNitrogen() const

See SetEnumNitrogen method.


bool GetEnumRing() const

See SetEnumRing method.


      OEFragBuilderOptions& GetFragBuilderOptions()
const OEFragBuilderOptions& GetFragBuilderOptions() const

See SetFragBuilderOptions method.


bool GetFromCT() const

See SetFromCT method.


bool GetSampleHydrogens() const

See SetSampleHydrogens method.


bool GetStrictAtomTypes() const

See SetStrictAtomTypes method.


bool SetCanonOrder(const bool)

This method can be used to enable/disable the automatic reordering of input molecules to a canonical atom and bond order. In order obtain consistent results from different file formats and different connection table orders, OMEGA reorders the input connection table. If true, the atoms of the molecule are indexed in canonical order before building the molecule structure. Default: True.


bool SetEnumNitrogen(const unsigned int)

Sets whether the generated initial conformation should be enumerated for invertible nitrogens. Default: OENitrogenEnumeration.Unspecified.

See also


bool SetEnumRing(const bool)

Sets whether the generated initial conformation should be enumerated for ring stereo. If true, the builder will enumerate alternate ring conformations and generate multiple conformations, if available. Default: True.


void SetFragBuilderOptions(const OEFragBuilderOptions&)

Sets options related to building fragment coordinates.

See also


bool SetFromCT(const bool)

Sets whether the initial 3D coordinates should be generated from the connection table of the input molecule. If true, the initial 3D coordinates are generated from the connection table. Default: True.


bool SetSampleHydrogens(const bool)

Sets whether hydrogen sampling should be performed on generated structures. If true, hydrogen sampling is performed. Default: False.


bool SetStrictAtomTypes(const bool)

Sets whether strict definition of atom typing should be used. If true, a molecule will fail if any atom does not have a valid atom type. Calling this method with false will allow the atom typer to look for a different atom type of the same element and replace the failing atom type with a valid one that is “close enough”. Default: True.