Skip to main content

A tool to simplify your DP4+ calculations

Project description

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:

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.

Show

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 (C13) and/or hydrogen (H1) 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

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

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.

Show
  1. 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. 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 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. It is available in the repository and can also be accessed directly within the program by clicking on the User Guide button.

Show

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:

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

  1. 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 y Link 2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dp4plus_app-1.1.1.tar.gz (57.0 MB view details)

Uploaded Source

Built Distribution

dp4plus_app-1.1.1-py3-none-any.whl (58.2 MB view details)

Uploaded Python 3

File details

Details for the file dp4plus_app-1.1.1.tar.gz.

File metadata

  • Download URL: dp4plus_app-1.1.1.tar.gz
  • Upload date:
  • Size: 57.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for dp4plus_app-1.1.1.tar.gz
Algorithm Hash digest
SHA256 58d926b9e3f269de885d169cba8ae33ba22539270ccc246d05ec85ccb89ea601
MD5 1e1a083e1716ac564813e2e271984d3a
BLAKE2b-256 92ac93246360103a79b98e7dab92990e0861ccc88a80bdd3a4e9597a50144d37

See more details on using hashes here.

File details

Details for the file dp4plus_app-1.1.1-py3-none-any.whl.

File metadata

  • Download URL: dp4plus_app-1.1.1-py3-none-any.whl
  • Upload date:
  • Size: 58.2 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.3

File hashes

Hashes for dp4plus_app-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf9b72b88745aea70a80e6f7f5525235c07b9c113287754a23846acc2a230c3a
MD5 7c6060fd25fc626aa761cedf70a8ad20
BLAKE2b-256 321092219aa654e44ff3cb12c689034736fef7c4a74cd6c4393c0455b14076b0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page