-
Couldn't load subscription status.
- Fork 11
Molecule search example #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Hello @YamLyubov! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:
Comment last updated at 2023-06-08 13:43:13 UTC |
Codecov Report
@@ Coverage Diff @@
## main #83 +/- ##
==========================================
- Coverage 74.62% 74.60% -0.02%
==========================================
Files 123 123
Lines 6923 6920 -3
==========================================
- Hits 5166 5163 -3
Misses 1757 1757
|
10cd079 to
145079f
Compare
3c17ef6 to
fa2ffb8
Compare
Linked to #89 |
|
Первые мысли насчет экспериментов:
|
Я правильно понимаю, что на каком-то шаге нутри оптимизации приходится пробегать по истории оптимизации? |
|
Кстати, а почему на Големовских графах в узлах не названия молекул, а номера? |
|
Ах да, и добавь, пожалуйста, интеграционный тест на этот пример. |
7bfd2b4 to
a154bf6
Compare
Добавила тут И еще сделала так, чтобы в графах голема названиями нод были символы элементов |
* Add molecular graph, adapter and some metrics * Fix imports * Add CL score * Add draft add_atom mutation * Add draft delete_atom, replace_bond mutation * Add draft delete_bond, replace_atom mutation * Add experiment draft * Fix adapter * Fix experiment, add metrics description * Small mutations fix * Minor changes * Add cut_atom mutation * Refactor MolAdvisor * Add insert_carbon * Add remove_group * Add move_group * Move utils to separate file * PEP 8 and docstrings * Add zinc normalized logp * Minor * Fix extending initial population * Add guacomol benchmark * Refactror guacamol experiment * Add statistics and visualization for guacamol * pep * Add mutations list * Add CLScorer * Add download from github * Review fixes * Add integration test
Implementation of an example for goal directed molecule generation based on EvoMol https://jcheminf.biomedcentral.com/counter/pdf/10.1186/s13321-020-00458-z.pdf
Structure:
Class
MolGraphrepresenting molecular graph (not based on OptGraph and needs adapter)Adapter between
MolGraphandOptGraph.MolAdapterfirstly transformesMolGraphinto networkx graph. Edges params are stored in node params. ThenBaseNetworkxAdapteris used.Custom mutations for
MolGraphs. Primary mutations (simple):add_atom, delete_atom, replace_atom, replace_bond, delete_bond. Secondary mutations (more complex):cut_atom, insert_carbon, remove_group, move_groupClass to define possible actions for mutations. Not all atoms/bonds can be removed/added/replaced and to avoid faulty mutations we allow only actions that will lead to feasible structures.
Extension of
GraphrequirementsCustom metrics for molecule search
Experiment setup for molecule generations by optimising a specified metric
Class for evaluating Golem on GuacaMol benchmark https://pubs.acs.org/doi/10.1021/acs.jcim.8b00839
Results for GOLEM with bandit (results for 10 launches):

Some molecules found by Golem

Corresponding OptGraphs visualization:

Issues found while implementation: