Skip to main content

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

Metadata

Release files for qsarKit 0.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qsarKit 0.0.1
File Size Uploaded
qsarKit-0.0.1.tar.gz 29.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qsarKit 0.0.1
File Interpreter ABI Platform
qsarKit-0.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 65.6 kB

Release files / qsarKit-0.0.1.tar.gz

Download URL qsarKit-0.0.1.tar.gz
Size 29.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3ec5273b917999dccb67b48130270bb9dd07b9bd533c874837dd057aff0d26a9
BLAKE2b-256 checksum
How to use checksums
82f96ec71a232d1eac0fcbfd0e4b5df7b43156e384b24636514f6af826405647
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release files / qsarKit-0.0.1-py3-none-any.whl

Download URL qsarKit-0.0.1-py3-none-any.whl
Size 36.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b3864ef4740789e70bbc3df11241aff802a5e9606b39e69c6aefa5ce035d2e41
BLAKE2b-256 checksum
How to use checksums
a839ae98aeb34efad79c97b4082723dbdf2b5c8c7273135cb7016aa30504e0a6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.9.19

Release history Release notifications | RSS feed

This release

0.0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page