{ "info": { "author": "BenevolentAI", "author_email": "guacamol@benevolent.ai", "bugtrack_url": null, "classifiers": [], "description": "# GuacaMol\n\n[![Build Status](https://travis-ci.com/BenevolentAI/guacamol.svg?branch=master)](https://travis-ci.com/BenevolentAI/guacamol)\n\n**GuacaMol** is an open source Python package for benchmarking of models for \n*de novo* molecular design.\n\nFor an in-depth explanation of the types of benchmarks and baseline scores,\nplease consult our paper \n[Benchmarking Models for De Novo Molecular Design](https://arxiv.org/abs/1811.09621)\n\n## Installation\n\nThe easiest way to install `guacamol` is with `pip`:\n```bash\npip install guacamol\n```\n\n`guacamol` requires the [RDKit library](http://rdkit.org/) (version `2018.09.1.0` or newer).\n\n\n## Benchmarking models\n\nFor the distribution-learning benchmarks, specialize `DistributionMatchingGenerator` \n(from `guacamol.distribution_matching_generator`) for your model. \nInstances of this class must be able to generate molecules similar to the training set. \nFor the actual benchmarks, call `assess_distribution_learning` \n(from `guacamol.assess_distribution_learning`) with an instance of your class. \nYou must also provide the location of the training set file (See section \"Data\" below).\n\nFor the goal-directed benchmarks, specialize `GoalDirectedGenerator` \n(from `guacamol.goal_directed_generator`) for your model. \nInstances of this class must be able to generate a specified number of molecules \nthat achieve high scores for a given scoring function. \nFor the actual benchmarks, call `assess_goal_directed_generation` \n(from `guacamol.assess_goal_directed_generation`) with an instance of your class. \n\nExample implementations for baseline methods are available from https://github.com/BenevolentAI/guacamol_baselines.\n\n\n## Data\n\nFor fairness in the evaluation of the benchmarks and comparability of the results, \nyou should use a training set containing molecules from the ChEMBL dataset.\nFollow the procedure described below to get standardized datasets.\n\n\n### Download\n\nYou can download pre-built datasets [here](https://figshare.com/projects/GuacaMol/56639):\n\nmd5 `05ad85d871958a05c02ab51a4fde8530` [training](https://ndownloader.figshare.com/files/13612760 ) \nmd5 `e53db4bff7dc4784123ae6df72e3b1f0` [validation](https://ndownloader.figshare.com/files/13612766) \nmd5 `677b757ccec4809febd83850b43e1616` [test](https://ndownloader.figshare.com/files/13612757) \nmd5 `7d45bc95c33c10cb96ef5e78c38ac0b6` [all](https://ndownloader.figshare.com/files/13612745) \n\n\n### Generation\n\nTo generate the training data yourself, run \n```\npython -m guacamol.data.get_data -o [output_directory]\n```\nwhich will download and process ChEMBL for you in your current folder.\n\nThis script will use the molecules from \n[`holdout_set_gcm_v1.smiles`](https://github.com/BenevolentAI/guacamol/blob/master/guacamol/data/holdout_set_gcm_v1.smiles)\nas a holdout set, and will exclude molecules very similar to these.\n\nDifferent versions of your Python packages may lead to differences in the generated dataset, which will cause the script to fail.\nSee the section below (\"Docker\") to reproducibly generate the standardized dataset with the hashes given above.\n\n### Docker\n\nTo be sure that you have the right dependencies you can build a Docker image, run from the top-level directory:\n```\ndocker build -t guacamol-deps dockers/\n```\nThen you can run:\n```\ndocker run --rm -it -v `pwd`:/guacamol -w /guacamol guacamol-deps python -m guacamol.data.get_data -o guacamol/data --chembl\n```\n\n\n## Leaderboard\n\nWill come soon.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/BenevolentAI/guacamol", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "guacamol", "package_url": "https://pypi.org/project/guacamol/", "platform": "", "project_url": "https://pypi.org/project/guacamol/", "project_urls": { "Homepage": "https://github.com/BenevolentAI/guacamol" }, "release_url": "https://pypi.org/project/guacamol/0.5.0/", "requires_dist": [ "joblib (>=0.12.5)", "numpy (>=1.15.2)", "scipy (>=1.1.0)", "tqdm (>=4.26.0)", "FCD (==1.0)", "rdkit (>=2018.09.1.0) ; extra == 'rdkit'" ], "requires_python": ">=3.6", "summary": "Guacamol: benchmarks for de novo molecular design", "version": "0.5.0" }, "last_serial": 4769246, "releases": { "0.3.1": [ { "comment_text": "", "digests": { "md5": "99a9589dcb0aa067d5efabf6a12cb927", "sha256": "13a32110a3f5b397ec4fcad6eb30b0e18c0aa135d179ab20f2eaf4c2ebf7f0d1" }, "downloads": -1, "filename": "guacamol-0.3.1-py3-none-any.whl", "has_sig": false, "md5_digest": "99a9589dcb0aa067d5efabf6a12cb927", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 35372, "upload_time": "2018-11-28T09:47:59", "url": "https://files.pythonhosted.org/packages/07/a0/cae0f384d988921c5381e17a9db3510d21c7442718dcdd7e752202837335/guacamol-0.3.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8e463bd4ed208c9eb2746031fb0a56fc", "sha256": "c74625d3057699d1df8cb6f9040f24848fbf9096538e0f987eafcbe34bd91f61" }, "downloads": -1, "filename": "guacamol-0.3.1.tar.gz", "has_sig": false, "md5_digest": "8e463bd4ed208c9eb2746031fb0a56fc", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 27508, "upload_time": "2018-11-28T09:48:01", "url": "https://files.pythonhosted.org/packages/47/a8/a5cae81e340442daeddc59ee51044f9cd4fc066b45fafd3e343ba6d1cd30/guacamol-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "ad4077ed8ba3271ee81af2a933724f8e", "sha256": "320a4e4d30319da459f5ab4dd89446042ebee6448190eaa2acd831d0a1113689" }, "downloads": -1, "filename": "guacamol-0.3.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ad4077ed8ba3271ee81af2a933724f8e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 35544, "upload_time": "2018-12-05T16:56:38", "url": "https://files.pythonhosted.org/packages/20/ad/d9c69eca992f80877873f6743411541aa58ff695804fbcd51d225e9e07dc/guacamol-0.3.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "af11750cdf16c8f30e033d8324005b16", "sha256": "88b83ca2cf465984783b22d54b61d0b04a372a8a700949d038f5e0343d193148" }, "downloads": -1, "filename": "guacamol-0.3.2.tar.gz", "has_sig": false, "md5_digest": "af11750cdf16c8f30e033d8324005b16", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 28044, "upload_time": "2018-12-05T16:56:41", "url": "https://files.pythonhosted.org/packages/85/3c/3a2390e100375cd5db6065e79e25e6a926bb34f0ee5cd862e00814e35900/guacamol-0.3.2.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "73478cb8dae455e4f3657c8745339d32", "sha256": "eb9e6f3baa0cd7f1e142e1466554291a3e01968c3415f55ac207fc462106c448" }, "downloads": -1, "filename": "guacamol-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "73478cb8dae455e4f3657c8745339d32", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 37924, "upload_time": "2019-02-01T17:16:53", "url": "https://files.pythonhosted.org/packages/db/5f/fb402d9fb3a63bc5c7f32949a7e00cc2494470f29a43a74088bd58a36a77/guacamol-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f004a0948120709d82fdd0113ac2854f", "sha256": "aa596db94a032dacdab2c856d9095db0a3c2bc5f2e4e9909b52e2f0b63fc4b0c" }, "downloads": -1, "filename": "guacamol-0.5.0.tar.gz", "has_sig": false, "md5_digest": "f004a0948120709d82fdd0113ac2854f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 30422, "upload_time": "2019-02-01T17:16:56", "url": "https://files.pythonhosted.org/packages/68/34/d98c8f5a8d2aee3c2922886f1eca99e31bcb990457c41cba18e6becb8747/guacamol-0.5.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "73478cb8dae455e4f3657c8745339d32", "sha256": "eb9e6f3baa0cd7f1e142e1466554291a3e01968c3415f55ac207fc462106c448" }, "downloads": -1, "filename": "guacamol-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "73478cb8dae455e4f3657c8745339d32", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 37924, "upload_time": "2019-02-01T17:16:53", "url": "https://files.pythonhosted.org/packages/db/5f/fb402d9fb3a63bc5c7f32949a7e00cc2494470f29a43a74088bd58a36a77/guacamol-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f004a0948120709d82fdd0113ac2854f", "sha256": "aa596db94a032dacdab2c856d9095db0a3c2bc5f2e4e9909b52e2f0b63fc4b0c" }, "downloads": -1, "filename": "guacamol-0.5.0.tar.gz", "has_sig": false, "md5_digest": "f004a0948120709d82fdd0113ac2854f", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 30422, "upload_time": "2019-02-01T17:16:56", "url": "https://files.pythonhosted.org/packages/68/34/d98c8f5a8d2aee3c2922886f1eca99e31bcb990457c41cba18e6becb8747/guacamol-0.5.0.tar.gz" } ] }