# DP4+ App
This repository contains the tool presented in the publication titled **DP4+App: Finding the Best Balance between Computational Cost and Predictive Capacity in the Structure Elucidation Process by DP4+. Factors Analysis and Automation**, published in the Journal of Natural Products on September 18, 2023.
For all work using **DP4+App** please cite the primary publication:
* J. Nat. Prod. 2023, 86, 10, 2360–2367 . https://doi.org/10.1021/acs.jnatprod.3c00566
## A tool for DP4+, MM-DP4+ and Custom DP4+ probability calculation
The **DP4+App** is a powerful tool designed to assist researchers in the structure elucidation process by balancing computational cost and predictive capacity using DP4+ factors analysis and automation. It provides valuable insights and streamlines the decision-making process, making it a valuable asset for chemists and researchers working in natural product chemistry and related fields.
This is a comprehensive software was designed to facilitate DP4+ and MM-DP4+ calculations. With its user-friendly graphical interface, you can handle multiple Gaussian calculations and leverage automated data processing for accurate probabilistic analysis. The software also offers the flexibility to perform Custom-DP4+ calculations, enabling parameterization of theory levels as per individual requirements.
<img alt="Show" src="https://github.com/Sarotti-Lab/DP4plus-App/assets/101182775/a459f018-78c8-4e43-b7de-0dd92eb40a48 " width="192" height="237"/>
## Characteristics
### Functionalities
The **DP4+ App** utilizes advanced calculation methods to determine the probability of correlation between experimental information and two or more sets of calculated magnetic tensors from a group of candidate molecules under study. These probabilities are determined using both raw and scaled data, following the mathematical formalism of Bayesian methods.
To perform a calculation, you need to provide carbon (C<sup>13</sup>) and/or hydrogen (H<sup>1</sup>) atoms one-dimensional NMR spectrum of the molecule you are studying, along with the Gaussian "nmr" calculations of its plausible isomers (candidates).
It is important to note that the theory level used in the Gaussian calculations must match the level used in the DP4+ App. To accommodate various requirements, the software offers a wide range of options, including 24 DP4+ levels, 36 MM-DP4+ levels, and, if needed, the ability to parameterize your own custom level using Custom DP4+. For detailed information about the available functions and levels, please refer to the [DP4+ App User guides and Example](https://github.com/Sarotti-Lab/DP4plus-App/tree/main/User%20Guides%20and%20Examples)
### Installation Requirements
This package is confirmed to work with Python versions between **3.8 and 3.11.9**. The most recent tested version is 3.11.9, which works smoothly across Windows, Linux, and macOS. If you don't have Python installed on your system, you can download it from [Python 3.11.9](https://www.python.org/downloads/release/python-3119/)
###### Please note that Python 3.12 and 3.13 are not supported at the moment. If your system has Python 3.12 or later installed, we highly recommend setting up a virtual environment with Python 3.11.9 or an earlier version. You can consult your most trusted AI assistant for step-by-step guidance on creating virtual environments.
Please make sure to add Python to your system's PATH environment variable to ensure correct usage of the DP4+ App. The following steps explain how to enable Python in your system's PATH:
1. Download and install Python from the provided link.
2. During the installation process, you will come across an option called "Add Python to PATH" or something similar. Make sure to check this option before proceeding with the installation.
<img alt="Show" src=https://user-images.githubusercontent.com/118339488/227255604-00cdfa72-6613-4f15-b2d6-08d2880a0899.png width="250" height="155"/>
3. By enabling this option, Python will be added to your system's PATH, allowing you to run Python commands and scripts from any location in your command prompt or terminal.
By following these instructions and ensuring Python is correctly added to your system's PATH, you will be able to use the DP4+ App without any issues.
### Install DP4+App
To get started with the **DP4+ App**, you can choose from two installation methods:
* **Running the Installer Script:** Install the DP4+ App by running the provided installer script available at [DP4+App_Installer](https://github.com/RosarioCCLab/DP4plus-App/blob/main/dp4plus-installer.py). Simply save the code by opening it in raw format and right-clicking on the website screen to choose "Save as". Then, run the saved script on your system.
* **Using the OS Console (Command Line):** Alternatively, you can install the *DP4+App* by executing the following command in your operating system's console (command line):
> `pip install --upgrade dp4plus-app`
###### From version 0.2.8, there is no need to install the *tkinter* module, as the package now uses *PyQt5* for the UI. If you are installing a version prior to 0.2.8 and using Linux (Ubuntu) be aware that Python module *tkinter* is not installed with `pip` in your OS. In case your want to install **DP4+ App** by command line, make sure to also install tk with > `sudo apt-get install python3-tk` . If you prefer the installer script, this issue is already addressed within it.
Choose the installation method that suits you best, and you'll be ready to use the DP4+ App for your probabilistic analysis needs.
### Running DP4+App
Once you have successfully installed the DP4+ App, you can execute it using the following methods:
* If you have installed the program via the command line, you can run it directly in the same console by using the command:
> `dp4plus`
* In case you have used the [DP4+App_Installer](https://github.com/RosarioCCLab/DP4plus-App/blob/main/dp4plus-installer.py) is used, the program can be executed either through the command line or by double-clicking on the shortcut named `dp4plus.exe` that has been created on your desktop.
If the executable is missing or not created yet, the `dp4plus.exe` shortcut can be generated using command line:
> `dp4plus-exe`
### User Guide and Examples
To help you get started with the DP4+ App and learn how to use its features effectively, we provide a comprehensive [DP4+ App User Guides](https://github.com/Sarotti-Lab/DP4plus-App/tree/main/User%20Guides%20and%20Examples). It is available in the repository and can also be accessed directly within the program by clicking on the `User Guide` button.
<img alt="Show" src=https://github.com/user-attachments/assets/c12bfbaf-661b-49f0-b712-cb390bd286ef width="555" height="559"/>
The user guide offers detailed instructions, explanations, and step-by-step tutorials to assist you in navigating the DP4+ App and making the most of its functionalities. It serves as a valuable resource to enhance your understanding of the tool and perform accurate probabilistic analyses.
Additionally, within the DP4+ App, you will find a corroborated study case that serves as an example. This study case demonstrates how to utilize the tool effectively, providing practical insights into its usage and showcasing its capabilities.
By referring to the user guide and exploring the example study case, you can quickly familiarize yourself with the DP4+ App and gain confidence in performing probabilistic analyses for your research or projects.
### Bugs and malfuntions
If you encounter any issues or experience faulty operations while using the *DP4+App*, we encourage you to report your situation in detail. By providing comprehensive information about the problem, you can assist us in improving the software. Please reach out to us using the following email addresses:
* brunoafranco@uca.edu.ar
* zanardi@inv.rosario-conicet.gov.ar
* sarotti@iquir-conicet.gov.ar
###### While you have the option to comment in this repository, we recommend using the email addresses mentioned above, as we monitor them more frequently.
### F.A.Q.
1. How can I uninstall DP4+App ?
In your terminal run the code:
> `pip uninstall dp4plus_app` or `pip3 uninstall dp4plus_app`
>
2. Why I get this error: `pip is not recognized as an internal or external command, operable program or batch file.` ?
This error occurs when the pip command or any other command is not recognized in the terminal. It typically happens when the required executable modules are not included in the system's PATH list.
To resolve this issue, you have a couple of options:
Reinstall Python, ensuring that you enable the option to add it to your computer's PATH during the installation process.
Manually add the appropriate directories to the PATH environment variable on your computer. This will involve modifying the system settings and adding the paths of the required executable modules. You can find step-by-step instructions on how to do this in the following resources: [Link 1](https://realpython.com/add-python-to-path/) y [Link 2](https://www.mygreatlearning.com/blog/add-python-to-path/)
Raw data
{
"_id": null,
"home_page": "https://github.com/RosarioCCLab/DP4plus-App",
"name": "dp4plus-app",
"maintainer": null,
"docs_url": null,
"requires_python": "<3.13,>=3.8",
"maintainer_email": null,
"keywords": "nmr",
"author": "Bruno A. Franco",
"author_email": "bruno.agustin.franco@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/92/ac/93246360103a79b98e7dab92990e0861ccc88a80bdd3a4e9597a50144d37/dp4plus_app-1.1.1.tar.gz",
"platform": null,
"description": "# DP4+ App\r\n\r\nThis repository contains the tool presented in the publication titled **DP4+App: Finding the Best Balance between Computational Cost and Predictive Capacity in the Structure Elucidation Process by DP4+. Factors Analysis and Automation**, published in the Journal of Natural Products on September 18, 2023. \r\n\r\nFor all work using **DP4+App** please cite the primary publication: \r\n\r\n* J. Nat. Prod. 2023, 86, 10, 2360\u00e2\u20ac\u201c2367 . https://doi.org/10.1021/acs.jnatprod.3c00566\r\n\r\n## A tool for DP4+, MM-DP4+ and Custom DP4+ probability calculation\r\nThe **DP4+App** is a powerful tool designed to assist researchers in the structure elucidation process by balancing computational cost and predictive capacity using DP4+ factors analysis and automation. It provides valuable insights and streamlines the decision-making process, making it a valuable asset for chemists and researchers working in natural product chemistry and related fields.\r\n\r\nThis is a comprehensive software was designed to facilitate DP4+ and MM-DP4+ calculations. With its user-friendly graphical interface, you can handle multiple Gaussian calculations and leverage automated data processing for accurate probabilistic analysis. The software also offers the flexibility to perform Custom-DP4+ calculations, enabling parameterization of theory levels as per individual requirements.\r\n\r\n <img alt=\"Show\" src=\"https://github.com/Sarotti-Lab/DP4plus-App/assets/101182775/a459f018-78c8-4e43-b7de-0dd92eb40a48 \" width=\"192\" height=\"237\"/>\r\n\r\n## Characteristics\r\n### Functionalities\r\n\r\nThe **DP4+ App** utilizes advanced calculation methods to determine the probability of correlation between experimental information and two or more sets of calculated magnetic tensors from a group of candidate molecules under study. These probabilities are determined using both raw and scaled data, following the mathematical formalism of Bayesian methods.\r\n\r\nTo perform a calculation, you need to provide carbon (C<sup>13</sup>) and/or hydrogen (H<sup>1</sup>) atoms one-dimensional NMR spectrum of the molecule you are studying, along with the Gaussian \"nmr\" calculations of its plausible isomers (candidates).\r\n\r\nIt is important to note that the theory level used in the Gaussian calculations must match the level used in the DP4+ App. To accommodate various requirements, the software offers a wide range of options, including 24 DP4+ levels, 36 MM-DP4+ levels, and, if needed, the ability to parameterize your own custom level using Custom DP4+. For detailed information about the available functions and levels, please refer to the [DP4+ App User guides and Example](https://github.com/Sarotti-Lab/DP4plus-App/tree/main/User%20Guides%20and%20Examples)\r\n\r\n### Installation Requirements \r\nThis package is confirmed to work with Python versions between **3.8 and 3.11.9**. The most recent tested version is 3.11.9, which works smoothly across Windows, Linux, and macOS. If you don't have Python installed on your system, you can download it from [Python 3.11.9](https://www.python.org/downloads/release/python-3119/)\r\n\r\n###### Please note that Python 3.12 and 3.13 are not supported at the moment. If your system has Python 3.12 or later installed, we highly recommend setting up a virtual environment with Python 3.11.9 or an earlier version. You can consult your most trusted AI assistant for step-by-step guidance on creating virtual environments.\r\n\r\nPlease make sure to add Python to your system's PATH environment variable to ensure correct usage of the DP4+ App. The following steps explain how to enable Python in your system's PATH:\r\n\r\n1. Download and install Python from the provided link.\r\n\r\n2. During the installation process, you will come across an option called \"Add Python to PATH\" or something similar. Make sure to check this option before proceeding with the installation. \r\n\r\n<img alt=\"Show\" src=https://user-images.githubusercontent.com/118339488/227255604-00cdfa72-6613-4f15-b2d6-08d2880a0899.png width=\"250\" height=\"155\"/>\r\n\r\n3. By enabling this option, Python will be added to your system's PATH, allowing you to run Python commands and scripts from any location in your command prompt or terminal.\r\n\r\nBy following these instructions and ensuring Python is correctly added to your system's PATH, you will be able to use the DP4+ App without any issues.\r\n\r\n### Install DP4+App\r\nTo get started with the **DP4+ App**, you can choose from two installation methods:\r\n* **Running the Installer Script:** Install the DP4+ App by running the provided installer script available at [DP4+App_Installer](https://github.com/RosarioCCLab/DP4plus-App/blob/main/dp4plus-installer.py). Simply save the code by opening it in raw format and right-clicking on the website screen to choose \"Save as\". Then, run the saved script on your system.\r\n\r\n* **Using the OS Console (Command Line):** Alternatively, you can install the *DP4+App* by executing the following command in your operating system's console (command line):\r\n\r\n> `pip install --upgrade dp4plus-app` \r\n\r\n###### From version 0.2.8, there is no need to install the *tkinter* module, as the package now uses *PyQt5* for the UI. If you are installing a version prior to 0.2.8 and using Linux (Ubuntu) be aware that Python module *tkinter* is not installed with `pip` in your OS. In case your want to install **DP4+ App** by command line, make sure to also install tk with > `sudo apt-get install python3-tk` . If you prefer the installer script, this issue is already addressed within it.\r\n\r\nChoose the installation method that suits you best, and you'll be ready to use the DP4+ App for your probabilistic analysis needs.\r\n\r\n### Running DP4+App\r\n\r\nOnce you have successfully installed the DP4+ App, you can execute it using the following methods:\r\n\r\n* If you have installed the program via the command line, you can run it directly in the same console by using the command:\r\n\r\n> `dp4plus`\r\n \r\n* In case you have used the [DP4+App_Installer](https://github.com/RosarioCCLab/DP4plus-App/blob/main/dp4plus-installer.py) is used, the program can be executed either through the command line or by double-clicking on the shortcut named `dp4plus.exe` that has been created on your desktop. \r\n\r\n\r\nIf the executable is missing or not created yet, the `dp4plus.exe` shortcut can be generated using command line: \r\n> `dp4plus-exe`\r\n\r\n\r\n\r\n### User Guide and Examples\r\nTo help you get started with the DP4+ App and learn how to use its features effectively, we provide a comprehensive [DP4+ App User Guides](https://github.com/Sarotti-Lab/DP4plus-App/tree/main/User%20Guides%20and%20Examples). It is available in the repository and can also be accessed directly within the program by clicking on the `User Guide` button.\r\n\r\n<img alt=\"Show\" src=https://github.com/user-attachments/assets/c12bfbaf-661b-49f0-b712-cb390bd286ef width=\"555\" height=\"559\"/>\r\n\r\nThe user guide offers detailed instructions, explanations, and step-by-step tutorials to assist you in navigating the DP4+ App and making the most of its functionalities. It serves as a valuable resource to enhance your understanding of the tool and perform accurate probabilistic analyses.\r\n\r\nAdditionally, within the DP4+ App, you will find a corroborated study case that serves as an example. This study case demonstrates how to utilize the tool effectively, providing practical insights into its usage and showcasing its capabilities.\r\n\r\nBy referring to the user guide and exploring the example study case, you can quickly familiarize yourself with the DP4+ App and gain confidence in performing probabilistic analyses for your research or projects.\r\n\r\n### Bugs and malfuntions\r\nIf you encounter any issues or experience faulty operations while using the *DP4+App*, we encourage you to report your situation in detail. By providing comprehensive information about the problem, you can assist us in improving the software. Please reach out to us using the following email addresses:\r\n* brunoafranco@uca.edu.ar\r\n* zanardi@inv.rosario-conicet.gov.ar\r\n* sarotti@iquir-conicet.gov.ar\r\n\r\n###### While you have the option to comment in this repository, we recommend using the email addresses mentioned above, as we monitor them more frequently.\r\n\r\n### F.A.Q.\r\n1. How can I uninstall DP4+App ? \r\n\r\n In your terminal run the code:\r\n > `pip uninstall dp4plus_app` or `pip3 uninstall dp4plus_app`\r\n > \r\n2. Why I get this error: `pip is not recognized as an internal or external command, operable program or batch file.` ?\r\n \r\n This error occurs when the pip command or any other command is not recognized in the terminal. It typically happens when the required executable modules are not included in the system's PATH list.\r\n\r\n To resolve this issue, you have a couple of options:\r\n\r\n Reinstall Python, ensuring that you enable the option to add it to your computer's PATH during the installation process. \r\n \r\n Manually add the appropriate directories to the PATH environment variable on your computer. This will involve modifying the system settings and adding the paths of the required executable modules. You can find step-by-step instructions on how to do this in the following resources: [Link 1](https://realpython.com/add-python-to-path/) y [Link 2](https://www.mygreatlearning.com/blog/add-python-to-path/)\r\n\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "A tool to simplify your DP4+ calculations",
"version": "1.1.1",
"project_urls": {
"Homepage": "https://github.com/RosarioCCLab/DP4plus-App"
},
"split_keywords": [
"nmr"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "321092219aa654e44ff3cb12c689034736fef7c4a74cd6c4393c0455b14076b0",
"md5": "7c6060fd25fc626aa761cedf70a8ad20",
"sha256": "bf9b72b88745aea70a80e6f7f5525235c07b9c113287754a23846acc2a230c3a"
},
"downloads": -1,
"filename": "dp4plus_app-1.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7c6060fd25fc626aa761cedf70a8ad20",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": "<3.13,>=3.8",
"size": 58225139,
"upload_time": "2024-10-08T19:11:37",
"upload_time_iso_8601": "2024-10-08T19:11:37.460922Z",
"url": "https://files.pythonhosted.org/packages/32/10/92219aa654e44ff3cb12c689034736fef7c4a74cd6c4393c0455b14076b0/dp4plus_app-1.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "92ac93246360103a79b98e7dab92990e0861ccc88a80bdd3a4e9597a50144d37",
"md5": "1e1a083e1716ac564813e2e271984d3a",
"sha256": "58d926b9e3f269de885d169cba8ae33ba22539270ccc246d05ec85ccb89ea601"
},
"downloads": -1,
"filename": "dp4plus_app-1.1.1.tar.gz",
"has_sig": false,
"md5_digest": "1e1a083e1716ac564813e2e271984d3a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": "<3.13,>=3.8",
"size": 56952107,
"upload_time": "2024-10-08T19:12:23",
"upload_time_iso_8601": "2024-10-08T19:12:23.440466Z",
"url": "https://files.pythonhosted.org/packages/92/ac/93246360103a79b98e7dab92990e0861ccc88a80bdd3a4e9597a50144d37/dp4plus_app-1.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-10-08 19:12:23",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "RosarioCCLab",
"github_project": "DP4plus-App",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "dp4plus-app"
}