Skip to main content

High-level codebase for deep learning development in drug discovery.

Project description

AIDD Codebase

PyPI PyPI PyPI Open In Colab

A high-level codebase for deep learning development in drug discovery applications using PyTorch-Lightning.

Dependencies

The codebase requires the following additional dependencies

  • CUDA >= 11.4
  • PyTorch >= 1.9
  • Pytorch-Lightning >= 1.5
  • RDKit
  • Optionally supports: tensorboard and/or wandb

Installation

The codebase can be installed from PyPI using pip, or your package manager of choice, with

$ pip install aidd-codebase

Usage

  1. Configuration: The coding framework has a number of argument dataclasses in the file arguments.py. This file contains all standard arguments for each of the models. Because they are dataclasses, you can easily adapt them to your own needs.

Does your Seq2Seq adaptation need an extra argument? Import the Seq2SeqArguments from arguments.py, create your own dataclass which inherits it and add your extra argument.

*It is important to note that the order of supplying arguments to a script goes as follows:*
- --flags override config.yaml
- config.yaml overrides default values in arguments.py
- default values from arguments.py are used when no other values are supplied
At the end, it stores all arguments in config.yaml

  1. Use: The coding framework has four main parts:
  • utils
  • data_utils
  • models
  • interpretation

These parts should be used  

  1. File Setup: The setup of the files in the system is best used as followed:
    coding_framework
    |-- ..
    ESR X
    |-- project 1
    |-- data
    |-- ..
    |-- Arguments.py
    |-- config.yaml
    |-- main.py
    |-- datamodule.py
    |-- pl_framework.py

Contributors

All fellows of the AIDD consortium have contributed to the packaged.

Code of Conduct

Everyone interacting in the codebase, issue trackers, chat rooms, and mailing lists is expected to follow the PyPA Code of Conduct.

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

aidd-codebase-0.2.0.tar.gz (9.4 kB view details)

Uploaded Source

Built Distribution

aidd_codebase-0.2.0-py3-none-any.whl (12.8 kB view details)

Uploaded Python 3

File details

Details for the file aidd-codebase-0.2.0.tar.gz.

File metadata

  • Download URL: aidd-codebase-0.2.0.tar.gz
  • Upload date:
  • Size: 9.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.5 Linux/5.17.5-76051705-generic

File hashes

Hashes for aidd-codebase-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b71c5a92905947e809c2429ca8a876c690922c3b9d980e3f53a0c46fa2f64c3a
MD5 a91f9f77756d8f81232eca0e754facda
BLAKE2b-256 ace26762d0cc4873ea1e17a116a87720d0e91045dd5f256c6b219a32b79124c7

See more details on using hashes here.

File details

Details for the file aidd_codebase-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: aidd_codebase-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.13 CPython/3.9.5 Linux/5.17.5-76051705-generic

File hashes

Hashes for aidd_codebase-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5806856691676f0708135c1a98b82bc3f398f0465a433afe94edc7d91bebe1a4
MD5 5365b4a6953c7babc76893ad673ad24d
BLAKE2b-256 2cb0146bb2364191370a41157221f41042ce86175b85058de100d2bc79646621

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