.. image:: https://img.shields.io/badge/license-LGPLv3-green
:target: https://www.gnu.org/licenses/lgpl-3.0.en.html
.. image:: https://img.shields.io/badge/code%20style-black-black
:target: https://github.com/psf/black
=========
DockTGrid
=========
Generate voxel representations of protein-ligand complexes for deep learning applications.
.. image:: https://i.imgur.com/VVkQg4t.png
:align: center
:width: 50%
π Features
===========
* GPU-accelerated voxelization of protein-ligand complexes.
* Easy customization of voxel grid channels and parameters.
* Readily usable with `PyTorch <https://pytorch.org/>`_.
* Support for multiple file formats (to be expanded).
* β
PDB
* β
MOL2
π Getting Started
==================
Installation (pip)
------------------
Install DockTGrid using `pip <https://pip.pypa.io/en/stable/>`_::
$ python -m pip install docktgrid
Development
-----------
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
Python 3.11 is recommended, other versions may work but are not tested.
Clone the repository::
$ git clone https://github.com/gmmsb-lncc/docktgrid.git
$ cd docktgrid
Create a new environment using `venv` and activate it::
$ python3.11 -m venv env
$ source env/bin/activate
Or if you prefer using `conda <https://docs.conda.io/en/latest/>`_::
$ conda create --prefix ./venv python=3.11
$ conda activate ./venv
.. Installation (development)
.. --------------------------
Install the required packages::
$ python -m pip install -r requirements.txt
.. Testing
.. -------
Run the tests::
$ python -m pytest tests/
π₯οΈ Usage
========
See the `documentation <https://docktgrid.readthedocs.io/>`_ for more information on how to use DockTGrid.
There are also some examples in the `notebooks` folder.
π License
==========
This project is licensed under the `LGPL v3.0 <https://www.gnu.org/licenses/lgpl-3.0.en.html>`_ license.
.. We have used DockTGrid in the following publications:
.. .. code-block:: bibtex
.. @article{,
.. title={},
.. author={},
.. journal={},
.. volume={},
.. number={},
.. pages={},
.. year={},
.. publisher={}
.. }
Raw data
{
"_id": null,
"home_page": "",
"name": "docktgrid",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.11",
"maintainer_email": "",
"keywords": "voxel-grid,deep-learning,molecular-docking,virtual-screening",
"author": "",
"author_email": "Matheus M\u00fcller Pereira da Silva <matheusp@posgrad.lncc.br>",
"download_url": "https://files.pythonhosted.org/packages/95/1e/b014d22663b7e3a7e014c01f959a4bcc770f814a37c0bfa7ee2a356ebb34/docktgrid-0.0.2.tar.gz",
"platform": null,
"description": ".. image:: https://img.shields.io/badge/license-LGPLv3-green\n :target: https://www.gnu.org/licenses/lgpl-3.0.en.html\n\n.. image:: https://img.shields.io/badge/code%20style-black-black\n :target: https://github.com/psf/black\n\n=========\nDockTGrid\n=========\n\nGenerate voxel representations of protein-ligand complexes for deep learning applications.\n\n.. image:: https://i.imgur.com/VVkQg4t.png\n :align: center\n :width: 50%\n\n \n\ud83d\udccc Features\n===========\n\n* GPU-accelerated voxelization of protein-ligand complexes.\n* Easy customization of voxel grid channels and parameters.\n* Readily usable with `PyTorch <https://pytorch.org/>`_.\n* Support for multiple file formats (to be expanded).\n\n * \u2705 PDB\n * \u2705 MOL2\n\n\n\n\ud83d\ude80 Getting Started\n==================\n\nInstallation (pip)\n------------------\nInstall DockTGrid using `pip <https://pip.pypa.io/en/stable/>`_::\n\n $ python -m pip install docktgrid\n\n\nDevelopment\n-----------\n\nThese instructions will get you a copy of the project up and running on your local machine for development and testing purposes.\nPython 3.11 is recommended, other versions may work but are not tested.\n\nClone the repository::\n\n $ git clone https://github.com/gmmsb-lncc/docktgrid.git\n $ cd docktgrid\n\n\nCreate a new environment using `venv` and activate it::\n\n $ python3.11 -m venv env\n $ source env/bin/activate\n\nOr if you prefer using `conda <https://docs.conda.io/en/latest/>`_::\n\n $ conda create --prefix ./venv python=3.11\n $ conda activate ./venv\n\n\n\n.. Installation (development)\n.. --------------------------\n\nInstall the required packages::\n\n $ python -m pip install -r requirements.txt\n\n\n.. Testing\n.. -------\n\nRun the tests::\n\n $ python -m pytest tests/\n\n\n\n\ud83d\udda5\ufe0f Usage\n========\n\nSee the `documentation <https://docktgrid.readthedocs.io/>`_ for more information on how to use DockTGrid.\n\nThere are also some examples in the `notebooks` folder.\n\n\n\ud83d\udcc4 License\n==========\n\nThis project is licensed under the `LGPL v3.0 <https://www.gnu.org/licenses/lgpl-3.0.en.html>`_ license.\n\n\n.. We have used DockTGrid in the following publications:\n\n.. .. code-block:: bibtex\n\n.. @article{,\n.. title={},\n.. author={},\n.. journal={},\n.. volume={},\n.. number={},\n.. pages={},\n.. year={},\n.. publisher={}\n.. }\n",
"bugtrack_url": null,
"license": "LGPL-3.0-only",
"summary": "Create customized voxel representations of protein-ligand complexes using GPU.",
"version": "0.0.2",
"project_urls": {
"Homepage": "https://github.com/gmmsb-lncc/docktgrid"
},
"split_keywords": [
"voxel-grid",
"deep-learning",
"molecular-docking",
"virtual-screening"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "dc425753ddd0c4ff25498657659fa6f74d3d1ffd51b5a22b6d5b9b211f0256ac",
"md5": "1cbff35058e6a2d1ec4d39d3be6621ab",
"sha256": "ad631aa1bc6ca7a7fc47e68394d50ddfe16891cfdfaf21c4b80c2b2680fe83a9"
},
"downloads": -1,
"filename": "docktgrid-0.0.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1cbff35058e6a2d1ec4d39d3be6621ab",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.11",
"size": 16424,
"upload_time": "2024-03-19T20:46:10",
"upload_time_iso_8601": "2024-03-19T20:46:10.756417Z",
"url": "https://files.pythonhosted.org/packages/dc/42/5753ddd0c4ff25498657659fa6f74d3d1ffd51b5a22b6d5b9b211f0256ac/docktgrid-0.0.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "951eb014d22663b7e3a7e014c01f959a4bcc770f814a37c0bfa7ee2a356ebb34",
"md5": "eff1f99a4205156dfda98f8728b1c03b",
"sha256": "6666f0f9a6a69b0090adb6214a11dc8b24caf70537e551986949248b520bd97f"
},
"downloads": -1,
"filename": "docktgrid-0.0.2.tar.gz",
"has_sig": false,
"md5_digest": "eff1f99a4205156dfda98f8728b1c03b",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.11",
"size": 18306,
"upload_time": "2024-03-19T20:46:12",
"upload_time_iso_8601": "2024-03-19T20:46:12.051423Z",
"url": "https://files.pythonhosted.org/packages/95/1e/b014d22663b7e3a7e014c01f959a4bcc770f814a37c0bfa7ee2a356ebb34/docktgrid-0.0.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-03-19 20:46:12",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "gmmsb-lncc",
"github_project": "docktgrid",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "alabaster",
"specs": [
[
"==",
"0.7.13"
]
]
},
{
"name": "anyio",
"specs": [
[
"==",
"4.1.0"
]
]
},
{
"name": "argon2-cffi",
"specs": [
[
"==",
"23.1.0"
]
]
},
{
"name": "argon2-cffi-bindings",
"specs": [
[
"==",
"21.2.0"
]
]
},
{
"name": "arrow",
"specs": [
[
"==",
"1.3.0"
]
]
},
{
"name": "asttokens",
"specs": [
[
"==",
"2.4.1"
]
]
},
{
"name": "async-lru",
"specs": [
[
"==",
"2.0.4"
]
]
},
{
"name": "attrs",
"specs": [
[
"==",
"23.1.0"
]
]
},
{
"name": "Babel",
"specs": [
[
"==",
"2.13.1"
]
]
},
{
"name": "beautifulsoup4",
"specs": [
[
"==",
"4.12.2"
]
]
},
{
"name": "biopandas",
"specs": [
[
"==",
"0.4.1"
]
]
},
{
"name": "bleach",
"specs": [
[
"==",
"6.1.0"
]
]
},
{
"name": "cattrs",
"specs": [
[
"==",
"23.2.2"
]
]
},
{
"name": "certifi",
"specs": [
[
"==",
"2023.11.17"
]
]
},
{
"name": "cffi",
"specs": [
[
"==",
"1.16.0"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.3.2"
]
]
},
{
"name": "comm",
"specs": [
[
"==",
"0.1.4"
]
]
},
{
"name": "contourpy",
"specs": [
[
"==",
"1.2.0"
]
]
},
{
"name": "cycler",
"specs": [
[
"==",
"0.12.1"
]
]
},
{
"name": "debugpy",
"specs": [
[
"==",
"1.8.0"
]
]
},
{
"name": "decorator",
"specs": [
[
"==",
"5.1.1"
]
]
},
{
"name": "defusedxml",
"specs": [
[
"==",
"0.7.1"
]
]
},
{
"name": "docutils",
"specs": [
[
"==",
"0.20.1"
]
]
},
{
"name": "esbonio",
"specs": [
[
"==",
"0.16.2"
]
]
},
{
"name": "executing",
"specs": [
[
"==",
"2.0.1"
]
]
},
{
"name": "fastjsonschema",
"specs": [
[
"==",
"2.19.0"
]
]
},
{
"name": "filelock",
"specs": [
[
"==",
"3.12.4"
]
]
},
{
"name": "fonttools",
"specs": [
[
"==",
"4.44.0"
]
]
},
{
"name": "fqdn",
"specs": [
[
"==",
"1.5.1"
]
]
},
{
"name": "fsspec",
"specs": [
[
"==",
"2023.10.0"
]
]
},
{
"name": "furo",
"specs": [
[
"==",
"2023.9.10"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.4"
]
]
},
{
"name": "imagesize",
"specs": [
[
"==",
"1.4.1"
]
]
},
{
"name": "iniconfig",
"specs": [
[
"==",
"2.0.0"
]
]
},
{
"name": "ipykernel",
"specs": [
[
"==",
"6.26.0"
]
]
},
{
"name": "ipython",
"specs": [
[
"==",
"8.17.2"
]
]
},
{
"name": "ipywidgets",
"specs": [
[
"==",
"8.1.1"
]
]
},
{
"name": "isoduration",
"specs": [
[
"==",
"20.11.0"
]
]
},
{
"name": "jedi",
"specs": [
[
"==",
"0.19.1"
]
]
},
{
"name": "Jinja2",
"specs": [
[
"==",
"3.1.2"
]
]
},
{
"name": "json5",
"specs": [
[
"==",
"0.9.14"
]
]
},
{
"name": "jsonpointer",
"specs": [
[
"==",
"2.4"
]
]
},
{
"name": "jsonschema",
"specs": [
[
"==",
"4.20.0"
]
]
},
{
"name": "jsonschema-specifications",
"specs": [
[
"==",
"2023.11.1"
]
]
},
{
"name": "jupyter-console",
"specs": [
[
"==",
"6.6.3"
]
]
},
{
"name": "jupyter-events",
"specs": [
[
"==",
"0.9.0"
]
]
},
{
"name": "jupyter-lsp",
"specs": [
[
"==",
"2.2.0"
]
]
},
{
"name": "jupyter_client",
"specs": [
[
"==",
"8.4.0"
]
]
},
{
"name": "jupyter_core",
"specs": [
[
"==",
"5.5.0"
]
]
},
{
"name": "jupyter_server",
"specs": [
[
"==",
"2.10.1"
]
]
},
{
"name": "jupyter_server_terminals",
"specs": [
[
"==",
"0.4.4"
]
]
},
{
"name": "jupyterlab",
"specs": [
[
"==",
"4.0.9"
]
]
},
{
"name": "jupyterlab-widgets",
"specs": [
[
"==",
"3.0.9"
]
]
},
{
"name": "jupyterlab_pygments",
"specs": [
[
"==",
"0.3.0"
]
]
},
{
"name": "jupyterlab_server",
"specs": [
[
"==",
"2.25.2"
]
]
},
{
"name": "kiwisolver",
"specs": [
[
"==",
"1.4.5"
]
]
},
{
"name": "lsprotocol",
"specs": [
[
"==",
"2023.0.0"
]
]
},
{
"name": "MarkupSafe",
"specs": [
[
"==",
"2.1.3"
]
]
},
{
"name": "matplotlib",
"specs": [
[
"==",
"3.8.1"
]
]
},
{
"name": "matplotlib-inline",
"specs": [
[
"==",
"0.1.6"
]
]
},
{
"name": "mistune",
"specs": [
[
"==",
"3.0.2"
]
]
},
{
"name": "mpmath",
"specs": [
[
"==",
"1.3.0"
]
]
},
{
"name": "nbclient",
"specs": [
[
"==",
"0.9.0"
]
]
},
{
"name": "nbconvert",
"specs": [
[
"==",
"7.11.0"
]
]
},
{
"name": "nbformat",
"specs": [
[
"==",
"5.9.2"
]
]
},
{
"name": "nest-asyncio",
"specs": [
[
"==",
"1.5.8"
]
]
},
{
"name": "networkx",
"specs": [
[
"==",
"3.2"
]
]
},
{
"name": "notebook",
"specs": [
[
"==",
"7.0.6"
]
]
},
{
"name": "notebook_shim",
"specs": [
[
"==",
"0.2.3"
]
]
},
{
"name": "numpy",
"specs": [
[
"==",
"1.26.1"
]
]
},
{
"name": "nvidia-cublas-cu12",
"specs": [
[
"==",
"12.1.3.1"
]
]
},
{
"name": "nvidia-cuda-cupti-cu12",
"specs": [
[
"==",
"12.1.105"
]
]
},
{
"name": "nvidia-cuda-nvrtc-cu12",
"specs": [
[
"==",
"12.1.105"
]
]
},
{
"name": "nvidia-cuda-runtime-cu12",
"specs": [
[
"==",
"12.1.105"
]
]
},
{
"name": "nvidia-cudnn-cu12",
"specs": [
[
"==",
"8.9.2.26"
]
]
},
{
"name": "nvidia-cufft-cu12",
"specs": [
[
"==",
"11.0.2.54"
]
]
},
{
"name": "nvidia-curand-cu12",
"specs": [
[
"==",
"10.3.2.106"
]
]
},
{
"name": "nvidia-cusolver-cu12",
"specs": [
[
"==",
"11.4.5.107"
]
]
},
{
"name": "nvidia-cusparse-cu12",
"specs": [
[
"==",
"12.1.0.106"
]
]
},
{
"name": "nvidia-nccl-cu12",
"specs": [
[
"==",
"2.18.1"
]
]
},
{
"name": "nvidia-nvjitlink-cu12",
"specs": [
[
"==",
"12.3.52"
]
]
},
{
"name": "nvidia-nvtx-cu12",
"specs": [
[
"==",
"12.1.105"
]
]
},
{
"name": "overrides",
"specs": [
[
"==",
"7.4.0"
]
]
},
{
"name": "packaging",
"specs": [
[
"==",
"23.2"
]
]
},
{
"name": "pandas",
"specs": [
[
"==",
"2.1.1"
]
]
},
{
"name": "pandocfilters",
"specs": [
[
"==",
"1.5.0"
]
]
},
{
"name": "parso",
"specs": [
[
"==",
"0.8.3"
]
]
},
{
"name": "pexpect",
"specs": [
[
"==",
"4.8.0"
]
]
},
{
"name": "Pillow",
"specs": [
[
"==",
"10.1.0"
]
]
},
{
"name": "platformdirs",
"specs": [
[
"==",
"3.11.0"
]
]
},
{
"name": "pluggy",
"specs": [
[
"==",
"1.3.0"
]
]
},
{
"name": "prometheus-client",
"specs": [
[
"==",
"0.19.0"
]
]
},
{
"name": "prompt-toolkit",
"specs": [
[
"==",
"3.0.39"
]
]
},
{
"name": "psutil",
"specs": [
[
"==",
"5.9.6"
]
]
},
{
"name": "ptyprocess",
"specs": [
[
"==",
"0.7.0"
]
]
},
{
"name": "pure-eval",
"specs": [
[
"==",
"0.2.2"
]
]
},
{
"name": "pycparser",
"specs": [
[
"==",
"2.21"
]
]
},
{
"name": "pygls",
"specs": [
[
"==",
"1.2.0"
]
]
},
{
"name": "Pygments",
"specs": [
[
"==",
"2.16.1"
]
]
},
{
"name": "pyparsing",
"specs": [
[
"==",
"3.1.1"
]
]
},
{
"name": "pyspellchecker",
"specs": [
[
"==",
"0.7.2"
]
]
},
{
"name": "pytest",
"specs": [
[
"==",
"7.4.3"
]
]
},
{
"name": "python-dateutil",
"specs": [
[
"==",
"2.8.2"
]
]
},
{
"name": "python-json-logger",
"specs": [
[
"==",
"2.0.7"
]
]
},
{
"name": "pytz",
"specs": [
[
"==",
"2023.3.post1"
]
]
},
{
"name": "PyYAML",
"specs": [
[
"==",
"6.0.1"
]
]
},
{
"name": "pyzmq",
"specs": [
[
"==",
"25.1.1"
]
]
},
{
"name": "qtconsole",
"specs": [
[
"==",
"5.5.1"
]
]
},
{
"name": "QtPy",
"specs": [
[
"==",
"2.4.1"
]
]
},
{
"name": "referencing",
"specs": [
[
"==",
"0.31.0"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.31.0"
]
]
},
{
"name": "rfc3339-validator",
"specs": [
[
"==",
"0.1.4"
]
]
},
{
"name": "rfc3986-validator",
"specs": [
[
"==",
"0.1.1"
]
]
},
{
"name": "rpds-py",
"specs": [
[
"==",
"0.13.1"
]
]
},
{
"name": "SciencePlots",
"specs": [
[
"==",
"2.1.0"
]
]
},
{
"name": "scipy",
"specs": [
[
"==",
"1.11.3"
]
]
},
{
"name": "Send2Trash",
"specs": [
[
"==",
"1.8.2"
]
]
},
{
"name": "six",
"specs": [
[
"==",
"1.16.0"
]
]
},
{
"name": "sniffio",
"specs": [
[
"==",
"1.3.0"
]
]
},
{
"name": "snowballstemmer",
"specs": [
[
"==",
"2.2.0"
]
]
},
{
"name": "soupsieve",
"specs": [
[
"==",
"2.5"
]
]
},
{
"name": "Sphinx",
"specs": [
[
"==",
"7.2.6"
]
]
},
{
"name": "sphinx-basic-ng",
"specs": [
[
"==",
"1.0.0b2"
]
]
},
{
"name": "sphinxcontrib-applehelp",
"specs": [
[
"==",
"1.0.7"
]
]
},
{
"name": "sphinxcontrib-devhelp",
"specs": [
[
"==",
"1.0.5"
]
]
},
{
"name": "sphinxcontrib-htmlhelp",
"specs": [
[
"==",
"2.0.4"
]
]
},
{
"name": "sphinxcontrib-jsmath",
"specs": [
[
"==",
"1.0.1"
]
]
},
{
"name": "sphinxcontrib-qthelp",
"specs": [
[
"==",
"1.0.6"
]
]
},
{
"name": "sphinxcontrib-serializinghtml",
"specs": [
[
"==",
"1.1.9"
]
]
},
{
"name": "stack-data",
"specs": [
[
"==",
"0.6.3"
]
]
},
{
"name": "sympy",
"specs": [
[
"==",
"1.12"
]
]
},
{
"name": "tenacity",
"specs": [
[
"==",
"8.2.3"
]
]
},
{
"name": "terminado",
"specs": [
[
"==",
"0.18.0"
]
]
},
{
"name": "tinycss2",
"specs": [
[
"==",
"1.2.1"
]
]
},
{
"name": "torch",
"specs": [
[
"==",
"2.1.0"
]
]
},
{
"name": "tornado",
"specs": [
[
"==",
"6.3.3"
]
]
},
{
"name": "tqdm",
"specs": [
[
"==",
"4.66.1"
]
]
},
{
"name": "traitlets",
"specs": [
[
"==",
"5.13.0"
]
]
},
{
"name": "triton",
"specs": [
[
"==",
"2.1.0"
]
]
},
{
"name": "types-python-dateutil",
"specs": [
[
"==",
"2.8.19.14"
]
]
},
{
"name": "typing_extensions",
"specs": [
[
"==",
"4.8.0"
]
]
},
{
"name": "tzdata",
"specs": [
[
"==",
"2023.3"
]
]
},
{
"name": "uri-template",
"specs": [
[
"==",
"1.3.0"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"2.1.0"
]
]
},
{
"name": "wcwidth",
"specs": [
[
"==",
"0.2.9"
]
]
},
{
"name": "webcolors",
"specs": [
[
"==",
"1.13"
]
]
},
{
"name": "webencodings",
"specs": [
[
"==",
"0.5.1"
]
]
},
{
"name": "websocket-client",
"specs": [
[
"==",
"1.6.4"
]
]
},
{
"name": "widgetsnbextension",
"specs": [
[
"==",
"4.0.9"
]
]
}
],
"lcname": "docktgrid"
}