RDKit
Open-source cheminformatics and machine learning.
Loading...
Searching...
No Matches
RDKit::MolOps::AdjustQueryParameters Struct Reference

Parameters controlling the behavior of MolOps::adjustQueryProperties. More...

#include <MolOps.h>

Public Member Functions

 AdjustQueryParameters ()
 

Static Public Member Functions

static AdjustQueryParameters noAdjustments ()
 returns an AdjustQueryParameters object with all adjustments disabled
 

Public Attributes

bool adjustDegree = true
 
std::uint32_t adjustDegreeFlags = ADJUST_IGNOREDUMMIES | ADJUST_IGNORECHAINS
 
bool adjustRingCount = false
 
std::uint32_t adjustRingCountFlags
 
bool makeDummiesQueries = true
 
bool aromatizeIfPossible = true
 
bool makeBondsGeneric
 
std::uint32_t makeBondsGenericFlags = ADJUST_IGNORENONE
 
bool makeAtomsGeneric
 
std::uint32_t makeAtomsGenericFlags = ADJUST_IGNORENONE
 
bool adjustHeavyDegree = false
 
std::uint32_t adjustHeavyDegreeFlags
 
bool adjustRingChain = false
 
std::uint32_t adjustRingChainFlags = ADJUST_IGNORENONE
 
bool useStereoCareForBonds
 
bool adjustConjugatedFiveRings
 
bool setMDLFiveRingAromaticity
 
bool adjustSingleBondsToDegreeOneNeighbors
 
bool adjustSingleBondsBetweenAromaticAtoms
 

Detailed Description

Parameters controlling the behavior of MolOps::adjustQueryProperties.

Note that some of the options here are either directly contradictory or make no sense when combined with each other. We generally assume that client code is doing something sensible and don't attempt to detect possible conflicts or problems.

Definition at line 344 of file MolOps.h.

Constructor & Destructor Documentation

◆ AdjustQueryParameters()

RDKit::MolOps::AdjustQueryParameters::AdjustQueryParameters ( )
inline

Definition at line 402 of file MolOps.h.

Member Function Documentation

◆ noAdjustments()

static AdjustQueryParameters RDKit::MolOps::AdjustQueryParameters::noAdjustments ( )
inlinestatic

returns an AdjustQueryParameters object with all adjustments disabled

Definition at line 395 of file MolOps.h.

References adjustDegree, aromatizeIfPossible, and makeDummiesQueries.

Member Data Documentation

◆ adjustConjugatedFiveRings

bool RDKit::MolOps::AdjustQueryParameters::adjustConjugatedFiveRings
Initial value:
=
false

sets bond queries in conjugated five-rings to SINGLE|DOUBLE|AROMATIC

Definition at line 377 of file MolOps.h.

◆ adjustDegree

bool RDKit::MolOps::AdjustQueryParameters::adjustDegree = true

◆ adjustDegreeFlags

std::uint32_t RDKit::MolOps::AdjustQueryParameters::adjustDegreeFlags = ADJUST_IGNOREDUMMIES | ADJUST_IGNORECHAINS

◆ adjustHeavyDegree

bool RDKit::MolOps::AdjustQueryParameters::adjustHeavyDegree = false

adjust the heavy-atom degree instead of overall degree

Definition at line 365 of file MolOps.h.

◆ adjustHeavyDegreeFlags

std::uint32_t RDKit::MolOps::AdjustQueryParameters::adjustHeavyDegreeFlags
Initial value:

Definition at line 367 of file MolOps.h.

◆ adjustRingChain

bool RDKit::MolOps::AdjustQueryParameters::adjustRingChain = false

add ring-chain queries

Definition at line 370 of file MolOps.h.

◆ adjustRingChainFlags

std::uint32_t RDKit::MolOps::AdjustQueryParameters::adjustRingChainFlags = ADJUST_IGNORENONE

Definition at line 371 of file MolOps.h.

◆ adjustRingCount

bool RDKit::MolOps::AdjustQueryParameters::adjustRingCount = false

◆ adjustRingCountFlags

std::uint32_t RDKit::MolOps::AdjustQueryParameters::adjustRingCountFlags

◆ adjustSingleBondsBetweenAromaticAtoms

bool RDKit::MolOps::AdjustQueryParameters::adjustSingleBondsBetweenAromaticAtoms
Initial value:
=
false

sets non-ring single bonds between two aromatic or conjugated atoms to SINGLE|AROMATIC

Definition at line 389 of file MolOps.h.

◆ adjustSingleBondsToDegreeOneNeighbors

bool RDKit::MolOps::AdjustQueryParameters::adjustSingleBondsToDegreeOneNeighbors
Initial value:
=
false

sets single bonds between aromatic or conjugated atoms and degree one neighbors to SINGLE|AROMATIC

Definition at line 385 of file MolOps.h.

◆ aromatizeIfPossible

bool RDKit::MolOps::AdjustQueryParameters::aromatizeIfPossible = true

◆ makeAtomsGeneric

bool RDKit::MolOps::AdjustQueryParameters::makeAtomsGeneric
Initial value:
=
false

convert atoms to generic queries (any atoms)

Definition at line 361 of file MolOps.h.

◆ makeAtomsGenericFlags

std::uint32_t RDKit::MolOps::AdjustQueryParameters::makeAtomsGenericFlags = ADJUST_IGNORENONE

Definition at line 363 of file MolOps.h.

◆ makeBondsGeneric

bool RDKit::MolOps::AdjustQueryParameters::makeBondsGeneric
Initial value:
=
false

convert bonds to generic queries (any bonds)

Definition at line 357 of file MolOps.h.

◆ makeBondsGenericFlags

std::uint32_t RDKit::MolOps::AdjustQueryParameters::makeBondsGenericFlags = ADJUST_IGNORENONE

Definition at line 359 of file MolOps.h.

◆ makeDummiesQueries

bool RDKit::MolOps::AdjustQueryParameters::makeDummiesQueries = true

convert dummy atoms without isotope labels to any-atom queries

Definition at line 352 of file MolOps.h.

Referenced by RDKit::RxnOps::ChemDrawRxnAdjustParams(), RDKit::RxnOps::DefaultRxnAdjustParams(), RDKit::RxnOps::MatchOnlyAtRgroupsAdjustParams(), and noAdjustments().

◆ setMDLFiveRingAromaticity

bool RDKit::MolOps::AdjustQueryParameters::setMDLFiveRingAromaticity
Initial value:
=
false

uses the 5-ring aromaticity behavior of the (former) MDL software as documented in the Chemical Representation Guide

Definition at line 381 of file MolOps.h.

◆ useStereoCareForBonds

bool RDKit::MolOps::AdjustQueryParameters::useStereoCareForBonds
Initial value:
=
false

remove stereochemistry info from double bonds that do not have the stereoCare property set

Definition at line 373 of file MolOps.h.


The documentation for this struct was generated from the following file: