.. _hybrid_theory:
.. include:: ../substitutions
.. include:: ../../apps-substitutions

*************************
HYBRID Theory
*************************

.. program:: hybrid

:ref:`chapter_hybrid` docks multiconformer molecules into one or more 
:ref:`receptors<receptor_theory>` with bound ligands using an exhaustive search
that systematically searches rotations and translations of each conformer of the
ligand within the active site.  Following the exhaustive search the top scoring
poses are optimized and assigned a final score.  These two steps are described
in more detail below

*Receptor Selection*

.. note::

   If there is only one receptor this these steps are skipped and all ligands
   are docked to the receptor.

#. For each ligand in the docking :option:`database<-dbase>` the similarity
   of the ligand to each of the receptor's bound ligands is calculated based
   on the 3D shape and chemical similarity of the docking ligand and bound
   ligand.

#. Each ligand is then docked to the single receptor that has the most
   similar bound ligand as described in the following steps.

*Exhaustive Search*

  #. Enumerates, to given resolution, every possible rotation and translation
     of each conformer of the ligand being docked within a box enclosing the
     active site. The resolution of the exhaustive search is determined by
     the overall resolution setting of :option:`-dock_resolution` flag.

  #. Discard poses that either clash with the protein or extend to far
     from the binding site using the receptor's negative image outer contour
     (see :ref:`receptor_theory_negative_image` section).  

  #. If the negative image inner contour is enabled discard any poses that
     do not have at least one heavy atom that falls within the inner contour.
     (see :ref:`receptor_theory_negative_image` section).  

  #. Discard any poses that do no match any user specified constraints.
     (see :ref:`receptor_theory_constraints` section).

  #. Score all remaining poses using :ref:`theory_algorithm_cgo`.

  #. Sort poses by score and pass the top scoring poses to optimization.

*Optimization*

  #. Enumerate nearby positions of each pose by having the initial pose
     take one positive and one negative step for each translational and
     rotational degree of freedom (729 poses total).  The resolution of
     these steps is half that of the exhaustive search, and is determined
     by the setting of the :option:`-dock_resolution` flag.

  #. Each pose is scored with :ref:`theory_algorithm_chemgauss4`.

  #. The best scoring poses are retained.  The number of poses retained is
     determined by the setting of the :option:`-num_poses` parameter.

  #. The overall score of the molecule, used to rank the molecule against
     other molecules in the docking database, is set to the best scoring
     pose's score.
