.. _oemedchem_examples_bemismurckoperception:

Bemis Murcko perception
================================================================================
A program that perceives the [Bemis-1996]_ regions of the input structures
and outputs role information and annotations as SD data in the output.
Uncoloring of the fragment regions to remove atom types and properties
can optionally be requested for the output SMILES string annotations.

.. seealso::

   * :oe:func:`OEMedChem::OEGetBemisMurcko` function

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

.. code-block:: console

   Usage: ./BemisMurckoPerception input.sdf output.sdf [ -uncolor ] [-unsaturatedHeteroBonds] [ -smartsSubstituents substituentsString ]
   [-regionType regionTypeString]

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

.. oe:language:: c++

   .. only:: oehtml

      .. admonition:: Download code

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

   .. only:: oepdf

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

.. oe:language:: python

   .. only:: oehtml

      .. admonition:: Download code

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

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

   .. only:: oepdf

      .. oe:source:: BemisMurckoPerception.py
         :language: python

.. oe:language:: java

   .. only:: oehtml

      .. admonition:: Download code

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

   .. only:: oepdf

      .. oe:source:: BemisMurckoPerception.java
         :language: java

.. oe:language:: csharp

   .. only:: oehtml

      .. admonition:: Download code

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

   .. only:: oepdf

      .. oe:source:: BemisMurckoPerception.cs
         :language: csharp

