.. image:: https://img.shields.io/pypi/status/chembl_beaker.svg :target: https://pypi.python.org/pypi/chembl_beaker/ :alt: Development Status
.. image:: https://img.shields.io/pypi/l/chembl_beaker.svg :target: https://pypi.python.org/pypi/chembl_beaker/ :alt: License
This is chembl_beaker package developed at ChEMBL <https://www.ebi.ac.uk/chembl/>_ group, EMBL-EBI <https://www.ebi.ac.uk/>_, Cambridge, UK.
This is wrapper for RDKit <http://www.rdkit.org/>_ which exposes following methods:
Format convertion <https://github.com/chembl/chembl_beaker/blob/master/src/chembl_beaker/beaker/core_apps/conversions/views.py>_Vector image (SVG) generation, including Similarity Maps <https://github.com/chembl/chembl_beaker/blob/master/src/chembl_beaker/beaker/core_apps/svgImages/views.py>_Descriptors <https://github.com/chembl/chembl_beaker/blob/master/src/chembl_beaker/beaker/core_apps/descriptors/views.py>_Maximum Common Substructure <https://github.com/chembl/chembl_beaker/blob/master/src/chembl_beaker/beaker/core_apps/mcs/views.py>_Structural alerts <https://github.com/chembl/chembl_beaker/blob/master/src/chembl_beaker/beaker/core_apps/structuralAlerts/views.py>_ChEMBL Structure Pipeline <https://github.com/chembl/ChEMBL_Structure_Pipeline>_webservices <https://marvin4js.chemaxon.com/marvin4js-latest/docs/dev/webservices.html>_As a portable, lightweight, CORS <https://en.wikipedia.org/wiki/Cross-origin_resource_sharing>-ready, REST <https://en.wikipedia.org/wiki/Representational_state_transfer>-speaking, SPORE <https://github.com/SPORE/specifications>-documented webserver. This particular implementation wraps RDKit in Bottle <http://bottlepy.org/docs/dev/> on Tornado <http://www.tornadoweb.org/en/stable/>_.
It can be used as web service backend for Marvin For Java Script <http://www.chemaxon.com/products/marvin/marvin-for-javascript/>_ as it exposes methods compatible with it's webservice specification <https://marvinjs-demo.chemaxon.com/latest/docs/dev/webservices.html>_.
To do this you need to configure marvin sketcher instance:
::
marvin.sketcherInstance = new marvin.Sketch("sketch");
marvin.sketcherInstance.setServices(getDefaultServices({
'clean2dws' : <url of Beaker clean webservice>,
'molconvertws' : <url of Beaker molExport webservice>,
"stereoinfows" : <url of Beaker cipStereoInfo>
}));
The best way is to use Docker::
docker run -p 5000:5000 chembl/beaker
open http://127.0.0.1:5000/docs
By default configuration is stored in beaker.conf file, located in current directory. You can specify location of
configuration file using --config (-c) parameter when running beaker. Configuration file format is standard *.ini.
Beaker is distributed with example configuration file named beaker.conf.sample.
True)8080)localhost)tornado)True)*)GET, POST, PUT, OPTIONS)Like every good software written in Python, beaker is self-documented. When you run beaker, open your browser and go to URL: BEAKER_ROOT/docs. You will see live documentation genrated on the fly from all available webservices, exposed by beaker. You can immediately try them and see results return by the server. Every webservice should be documented - documentation is generated automatically as well, from docstring of every exposed webservice, interpreted as markdown.
Developing new app should be easy. The only required file is views.py where you should define your botte routes.
Content type
Image
Digest
Size
1.2 GB
Last updated
about 5 years ago
docker pull chembl/beaker