.. oe:namespace:: OEMedChem

.. oe:function:: OEMCSFragDatabaseCoreQuery

   .. oe:language:: c++ java csharp

      .. oe:api::

         bool OEMCSFragDatabaseCoreQuery(const std::string& MCScoreSMI,
                                         std::string& MCScoreSMARTS)

   .. oe:language:: python

      .. oe:api:: python

         OEMCSFragDatabaseCoreQuery(smiles: bytes) -> bytes

   This function can be used to convert the MCS SMILES core string
   into a more restrictive SMARTS query for use in highlighting
   or mapping activities that use the MCS core and the query or target structures.

   .. seealso::

      * :ref:`OEMCSMolSimScore <OEMedChem_OEMCSMolSimScore>` class
      * :ref:`OEMCSFragDatabase <OEMedChem_OEMCSFragDatabase>` class
      * :oe:meth:`OEMedChem::OEMCSFragDatabase::GetScores` method
      * :oe:meth:`OEMedChem::OEMCSFragDatabase::GetSortedScores` method
