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

.. _chapter_picto_atomlabeling:

==============================================================================
Atom Labeling, Aromatic Displays, Aromatic Modeling, and other Displays
==============================================================================

There are multiple ways to display different aspects of chemistry and other ways to manipulate the molecule display in **PICTO**. In the view menu of **PICTO** 
the depiction of aromatics can be swapped between Kekule, Circle, and Dashed, and the molecule can be labelled based off certain 
atomic labels: No Atom Labeling, Atom Stereochemistry, Atom Locants, Atom Indices, and Atom AAMaps. Aromatic modeling can be cycled through OpenEye, Daylight, 
Tripos, MMFF, and MDL when the aromatic display is set to either Circle or Dashed. The different aromatic displays can be seen in :ref:`Figure: Aromatic Displays<aromaticDisplay>`. 

.. _aromaticDisplay:

.. list-table::
  :widths: 50 50
  :header-rows: 0

  * - .. image:: ../images/aromaticKekule.png
    - .. image:: ../images/aromaticCircle.png
  * - **Kekule**
    - **Circle**
  * - .. image:: ../images/aromaticDashed.png
    -
  * - **Dashed**
    -

The different atom labels can be seen in :ref:`Figure: Atom Labels<atomLabel>`. 

.. _atomLabel:

.. list-table::
  :widths: 50 50
  :header-rows: 0

  * - .. image:: ../images/noAtomLabel.png
    - .. image:: ../images/atomStereo.png
  * - **No Atom Labeling**
    - **Atom Stereochemistry**
  * - .. image:: ../images/atomLocant.png
    - .. image:: ../images/atomIndices.png
  * - **Atom Locants**
    - **Atom Indices**
  * - .. image:: ../images/atomAAMap.png
    -
  * - **Atom AAMapping**
    -

The different aromatic models can be seen in :ref:`Figure: Aromatic Models<aromaticModel>`. 

.. _aromaticModel:

.. figure:: ../images/OEAssignAromaticFlags_Difference.png
   :scale:  100
   :align:  center

Since these models define aromaticity rules differently, the Isomeric SMILES output will vary based off the applied aromatic model. 
When cycling through the different aromatic models for the molecule above the Isomeric SMILES will output the following: 

.. code-block:: bash

   OpenEye  : c1c[nH]c(cc1=O)c2cocc2c3cncnc3
   Daylight : c1c[nH]c(cc1=O)c2cocc2c3cncnc3
   Tripos   : c1c(cncn1)C2=COC=C2C3=CC(=O)C=CN3
   MMFF     : c1c(cncn1)c2cocc2C3=CC(=O)C=CN3
   MDL      : c1c(cncn1)C2=COC=C2C3=CC(=O)C=CN3

The following table demonstrates the differences between the five available aromaticity models. 

.. figure:: ../images/OEAssignAromaticFlags_Table.png
   :scale:  100
   :align:  center

There are three other displays that can be used together to manipulate the molecule display in the sketcher. 
:ref:`Figure: Fit in Window<figure_fitInWindow>` displays the molecule when Fit in Window is toggled. :ref:`Figure: Super Atom<superAtom>` 
displays the difference in the sketcher between Super Atom being toggled. :ref:`Figure: Hide/Show Hydrogens<showHideHydro>` displays the molecule 
with and without the hydrogens depicted in the sketcher. The hydrogens can be toggled with the checkbox at the bottom of **PICTO** labelled 
Hide Hydrogens. 

.. _figure_fitInWindow:

.. figure:: ../images/FitToWindow.png
   :width: 600
   :align: center

.. _superAtom:

.. list-table::
  :widths: 50 50
  :header-rows: 0

  * - .. image:: ../images/noSuperAtom.png
    - .. image:: ../images/superAtom.png
  * - **Without Super Atom**
    - **With Super Atom**

.. _showHideHydro:

.. list-table::
  :widths: 50 50
  :header-rows: 0

  * - .. image:: ../images/showHydro.png
    - .. image:: ../images/hideHydro.png
  * - **Showing the Hydrogens**
    - **Hiding the Hydrogens**