Skip to content

Commit

Permalink
fixed active sites
Browse files Browse the repository at this point in the history
  • Loading branch information
lmdu committed Jun 19, 2024
1 parent 86d8797 commit dc3a26f
Show file tree
Hide file tree
Showing 8 changed files with 44 additions and 8 deletions.
Binary file added docs/_static/green.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/_static/poseinter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 8 additions & 4 deletions docs/docking.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Go to **Run** menu -> **AutoDock4** to start AutoDock4 docking. You will be prom

.. note::

How to select receptor and ligand preparation tools (view `Molecular Preparation`_). How to set parameters for AutoDock4 (view `Autodock4 Settings`_)
How to select receptor and ligand preparation tools (view **Molecular Preparation** section). How to set parameters for AutoDock4 (view **Global Settings** -> **Autodock4 Settings** section)

Run AutoDock Vina
~~~~~~~~~~~~~~~~~
Expand All @@ -78,7 +78,9 @@ Go to **Run** menu -> **AutoDock Vina** to start Autodock Vina. You will be prom

#. Click **OK** to start docking tasks.

How to select receptor and ligand preparation tools (view `Molecular Preparation`_). How to set parameters for AutoDock Vina (view `Autodock Vina Settings`_)
.. note::

How to select receptor and ligand preparation tools (view **Molecular Preparation** section). How to set parameters for AutoDock Vina (view **Global Settings** -> **Autodock Vina Settings** section)

Run QuickVina-W
~~~~~~~~~~~~~~~
Expand All @@ -95,12 +97,14 @@ Go to **Run** menu -> **QuickVina-W** to start QuickVina. You will be prompted w

#. Click **OK** to start docking tasks.

How to select receptor and ligand preparation tools (view `Preparation Tools`_). How to set parameters for QuickVina-W (view `QuickVina Settings`_)
.. note::

How to select receptor and ligand preparation tools (view **Preparation Tools** section). How to set parameters for QuickVina-W (view **Global Settings** -> **QuickVina Settings** section)

Fix Receptor
------------

Sometimes, your receptor PDB file may have some problems during molecular docking. You can use `PDBFixer <https://github.com/openmm/pdbfixer>`_ or `PDB2PQR <https://github.com/Electrostatics/pdb2pqr>`_ to fix the PDB file. The parameter settings can be found in `PDBFixer Settings`_ and `PDB2PQR Settings`_.
Sometimes, your receptor PDB file may have some problems during molecular docking. You can use `PDBFixer <https://github.com/openmm/pdbfixer>`_ or `PDB2PQR <https://github.com/Electrostatics/pdb2pqr>`_ to fix the PDB file. The parameter settings can be found in **Gobal Settings** -> **PDBFixer Settings** and **PDB2PQR Settings**.

.. rst-class:: wy-text-center

Expand Down
6 changes: 6 additions & 0 deletions docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,12 @@ Go to `https://qvina.github.io/ <https://qvina.github.io/>`_ page, and then clic

#. Go to `https://github.com/lmdu/dockey/releases <https://github.com/lmdu/dockey/releases>`_ page, click on ``Dockey-version-ubuntu.deb`` to download it. Then double click the downloaded installer to install the program following the on-screen instructions.

#. You can also install Dockey using command line tool like this:

.. code:: shell
sudo dpkg -i Dockey-version-ubuntu.deb
#. Or, you can click on ``Dockey-version-ubuntu.AppImage`` to download it and run it like this:

.. code:: shell
Expand Down
22 changes: 21 additions & 1 deletion docs/pose.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,31 @@ You can click one pose in best pose table or job pose table to view the 3D struc
Preset Active Binding Sites
---------------------------

You can right click a receptor in molecular list and then go to menu **Preset Active Binding Sites** to open a dialog. You can select several residues as active binding sites to see whether ligands can be docked to them. If the ligand can be docked to preset binding sites, the pose in table will has green background color.
Before starting docking, you can right click a receptor in molecular list and then go to menu **Preset Active Binding Sites** to open a dialog. You can select several residues as active binding sites to see whether ligands can be docked to them. If the ligand can be docked to preset binding sites, the pose in table will has green background color.

.. rst-class:: wy-text-center

|posegreen|

You can right click the pose with green background, and go to **view details** to view interactions.

.. rst-class:: wy-text-center

|poseinter|


.. |bestpose| image:: _static/bestpose.png

.. |jobpose| image:: _static/jobpose.png

.. |posemenu| image:: _static/posemenu.png
:width: 250

.. |poseview| image:: _static/poseview.png
:width: 500

.. |posegreen| image:: _static/posegreen.png
:width: 500

.. |poseinter| image:: _static/poseinter.png
:width: 500
8 changes: 7 additions & 1 deletion docs/settings.rst
Original file line number Diff line number Diff line change
Expand Up @@ -95,4 +95,10 @@ Go to **Edit** -> **Global Settings** -> **PDB2PQR** -> to set parameters for PD
:width: 500

.. |meekolig| image:: _static/meekolig.png
:width: 500
:width: 500

.. |pdbfixer| image:: _static/pdbfixer.png
:width: 500

.. |pdb2pqr| image:: _static/pdb2pqr.png
:width: 500
2 changes: 1 addition & 1 deletion src/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

DOCKEY_VERSION = "1.0.0"

DOCKEY_BUILD = "240612"
DOCKEY_BUILD = "240619"

COMPAT_VERSION = "1.0.0"

Expand Down
2 changes: 1 addition & 1 deletion src/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1365,7 +1365,7 @@ def view_details(self):

if pose.actives:
rows = []
for active in pose.actives.split(','):
for active in pose.actives.split(';'):
itype, chain, res, num = active.split(':')
rows.append("<tr><td>{}</td><td>{}</td><td>{}</td><td>{}</td></tr>".format(
itype, chain, res, num
Expand Down

0 comments on commit dc3a26f

Please sign in to comment.