© Bienfait and Ertl; licensee Chemistry Central Ltd. 2013
Received: 20 March 2013
Accepted: 16 May 2013
Published: 21 May 2013
A program for the input and editing of molecules is an indispensable part of every cheminformatics or molecular processing system. Such a program is known as a molecule editor, molecular editor or structure sketcher. Its function is to facilitate entry of molecules or reactions into a computer with help of mouse and keyboard actions, and recently also by using a touch screen. Molecule editors are used to create chemical illustrations or as tools to draw queries when searching chemical databases or entering molecules when calculating various molecular properties.
One of the most important areas where the interactive molecule structure input is needed is molecule editing within web browsers. The World Wide Web, introduced originally as a medium for the exchange of scientific information, is affecting in meantime practically all aspects of our life, but scientific and technical applications still benefit proportionally more from the web technology. Scientific computing is moving more and more in the direction of web services and cloud computing, with servers scattered all around the Internet, and the web browser is becoming the universal scientific user interface. Chemistry is no exception from this trend and input of molecular structures directly within a web browser is therefore of utmost importance.
JSME molecule editor development
In addition to desktop computers running Windows, OS X and Linux operating systems, JSME has been tested also on several touch devices including Apple’s iPhone and iPad and Android smartphones and tablets. Practically all JSME editing features are fully supported (with exception of molecule rotation on Android devices), showing that JSME may be used to edit molecules on many modern smartphones and tablets.
The quality of the graphical display of JSME is browser dependent. On the Internet Explorer versions 6, 7 and 8 (using the VML) when line antialiasing is turned off, the depiction of structures is almost identical to the original Java implementation. Surprisingly, the Google Chrome (tested on version 25 and earlier) provides the worse display quality, where some bonds with a particular angle are not visible when antialiasing is not used. Generally SVG implementation in many browsers seems to have difficulties to render nicely one pixel thick lines without antialiasing. To fine tune the molecule display JSME provides options to change the line thickness of the molecular drawing area and to turn antialiasing on or off.
Results and discussion
JSME molecule editor features
The JSME editor can communicate with other elements on the HTML page via its public functions. These functions are used, among others, to retrieve created molecules, change the editor appearance or programmatically display new molecules. Detailed description of JSME functions is available on-line in the JSME documentation page .
Availability and requirements
The editor is available for download from the JSME Home Page http://peter-ertl.com/jsme/.
The authors would like to thank Markus Sitzmann, Oliver Sacher and Luc Patiny for testing the development version of JSME and for helpful comments and suggestions.
- Ertl P: Molecular structure input on the Web. J Cheminf. 2010, 2: 1-10.1186/1758-2946-2-1.View ArticleGoogle Scholar
- ChemDoodle 2D Sketcher. http://web.chemdoodle.com/demos/sketcher,
- ChemWriter: http://metamolecular.com/chemwriter/,
- Elemental: http://www.dotmatics.com/products/elemental/,
- JSDraw: http://www.scilligence.com/Web/JSDraw.aspx,
- jsMolEditor: https://github.com/chemhack/jsmoleditor/,
- Ketcher: http://ggasoftware.com/opensource/ketcher,
- VectorMol: http://sciformation.com/vectormol.html,
- JSmol: http://chemapps.stolaf.edu/jmol/jsmol/test2.htm,
- JME Molecule Editor. http://www.molinspiration.com/jme/,
- Ertl P, Muehlbacher J, Rohde B, Selzer P: Web-based cheminformatics and molecular property prediction tools supporting drug design and development at Novartis. SAR QSAR Env Res. 2003, 14: 321-328. 10.1080/10629360310001673917.View ArticleGoogle Scholar
- GWT - Google Web Toolkit: https://developers.google.com/web-toolkit/,
- The Eclipse Foundation: http://www.eclipse.org,
- Apache Harmony: http://harmony.apache.org/,
- GWT Mosaic: http://code.google.com/p/gwt-mosaic/,
- Briggs K, Cases M, Heard DJ, Pastor M, Pognan F, Sanz F, Schwab CH, Steger-Hartmann T, Sutter A, Watson DK, Wichard JD: Inroads to predict in vivo toxicology—an introduction to the eTOX project. Int J Mol Sci. 2012, 13: 3820-3846. 10.3390/ijms13033820.View ArticleGoogle Scholar
- SMILES - A Simplified Chemical Language: http://www.daylight.com/dayhtml/doc/theory/theory.smiles.html,
- Chemical Table File: http://en.wikipedia.org/wiki/MDL_molfile,
- SMARTS - A Language for Describing Molecular Patterns: http://www.daylight.com/dayhtml/doc/theory/theory.smarts.html,
- SMIRKS - A Reaction Transform Language: http://www.daylight.com/dayhtml/doc/theory/theory.smirks.html,
- JSME Homepage: http://peter-ertl.com/jsme/,
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.