.. _oemedchem_examples_chemblsolubility:

Apply ChEMBL solubility transformations
================================================================================
A utility that reads an input set of structures and outputs
transformed structures along with annotations containing of the original data
based on the matched pairs discovered from indexing solubility data from the
[ChEMBL24-2018]_ data set.

.. seealso::

   * :oe:func:`OEMedChem::OEApplyChEMBL24SolubilityTransforms` function

Command Line Interface
----------------------
.. oe:language:: c++

   .. code-block:: console

      prompt> ChEMBLsolubility input.sdf output.sdf


.. oe:language:: python

   .. code-block:: console

      prompt> ChEMBLsolubility.py input.sdf output.sdf

.. oe:language:: java

   .. code-block:: console

      prompt> ChEMBLsolubility input.sdf output.sdf

.. oe:language:: csharp

   .. code-block:: console

      prompt> ChEMBLsolubility input.sdf output.sdf

Code
----------------------

.. oe:language:: c++

   .. only:: oehtml

      .. admonition:: Download code

         :download:`ChEMBLsolubility.cpp <../../../../sublibs/tklibs/medchem/examples/ChEMBLsolubility.cpp>`

   .. only:: oepdf

      .. oe:source:: ChEMBLsolubility.cpp
         :language: c++

.. oe:language:: python

   .. only:: oehtml

      .. admonition:: Download code

         :download:`ChEMBLsolubility.py <../../../../wrappers/python/examples/medchem/ChEMBLsolubility.py>`

   ..   literalinclude:: ../../../../wrappers/python/examples/medchem/ChEMBLsolubility.py

   .. only:: oepdf

      .. oe:source:: ChEMBLsolubility.py
         :language: python

.. oe:language:: java

   .. only:: oehtml

      .. admonition:: Download code

         :download:`ChEMBLsolubility.java <../../../../wrappers/java/examples/openeye/examples/oemedchem/ChEMBLsolubility.java>`

   .. only:: oepdf

      .. oe:source:: ChEMBLsolubility.java
         :language: java

.. oe:language:: csharp

   .. only:: oehtml

      .. admonition:: Download code

         :download:`ChEMBLsolubility.cs <../../../../wrappers/csharp/Csharp-Examples/OEMedChem/ChEMBLsolubility.cs>`

   .. only:: oepdf

      .. oe:source:: ChEMBLsolubility.cs
         :language: csharp

