ale94mleon/MolDrug: 3.6.0 - 2023.12.07
Description
Added
vina_seedargument for:- all the cost functions of
moldrug.fitness, moldrug.fitness._vinadock.
- all the cost functions of
randomseed:moldrug.utils.confgen,moldrug.utils.Individual,moldrug.utils.Local,moldrug.utils.GA,moldrug.constraintconf.constraintconfas well its CLI with the flag--seed.
-Vand--verboseflag in the CLI of moldrug.moldrug.utils.softmaxfunction.moldrug.utils.deep_updatefunction.moldrug.utils.__get_default_desirability` to store the default desirability values.vina_score_type = 'ensemble', this is used by CostMultiReceptors* functions. It is meant to be used to account for flexibility in the receptor. This is equivalent to performing ensemble docking.
Removed
outdirflag inmoldrugCLI.
Changed
Use
random.randominsteadnumpy.random.randfunction for some small cases.AllChem.MMFFOptimizeMoleculeis only used internally formoldrug.utils.confgenandmoldrug.constraintconf.gen_aligned_confifrandomseedis not set and withmaxIters = 500.picklemodule is replaced bydill. It is better to handle users' custom fitness functions.Data now is retrieved with
moldrug``.data.get_datafunction.Is not needed to input the whole desirability definition if only is intended to change one part of the default desirability used internally by the cost functions of
moldrug.fitness. For example, if you would like to change theTargetvalue ofvina_scorefrom its default value.Before:
ga = GA( ... costfunc = moldrug.fitness.Cost costfunc_kwargs = { ... "desirability": { "qed": { "w": 1, "LargerTheBest": { "LowerLimit": 0.1, "Target": 0.75, "r": 1 } }, "sa_score": { "w": 1, "SmallerTheBest": { "Target": 3, "UpperLimit": 7, "r": 1 } }, "vina_score": { "w": 1, "SmallerTheBest": { "Target": -12, "UpperLimit": -6, "r": 1 } } }, ... } ... )Now:
ga = GA( ... costfunc = moldrug.fitness.Cost costfunc_kwargs = { ... "desirability": { "vina_score": { "SmallerTheBest": { "Target": -12, } } }, ... } ... )The same from the CLI.
Fixed
- Small bug when the population has Individuals with the same cost. Better reproducibility.
- Refactored changes.
- Handled properly in case
receptor_pdbqt_path = None. - Convert
self.crem_db_pathto absolute path inmoldrug.utils.Localandmoldrug.utils.GA.
Files
ale94mleon/MolDrug-v3.6.0.zip
Files
(5.7 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:3424daed36f78cdad911c9b49035127a
|
5.7 MB | Preview Download |
Additional details
Related works
- Is supplement to
- Software: https://github.com/ale94mleon/MolDrug/tree/v3.6.0 (URL)