Skip to main content

A Python package that offers robust predictive modeling using QSAR for evaluating the transfer of environmental contaminants in breast milk. It integrates multiple predictive models, provides synthetic data generation via GANs, and is tailored for researchers and health professionals.

Project description

qsarKit

License: MIT Contributions Py version Hits GitHub release

⚛️ QSAR Predictive Modeling for Evaluating Contaminant Transfer

Table of Contents
  1. About the project
  2. Installation
  3. Use cases
  4. Tutorials
  5. Documentation
  6. Contact

📝 About the project

qsarKit is a Python package that offers robust predictive modeling using QSAR for evaluating the transfer of environmental contaminants in breast milk. Developed by the dedicated team led by Professor Nadia Tahiri at the University of Sherbrooke in Quebec, Canada. This open-source integrates multiple predictive models, provides synthetic data generation via GANs, and is tailored for researchers and health professionals.

⚒️ Installation

Miniconda is used to handle the environment dependencies.

Once miniconda is installed, the environment can be created and activated with the following commands:

conda env create -f environment.yaml
conda activate qsar_env

If you encounter any issues activating the environment, try sourcing the Conda script first and then retry activation:

source ~/miniconda3/bin/activate qsar_env

or if you installed Anaconda instead of Miniconda:

source ~/anaconda3/bin/activate qsar_env

⚠️ We currently only support Python 3.10 due to some dependencies that are not yet compatible with Python 3.11+. We will update the package as soon as the dependencies are updated.

🚀 Use cases

The qsarKit package can be encapsulated in other applications or used as a standalone package. You can refer to the tutorials on how to use the package functionalities, or use the package as a standalone application. To perform a quick test, you can run the package with only one model by executing the following command:

python main.py --config ridge.yaml --output results/

For a more generic way of running the package as a standalone application, you can execute the following command by specifying the <config_file> (path to the YAML configuration file) and <output_dir> (path to the output directory).

python main.py --config <config_file> --output <output_dir>

Both arguments are optional. If not provided, the default values are config/compare_all_models.yaml and results/, respectively.

We can also generate synthetic data using GANs by including the gan flag in the configuration file. You can explore examples of the different options provided by the package in the config/ folders. And you can refer to the gan tutorial.

📚 Tutorials

We provide several tutorials to help you get started with the package. You can find them in the tutorials/ folder. You can explore the tutorials/models/, tutorials/gan/, and tutorials/preprocessing/ folders to learn more about the different functionalities of the package.

📖 Documentation

You can also refer to the documentation for more details.

We generated the documentation using Sphinx. To generate the documentation locally, you can run the following command:

Linux/Mac:

cd docs/
make html

Windows:

cd docs/
.\make.bat html

The documentation will be generated in the docs/build/html/ folder. You can open the index.html file in your browser to view the documentation.

📧 Contact

Please email us at: Nadia.Tahiri@USherbrooke.ca for any questions or feedback.

Go to Top

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

qsarKit-0.0.1.tar.gz (29.0 kB view details)

Uploaded Source

Built Distribution

qsarKit-0.0.1-py3-none-any.whl (36.7 kB view details)

Uploaded Python 3

File details

Details for the file qsarKit-0.0.1.tar.gz.

File metadata

  • Download URL: qsarKit-0.0.1.tar.gz
  • Upload date:
  • Size: 29.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for qsarKit-0.0.1.tar.gz
Algorithm Hash digest
SHA256 3ec5273b917999dccb67b48130270bb9dd07b9bd533c874837dd057aff0d26a9
MD5 dc79051063c2bd363a218cc1eed0f74f
BLAKE2b-256 82f96ec71a232d1eac0fcbfd0e4b5df7b43156e384b24636514f6af826405647

See more details on using hashes here.

File details

Details for the file qsarKit-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: qsarKit-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 36.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.19

File hashes

Hashes for qsarKit-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b3864ef4740789e70bbc3df11241aff802a5e9606b39e69c6aefa5ce035d2e41
MD5 160c307e81f5b941dad808ac6a9d1a21
BLAKE2b-256 a839ae98aeb34efad79c97b4082723dbdf2b5c8c7273135cb7016aa30504e0a6

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