.. # split from OEDockingFunctions.rst:6


.. oe:namespace:: OEDocking

.. meta::
   :keywords: OEAlignReceptors

.. oe:function:: OEAlignReceptors

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

      .. oe:api::

         OESystem::OEIterBase<const OEChem::OEMolBase>* OEAlignReceptors(const OEChem::OEMolBase& target_receptor,
                                                                         const OEChem::OEMolBase& receptor_to_align)

   .. oe:language:: python

      .. oe:api:: python

         OEAlignReceptors(target_receptor: Union[OEGraphMol,OEMol,OEQMol],
                          receptor_to_align: Union[OEGraphMol,OEMol,OEQMol]) -> Iterable[OEGraphMol]

    
   Given two receptors (a target and a receptor to align) return an
   iterator of aligned receptors.  In general, on success, 
   the iterator will only contain one aligned receptor and will
   be empty on failure.

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

      .. oe:api::

         OESystem::OEIterBase<const OEChem::OEMolBase>* OEAlignReceptors(const OEChem::OEMolBase& target_receptor,
                                                                         const OEChem::OEMolBase& receptor_to_align,
                                                                         const OEAlignReceptorFunction &)

   .. oe:language:: python

      .. oe:api:: python

         OEAlignReceptors(target_receptor: Union[OEGraphMol,OEMol,OEQMol],
                          receptor_to_align: Union[OEGraphMol,OEMol,OEQMol],
                          arg3: OEAlignReceptorFunction) -> Iterable[OEGraphMol]

    
   Align two receptors using the supplied OEAlignReceptorFunction.


