Code accompanying the paper "Deep reinforcement learning for multiparameter optimization in de novo drug design". The paper can be found at: https://doi.org/10.26434/chemrxiv.7990910.v1.
To run the main program on the same data as described in the paper just run:
python Main.py
It is also possible to run the program on a custom set of lead molecules and/or fragments.
python Main.py fragment_molecules.smi lead_file.smi
Molecules that are genertated during the process can be vied by running:
python Show_Epoch.py n
where n
is the epoch that should be viewed. This shows two columns of molecules. The first column contains the original lead molecule, while the second column contains modified molecules.
Any global parameters can be changed by changing them in the file "Modules/global_parameters.py"
The program is originally written in Python 2.7 but there is now a 3.6 version as well. The following Python libraries are required to run it:
- rdkit
- numpy
- sklearn
- keras
- pandas
- bisect
- Levenshtein
- A backend to keras, such as theano, tensorflow or CNTK