A package for chemprobe
Project description
chemprobe
installation
Requires python<=3.11
To access model & dataset modules:
pip install chemprobe
To access scripts for preprocessing/training/inference you must install from source:
git clone https://github.com/keiserlab/chemprobe.git
cd chemprobe
# use a virutal env...
# conda activate env
pip install .
download data
Required to run inference
bash download_data.sh
preprocess
Required to run inference
python preprocess.py \
--data_path ../data
train
python train.py \
--name TEST \
--exp film \
--fold 0 \
--n_blocks 4 \
--data_path ../data/preprocessed \
--batch_size 16384 \
--gpus 0,1,2,3 \
--num_workers 4 \
--lr 1e-3
permuted label model
python train.py \
--study_path /scratch/wconnell/danger/chemprobe/optuna/exp=film/fold=0/ \
--data_path ../data/preprocessed \
--name perm-fold=0 \
--exp film \
--fold 0 \
--max_epochs 5 \
--batch_size 16384 \
--gpus 3, \
--permute_labels
optimize
python optimize.py \
--study_path /srv/danger/scratch/wconnell/chemprobe/optuna/ \
--data_path ../data/preprocessed \
--exp film \
--fold 0 \
--n_trials 20 \
--prune \
--batch_size 16384 \
--gpus 1,
predict
python predict.py \
--cpds neratinib \ # Do not specify to run on all compounds
--data_path ../data/your_data/ \
--attribute \ # optional to run attribution
--batch_size 128 \
--gpus 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
chemprobe-0.1.5.tar.gz
(116.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
chemprobe-0.1.5-py3-none-any.whl
(120.6 kB
view details)
File details
Details for the file chemprobe-0.1.5.tar.gz.
File metadata
- Download URL: chemprobe-0.1.5.tar.gz
- Upload date:
- Size: 116.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c370389c08fe801541c0dde804cb75e934e88568d898ac7ce7196cb7de68349
|
|
| MD5 |
9088d2ecd3a5f66ce5954e82660df43e
|
|
| BLAKE2b-256 |
c381d49b31b2c6b6741fa23da7149def9244c6a8391fd7963e147f23c7071216
|
File details
Details for the file chemprobe-0.1.5-py3-none-any.whl.
File metadata
- Download URL: chemprobe-0.1.5-py3-none-any.whl
- Upload date:
- Size: 120.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
41f980400aaea6cbd8de56c660bb40f2844ab820aee35197224199f0a0320335
|
|
| MD5 |
07fa91ca4bbd2067fb3a32e0873a6e8f
|
|
| BLAKE2b-256 |
fc5f6a35d39ceada820283c12c537c5fbe51228406a80f36c82f499c5615fd49
|