.. _oemedchem_examples_matchedpairtransformlist:

Matched Pair analysis and listing of transformations
================================================================================

A program that loads a previously generated Matched Pair index, then
prints the transformations and matched pairs found from the analysis.
If an (optional, numeric) data field is provided, the returned transformations can also
be ranked by the largest increase in the delta property found from the matched pairs that
define it.

.. seealso::

   * :ref:`OEMatchedPairAnalyzer <OEMedChem_OEMatchedPairAnalyzer>` class
   * :ref:`OEMatchedPairAnalyzerOptions <OEMedChem_OEMatchedPairAnalyzerOptions>` class
   * :oe:func:`OEMedChem::OEMatchedPairGetTransforms` function

Command Line Interface
----------------------

.. oe:language:: c++

   .. code-block:: console

      prompt> MatchedPairTransformList -mmpindex index.mmpidx [ -datafield sdDataField ]

.. oe:language:: python

   .. code-block:: console

      prompt> MatchedPairTransformList.py -mmpindex index.mmpidx [ -datafield sdDataField ]

.. oe:language:: java

   .. code-block:: console

      prompt> MatchedPairTransformList -mmpindex index.mmpidx [ -datafield sdDataField ]

.. oe:language:: csharp

   .. code-block:: console

      prompt> MatchedPairTransformList -mmpindex index.mmpidx [ -datafield sdDataField ]

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

.. oe:language:: c++

   .. only:: oehtml

      .. admonition:: Download code

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

   .. only:: oepdf

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

.. oe:language:: python

   .. only:: oehtml

      .. admonition:: Download code

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

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

   .. only:: oepdf

      .. oe:source:: MatchedPairTransformList.py
         :language: python

.. oe:language:: java

   .. only:: oehtml

      .. admonition:: Download code

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

   .. only:: oepdf

      .. oe:source:: MatchedPairTransformList.java
         :language: java

.. oe:language:: csharp

   .. only:: oehtml

      .. admonition:: Download code

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

   .. only:: oepdf

      .. oe:source:: MatchedPairTransformList.cs
         :language: csharp

