.. include:: ../../toolkit-substitutions

.. oe:namespace:: OEChem

.. oe:function:: OEGetStandardAnalog

   .. attention::

      |PRELIMINARY-API|

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

      .. oe:api::

         unsigned int OEGetStandardAnalog(const std::string& monomerSmiles)

   .. oe:language:: python

      .. oe:api:: python

         OEGetStandardAnalog(monomerSmiles: str) -> int

   Returns the residue index of the standard amino acid (from the :oe:constns:`OEChem::OEResidueIndex` namespace)
   that are most similar to monomer represented by the given SMILES, or :oe:const:`OEChem::OEResidueIndex::UNK` 
   if the monomer is not considered an analog.

   .. seealso::

      * :oe:constns:`OEChem::OEResidueIndex` namespace
      * :oe:func:`OEChem::OEGetAminoAcidCode` function
