OECreateBroodQuery

Query creation without protein

Attention

This is a preliminary API and may be improved based on user feedback. It is currently available in C++ and Python.

unsigned OECreateBroodQuery(OEBroodQuery &query,
                            const OEChem::OEMolBase &mol,
                            const OEChem::OEMatchBase &selection)
unsigned OECreateBroodQuery(OEBroodQuery &query,
                            const OEChem::OEMCMolBase &mol,
                            const OEChem::OEAtomBondSet &selection)

Creates a BROOD Query. Method returns status code from OEBroodStatusCode.

query

The :ref: OEBroodQuery<>OEBioisostere_OEBroodQuery to be created.

mol

Input molecule from which a query is to be created by replacing a fragment of the molecule.

selection

Criteria for selecting atoms and bonds of the molecule that becomes the fragment to be replaced. The atoms and bonds must collectively become a single fragment.

Query creation with associated protein

unsigned OECreateBroodQuery(OEBroodQuery &query,
                            const OEChem::OEMolBase &mol,
                            const OEChem::OEMatchBase &selection,
                            const OEBio::OEDesignUnit &du,
                            const unsigned proteinMask)
unsigned OECreateBroodQuery(OEBroodQuery &query,
                            const OEChem::OEMCMolBase &mol,
                            const OEChem::OEAtomBondSet &selection,
                            const OEBio::OEDesignUnit &du,
                            const unsigned proteinMask)

Creates a BROOD Query. Method returns status code from OEBroodStatusCode.

du

The :ref: OEDesignUnit<>OEBio_OEDesignUnit corresponding to the protein target.

proteinMask

Mask to be applied with the The :ref: OEDesignUnit<>OEBio_OEDesignUnit to determine the protein target.