Published November 23, 2022
| Version 3.0.0
Software
Open
ale94mleon/MolDrug: 3.0.0 - 2022.09.29
Description
Changed
- Name of
moldrug.fitness.get_mol_costtomoldrug.fitness.__get_mol_costfunction. - The class
moldrug.utils.GAdoes not have any more the methodroulette_wheel_selection; now is part a function that could be called frommoldrug.utils maxformax_confinmoldrug.constraintconf.constraintconf()function.- Entrance point constraintconf was changed to constraintconf_moldrug and now it is link to
moldrug.cli.__constraintconf_cmdinsteadmoldrug.constrainconf.constraintconf_cmd. - Name of the function
moldrug.fitness.vinadocknow ismoldrug.fitness.__vinadock. - Name of the function
moldrug.cli.moldrug_cmdnow ismoldrug.cli.__moldrug_cmd.
- Cleaning the code
- If
vina_executableis provided (to any cost function) and it represents a path. It will be try to convert to absolute path. Previously relative path to the executable were not understood properly. - Improve docs.
ad4mapin all the cost functions of themoldrug.fitnessmodule. This parameters specify the path where the ad4 map files are. To use this feature you must have the AutoDcok Vina v1.2.3 of above. Now you can use the force fields of AD4 inside of Vina. Future release will extend the integration with this versions.moldrug.utils.to_dataframe. THis function was previously isolated as a method of the classmoldrug.utils.GA; now it could also be called as a function.kept_gensattribute to theIndividuals inside ofmoldrug.utils.GA. This is a set that contains the generations for which the Individual was conserved.acceptanceattribute tomoldrug.utils.GA. This is a dictionary that has as keyword the generation ID, and as values a dictionary with keywords:accepted(number of generated molecules accepted on the current generation) andgenerated(number of total molecules generated)- Print
Accepted rate= accepted / generatedduring running. - Add hydrogens before create pdbt file with meeko when constrain docking i used.
seed_molofmoldrug.utils.GAnow could be a list (or iterable in a general way) of RDKit molecules. This feature could be used to combine several MolDrug runs and create a final runs with this combined population.seed_molfrom the command line could be: a valid SMILES, a list of valid SMILES or a list of path to the_pop.pbz2binary files. In the last case all the populations will be combined and sorted based on the cost attribute. If the result population is less thatpopsizenew structures will be generated to complete the initial population. The individuals of this initial population will be reinitialized and the cost function will be calculated.
Files
ale94mleon/MolDrug-3.0.0.zip
Files
(1.1 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:60e3c4a2343add6c3688119c7ea117ac
|
1.1 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/ale94mleon/MolDrug/tree/3.0.0 (URL)