Abstract

BackgroundA molecule editor, i.e. a program facilitating graphical input and interactive editing of molecules, is an indispensable part of every cheminformatics or molecular processing system. Today, when a web browser has become the universal scientific user interface, a tool to edit molecules directly within the web browser is essential. One of the most popular tools for molecular structure input on the web is the JME applet. Since its release nearly 15 years ago, however the web environment has changed and Java applets are facing increasing implementation hurdles due to their maintenance and support requirements, as well as security issues. This prompted us to update the JME editor and port it to a modern Internet programming language - JavaScript.SummaryThe actual molecule editing Java code of the JME editor was translated into JavaScript with help of the Google Web Toolkit compiler and a custom library that emulates a subset of the GUI features of the Java runtime environment. In this process, the editor was enhanced by additional functionalities including a substituent menu, copy/paste, drag and drop and undo/redo capabilities and an integrated help. In addition to desktop computers, the editor supports molecule editing on touch devices, including iPhone, iPad and Android phones and tablets. In analogy to JME the new editor is named JSME. This new molecule editor is compact, easy to use and easy to incorporate into web pages.ConclusionsA free molecule editor written in JavaScript was developed and is released under the terms of permissive BSD license. The editor is compatible with JME, has practically the same user interface as well as the web application programming interface. The JSME editor is available for download from the project web page http://peter-ertl.com/jsme/

Highlights

  • A molecule editor, i.e. a program facilitating graphical input and interactive editing of molecules, is an indispensable part of every cheminformatics or molecular processing system

  • A free molecule editor written in JavaScript was developed and is released under the terms of permissive BSD license

  • The JSME editor is available for download from the project web page http://peter-ertl.com/jsme/

Read more

Summary

Conclusions

We described development and the capabilities of JSME, a free molecule editor written in JavaScript. SMILES - A Simplified Chemical Language: http://www.daylight.com/ dayhtml/doc/theory/theory.smiles.html. SMIRKS - A Reaction Transform Language: http://www.daylight.com/ dayhtml/doc/theory/theory.smirks.html. Doi:10.1186/1758-2946-5-24 Cite this article as: Bienfait and Ertl: JSME: a free molecule editor in JavaScript. Availability and requirements The editor is available for download from the JSME Home Page http://peter-ertl.com/jsme/. Authors’ contributions PE has written the original JME program and modified its Java code to support the translation to JavaScript. BB modified the original Java code, implemented several additional features, did the actual translation to JavaScript and has developed the JSApplet library used in the translation.

Background
Results and discussion
Ertl P
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call