ArticlePDF Available

Abstract and Figures

Although Java does not run on some handheld devices, e.g., iPads and iPhones, JavaScript does. The development of JSmol, a JavaScript-only version of Jmol, is described, and its use in Proteopedia is demonstrated. A key aspect of JSmol is that it includes the full implementation of the entire set of Jmol functionalities, including file reading and writing, scripting, and rendering. The relative performances of Java-based Jmol and JavaScript-only JSmol are discussed. We can now confirm that the guiding principles of Java programming can be completely and relatively straightforwardly transformed directly into JavaScript, requiring no Java applet, and producing identical graphical results. JSmol is thus the first full-featured molecular viewer, and the first ever viewer for proteins, which can be utilized with an internet browser on handheld devices lacking Java. Since the MediaWiki features of Proteopedia have been modified to optionally use JSmol, the wealth of crowd-sourced content in Proteopedia is now directly available on such devices, without the need to download any additional applet.
Content may be subject to copyright.
DOI: 10.1002/ijch.201300024
JSmol and the Next-Generation Web-Based
Representation of 3D Molecular Structure as Applied to
Proteopedia
Robert M. Hanson,[a] Jaime Prilusky,[b] Zhou Renjian,[c] Takanori Nakane,[d] and Joel L. Sussman*[e]
Communicating Science Widely
There is a great need to improve the communication of
scientific concepts at all levels, so as to generate a passion
for science in the next generation, as well as to increase
the public understanding of science. Proteopedia[1–3] was
developed to tackle this issue via a novel approach. The
novelty of Proteopedia lies in the implementation of
a wiki web resource that presents information on the 3D
structure and function of biological macromolecules
(Figure 1) as a way of showing the principles of structural
biology to a broad audience. This includes a wide range
of web users, from high school students to medical school
students, from educators looking for a way to engage
their students in molecular structure to scientists doing
basic and applied research, as well as the general public.
Structural biology is concerned with accumulating
structural information at the atomic level for proteins, nu-
cleic acids, and other biological macromolecules. Such de-
tailed information can then be utilized to understand how
these macromolecules function, and how they recognize
other molecules with which they interact. However, bio-
logical macromolecules contain many thousands of atoms
and, even when displayed on a computer screen as high-
quality 3D representations, are often very difficult to
fathom, even for a trained biochemist, let alone for a clini-
cian, a layman, or a high school student.
Proteopedia was constructed with the specific objective
of providing a user-friendly tool that would enable under-
[a] R. M. Hanson+
St. Olaf College
Dept. of Chemistry
Northfield, MN 55057 (USA)
[b] J. Prilusky+
Bioinformatics Unit
Biological Services
Weizmann Institute of Science
Rehovot 76100 (Israel)
[c] Z. Renjian
Room 202, Building 38
Nianjiabang Road 425
Zhoupu Town, Pudong District
Shanghai 201318 (China)
[d] T. Nakane
Dept. of Cell Biology
Graduate School of Medicine
Kyoto University
Yoshidakonoe-cho, Sakyo-ku
Kyoto 606-8501 (Japan)
[e] J. L. Sussman
Dept. of Structural Biology and the Israel Structural Proteomics
Center
Weizmann Institute of Science
Rehovot 76100 (Israel)
phone +972-8-934-4531
fax: +972-8-934-6312
e-mail: joel.sussman@weizmann.ac.il
[
+
] R. M. H. and J. P. made equal contribution to this paper.
Abstract: Although Java does not run on some handheld de-
vices, e.g., iPads and iPhones, JavaScript does. The develop-
ment of JSmol, a JavaScript-only version of Jmol, is de-
scribed, and its use in Proteopedia is demonstrated. A key
aspect of JSmol is that it includes the full implementation of
the entire set of Jmol functionalities, including file reading
and writing, scripting, and rendering. The relative perform-
ances of Java-based Jmol and JavaScript-only JSmol are dis-
cussed. We can now confirm that the guiding principles of
Java programming can be completely and relatively straight-
forwardly transformed directly into JavaScript, requiring no
Java applet, and producing identical graphical results. JSmol
is thus the first full-featured molecular viewer, and the first
ever viewer for proteins, which can be utilized with an inter-
net browser on handheld devices lacking Java. Since the Me-
diaWiki features of Proteopedia have been modified to op-
tionally use JSmol, the wealth of crowd-sourced content in
Proteopedia is now directly available on such devices, with-
out the need to download any additional applet.
Keywords: bioinformatics ·databases ·Java ·JavaScript ·Proteopedia
Isr. J. Chem. 2013, 53, 207 – 216 2013 Wiley-VCH Verlag GmbH & Co. KGaA, Weinheim 207
Review
graduates, graduate students, scientists, and clinical inves-
tigators, amongst others, to understand such complex
macromolecular structures and how they function as mi-
croscopic bio-nano machines. It has not escaped our
notice that the development of such a tool for structural
biology might serve as a paradigm for developing similar
tools for other disciplines, such as astronomy, neuroanato-
my, architecture, and paleontology.
Structural biology has played a cutting edge role in the
immense progress of life science research over the past 60
years. There have been more than a dozen Nobel Prizes
in structural biology since the early 1950s, when Watson
and Crick[4] determined the 3D structure of the DNA
double helix (Figure 2a). Understanding the basic mecha-
nisms of how protein and nucleic acid molecules function
is crucial for biology. For example, without structural in-
sight (Figure 2b), it is impossible to comprehend how the
ribosome (the nano-machine that synthesizes all proteins
Robert Hanson is the Edolph A. Larson
and Truman E. Anderson Sr. Chair of
Chemistry and currently serves as chair
of the St. Olaf College Chemistry Dept.
He joined the St. Olaf faculty in 1986
after earning a B. S. from Caltech,
a PhD from Columbia University, and
completing postdoctoral work at MIT.
Over the course of his career, Hanson
has been the recipient of many awards
and grants from organizations that in-
clude the NSF, NIH, the ACS, DuPont,
Eli Lilly, and the W. M. Keck Founda-
tion. Hanson has published numerous articles in the areas of
chemistry, material science, informatics, and mathematics, as well
as two books: Molecular Origami: Precision Scale Models from Paper
and Introduction to Molecular Thermodynamics. He is the co-inventor
on one patent titled Catalytic Asymmetric Epoxidation (with K. Barry
Sharpless, who received the Nobel Prize in Chemistry in 2001).
Since 2006 Hanson has been the project leader and principal devel-
oper for the Jmol Molecular Visualization Project, a global open-
source interdisciplinary effort to develop novel web-based capabili-
ties for the visualization of molecular structure and energetics. Ap-
plicable in a wide range of fields, the Jmol applet can be found on
thousands of websites, including the PDB and Proteopedia. In 2010
Jmol became part of an exhibit on nanotechnology in the Innoven-
tions pavilion at the Walt Disney Epcot theme park, where more
than 300,000 visitors have interacted with it. He also developed the
Interim course Medicinal Chemistry in Jamaica: An International
Perspective, which brings students to the University of the West
Indies in Kingston, Jamaica, every other year for an in-depth look
into how drugs work and how they are designed and developed,
with a particular focus on the interactions of culture, traditional
healing, and pharmaceutical medicine. Prof. Hanson may be
reached at hansonr@stolaf.edu.
Jaime Prilusky is the Head of the Bioin-
formatics Unit at the Weizmann Insti-
tute of Science in Rehovot, Israel. He
received his PhD in neuroendocrinolo-
gy from the National University of Cor-
doba, Argentina in 1974, and was a full
professor at the National Technological
University in Argentina before joining
the Weizmann Institute in 1989. An
early online pioneer in bioinformatics,
Jaime developed the first web interface
to search and retrieve PDB data, called
3DB, and founded BioMOO (a virtual
meeting place for biologists). In addition to Proteopedia his proj-
ects include OCA (oca.weizmann.ac.il), a browser-database for pro-
tein structure/function and GeneCards (www.genecards.org), an
electronic encyclopedia integrating information about the functions
of human genes and their products, and of biomedical applications
based on this knowledge. For more, see http://miw.weizmann.ac.il.
Most recently he, together with Joel Sussman & Eran Hodis, has de-
veloped Proteopedia, the free, collaborative 3D encyclopedia of pro-
teins & other molecules (http://proteopedia.org). Prof. Prilusky may
be reached at Jaime.Prilusky@weizmann.ac.il.
Zhou Renjian earned his B. S. in Math-
ematics at Shanghai Jiao Tong Univer-
sity. He worked as a software engineer
for IDSignet, Primeton, and Koretide,
doing research and development in
digital signatures, enterprise software
platforms, and computer operating sys-
tems. He created the open source proj-
ect Java2Script, providing an Eclipse
plugin for converting existing Java code
into JavaScript. He also developed and
operated WeBuzz.IM service, providing
web messengers for users to connect
with their friends on popular instant messaging networks, such as
Gtalk, MSN, YMSG, and AIM. Recently, he co-founded Coco Voice
with Guo Lei, an app for iOS and Android devices, helping people
to send text, voice, and pictures to their friends. Mr. Renjian may be
reached at zhourenjian@gmail.com.
Takanori Nakane graduated from Kyoto
Universitys School of Medicine in
2010. After passing Japans national
board exam and qualifying as a medical
doctor, Nakane decided to enter a four-
year PhD course in X-ray crystallogra-
phy at Kyoto University instead of clini-
cal practice. While working on “wet”
experiments, he realized that he is
more attracted to “dry” (computation-
al) aspects of science. Over the last
two years, Nakane has been developing
molecular viewers for web browsers
and mobile devices, including the NDKMol molecular viewer that
has been incorporated with the RCSB PDB Mobile app. Nakane
also contributes to several open-source projects, including PyMOL
and Jmol. Visit http://webglmol.sourceforge.jp to download Na-
kanes GLmol (Molecular viewer on WebGL/Javascript) and ESmol
& NDKmol (Molecular viewer for Android). Dr. Nakane may be
reached at nakane.t@gmail.com.
208 www.ijc.wiley-vch.de 2013 Wiley-VCH Verlag GmbH & Co. KGaA, Weinheim Isr. J. Chem. 2013, 53, 207 – 216
Review
J. L. Sussman et al.
in all living systems) works. Structural information is also
crucial for understanding how regulatory proteins turn
genes on and off, by recognizing specific regions of DNA
(Figure 2c).
Proteopedia has been used particularly successfully in
conjugation with SMART Teams (“Students Modeling A
Research Topic” [http://proteopedia.org/w/Group:
SMART:Teams], a project developed by Dr. Timothy
Herman, Milwaukee School of Engineering). Within the
SMART framework, the students, together with their
mentors, e.g., professors and/or graduate or undergradu-
ate students at nearby universities, design and build phys-
ical models of proteins. They then make an oral presenta-
tion explaining their work to a lay audience, and prepare
a poster that is presented to a scientific audience. Follow-
ing this, a number of such teams have also produced Pro-
teopedia pages, some of which are spectacular. A striking
example of one such Proteopedia page is “A Physical
Model of the b2-Adrenergic Receptor.” This was one of
the first examples of a SMART Team Proteopedia page,
and it is a model of just how well high school students
can communicate the essence of the relationship of the
3D structure of a protein to its function (Figure 3).
Proteopedia also enables users to supplement their sci-
entific publications with Interactive 3D Comple-
ments (I3DCs) (http://proteopedia.org/w/Interactive_3D_
Complements_in_Proteopedia). A new “Workbench” fea-
ture (http://proteopedia.org/w/Workbenches), intended
expressly for the creation of articles complementing up-
coming scientific publications, allows authors to hide their
protected article during its development. These hidden
pages may be made accessible for viewing and editing by
co-authors, referees and editors, and can quickly be made
public upon publication of the accompanying paper. Such
I3DCs for publications have already been used effectively
(Figure 4). Already 65 such I3DCs, associated with arti-
cles published in 12 different journals, have been generat-
ed (http://proteopedia.org/w/Special:SpecialI3DC).
Interactive Molecular Visualization
Proteopedias unique character hinges on the fact that it
allows a relative novice to create a story around an inter-
active molecular visualization that the reader can then ex-
plore on his or her own, or with a variable amount of
guidance. This capability has been made possible by
a rich history of technological developments. Over the
course of the last 50 years, the interactive 3D representa-
tion of molecular structures has changed dramatically.
From Levinthals Kluge[5,6] (Figure 5) to current capabili-
ties, we have seen an enormous transition from graphics
intended for private viewing on specialized main-frame
computers, to graphics that run on literally billions of per-
sonal hand-held devices. With the advent of the web, and
the development of the Chime plug-in in the 1990s, chem-
ists,[7] biochemists, and molecular biologists finally ob-
tained a means of communicating their research results
and teaching lessons that related to molecular structure
in an interactive form. Chimes nature as a Netscape
browser plug-in was both its strength and its downfall.
While it made interactive structure manipulation widely
available, it was not compatible with newer technologies,
and had to be abandoned.
One of these newer technologies was Java, introduced
into browsers as its own Netscape plug-in in 1995.[8] For
roughly two decades, Java has served the web community
as a ubiquitous mechanism for delivering interactive web-
based content. Capitalizing on the widespread availability
of Java, the developers of Jmol found ways to deliver es-
sentially all of the capabilities of RasMol and Chime,
along with many additional capabilities that crossed into
additional scientific fields, such as inorganic chemistry,
crystallography, and materials science. To date, hundreds,
if not thousands, of web sitesfar too many to list here
utilize the Jmol Java applet (Figure 6) to enhance their
content and provide an interactive visitor experience.
Joel L. Sussman is the Morton and
Gladys Pickman Professor of Structural
Biology at the Weizmann Institute of
Science, and the Director of the Israel
Structural Proteomics Center (ISPC,
http://www.weizmann.ac.il/ISPC). He
is a member of EMBO, a Fellow of the
AAAS, on the Executive Board of the
Int’l Structural Genomics Org (ISGO)
and on the editorial board of Proteins,
PEDS &PLoS ONE. He is an Honorary
Professor of the Chinese Academy of
Sciences, received the Bergmann Prize
for Outstanding Research in Chemistry in Israel (1979), the U.S.
Army Science Conference Award for Outstanding Research (1991),
the Elkeles Prize for Outstanding Scientist in Medicine in Israel
(2005) and the Teva Founders Prize for Breakthroughs in Molecular
Medicine (2006). From 1994 to 1999 he was the director of the
Brookhaven PDB. He obtained his B. A. at Cornell University in
1965, and his PhD in biophysics at MIT in 1972. His research
group, at the Weizmann, is studying the 3D structure/function of
nervous system proteins, including b-secretase, acetylcholinester-
ase, cholinesterase-like adhesion molecules (CLAMs), b-glucosidase
(the enzyme that is defective in Gaucher disease) and paraoxonase
(a key enzyme that helps rid the arteries of plaque-forming clumps
of LDL, “bad” cholesterol, that can lead to arteriosclerosis). The
goal of his research is to use the 3D structures of proteins as
a basis for new leads for treating neurological disorders, such as
Alzheimers Disease, autism, and in developing new therapies for
Gaucher and arteriosclerosis. He is also studying intrinsically disor-
dered proteins. Most recently he, together with Jaime Prilusky &
Eran Hodis, has developed Proteopedia, the free, collaborative 3D
encyclopedia of proteins and other molecules (http://proteopedia.
org).
Isr. J. Chem. 2013, 53, 207 – 216 2013 Wiley-VCH Verlag GmbH & Co. KGaA, Weinheim www.ijc.wiley-vch.de 209
Web-Based 3D Molecular Structure
Creating Value
The key to Jmols success and wide acceptance by the
web development community has been the way it, like its
predecessor Chime, has enabled a completely new type of
“developer” to create value. Whereas traditional 3D soft-
ware development (still) involves a software developer
(usually a professional engineering team or a motivated
computer-savvy amateur) and a user (often a well-trained,
experienced scientist), these web-based tools are differ-
ent. The Jmol[3] software designers are programmers in
the traditional sense. The ultimate users of these tools,
however, are true novices, who have, most probably, abso-
lutely no experience in running 3D software tools. In-
stead, they are simply visitors to web sitesstudents, non-
scientists, and professional scientists alike. What lies in
between these two constituents is what makes Jmol so in-
teresting: a large group of web page designers, mostly
amateurs in the programming world, including scientists
and educators who have learned a bit of JavaScript and
HTML and are able to express their creativity in the
form of web sites. In effect, the Jmol applet provides
a blank slate upon which molecularly minded scientists in
a wide variety of fields can create customized visual por-
tals into their worlds. The “value-added” nature of Jmol
includes a rich high-level scripting language with nearly
1,000 semantic tokens embedded in a fully functional,
mathematically based programming language that permits
the sophisticated manipulation of molecular “objects.
On top of that, Jmols user-developers have designed
a JavaScript library that makes customization exception-
ally easy.
Due to the flexibility and wide-ranging capabilities of
Jmol, the crowd-sourcing of web page content creation to
this group of dedicated “Jmol users” (in effect, web page
developers) has been enormously productive over the
past 5–10 years. Pages range from very simple to highly
complex, and from displays of just one molecule to full
web-based applications, e.g., Proteopedia, First Glance,[9]
the CheMagic Virtual Molecular Model Kit,[10] and many
others.
The Java Dilemma
Recently, however, between Apples decision not to allow
Java on their iOS platform and the Java browser plug-in
coming under fire as a possible security risk,[11] we find
ourselves once more at a technology cusp. No longer is
the Java plug-in ubiquitous. As a consequence, as technol-
Figure 1. The hemoglobin page in Proteopedia (http://proteopedia.org/w/Hemoglobin), a typical Proteopedia page. It displays the red
blood cell protein, hemoglobin, in the center, surrounded by representations of individual 3D images of functional parts of the protein,
which are displayed as the viewer clicks on a particular highlighted hyperlink in the explanatory text.
210 www.ijc.wiley-vch.de 2013 Wiley-VCH Verlag GmbH & Co. KGaA, Weinheim Isr. J. Chem. 2013, 53, 207 – 216
Review
J. L. Sussman et al.
Figure 2. Important biomacromolecules as represented in Proteopedia. (a) Forms of DNA; showing 3D models of A-, B-, and Z-DNA that
can be synchronized to illustrate differences between them (by Adithya Sagar, a visiting student at the Weizmann Institute of Science from
the India Institute of Technology ;[22] http://proteopedia.org/w/Forms_of_DNA). (b) Large ribosomal subunit (by Dr. Wayne Decatur, postdoc-
toral fellow at University of New Hampshire;[23] http://proteopedia.org/w/Large_Ribosomal_Subunit_of_Haloarcula). (c) Structure of a com-
plex of a regulatory protein with its gene (by Prof. Eric Martz at University of Massachusetts; http://proteopedia.org/w/Lac_repressor).
Isr. J. Chem. 2013, 53, 207 – 216 2013 Wiley-VCH Verlag GmbH & Co. KGaA, Weinheim www.ijc.wiley-vch.de 211
Web-Based 3D Molecular Structure
Figure 3. Proteopedia use in pedagogy. Proteopedia page: “A Physical Model of the b2-Adrenergic Receptor” (http ://proteopedia.org/w/
Group:SMART:A_Physical_Model_of_the_b2-Adrenergic_Receptor) authored by the Madison West High School SMART team. To the right of
the interactive 3D structure is a movie that the SMART team created and uploaded, which uses a physical model of the receptor to explain
its structure and function.
Figure 4. Example of an I3DC (http://proteopedia.org/w/Journal :Cell :1) for a recent paper on interferon, published in Cell.[24]
212 www.ijc.wiley-vch.de 2013 Wiley-VCH Verlag GmbH & Co. KGaA, Weinheim Isr. J. Chem. 2013, 53, 207 – 216
Review
J. L. Sussman et al.
ogy advances, web applications, such as Proteopedia, are
at risk of losing their audience. This time it is Java that is
losing its hold, and the new technology is HTML5.[12]
Combined with WebGL[13] (a browser-based version of
OpenGL[14]), HTML5 allows reasonable speed in render-
ing complex 3D graphical scenes. Now available in all sig-
nificant browsers, HTML5 holds the promise of deliver-
ing 3D molecular content without Java. However,
WebGL is not generally available on mobile operating
systems (most notably not on iOS or Android).
Will HTML5 indeed serve as a suitable replacement
for Java, in terms of the interactive graphical representa-
tion of molecular structure on the web? This was the
question that we, as Jmol and Proteopedia developers,
posed in the fall of 2012. The fear was that we would
have to start all over again, as some bold developers have
attempted to do, e.g., iChemLabs.[15] However, such an
option seemed extremely daunting for such a feature-
filled program as Jmol and such a complex application as
Proteopedia. Nonetheless, the decision was made to ex-
plore the possibility of using HTML5, with or without
WebGL, and the results of that exploration are presented
here.
Java-less Jmol?
The fact that Jmol is written in Java suggests that perhaps
its run is over, that it needs to give way to a new genera-
tion of technology. However, there are two important as-
pects of Jmol that suggest that this might not be necessa-
ry. First, Jmol is written in a highly modularized style of
Java programming. From the start, it was recognized that
success on the web involves targeted downloads, allowing
only the parts necessary for a given application to be
downloaded, and the program to be delivered incremen-
tally. This modularization might easily be transferable
into JavaScript,[16] allowing, again, targeted download of
Jmol features on a need-to-use basis. Second, Jmol has
been developed in a truly unusual way, utilizing absolute-
ly no external 3D graphics packages. Every pixel that
a user sees as a model is manipulated in a Jmol rendering,
and is created on the fly, using exceptionally efficient ras-
tering techniques. This allows Jmol (in whatever program-
ming language) to be completely independent of the com-
puter/tablet operating system employed, and allows it to
be the first full-featured molecular viewer for web brows-
ers to become available on Apples iPad.
We can now confirm that these guiding principles of
Java programming can be completely and relatively
straightforwardly transformed directly into JavaScript, re-
quiring no Java applet, and producing identical graphical
results. Thus, over the course of the past six months, we
have been able to completely recreate Jmol in pure Java-
Script, in the form we now refer to as JSmol.[17] Key to
this development has been the use and co-development
of the Java2Script Eclipse Plug-In,[18] a remarkable piece
of software that allows “compiling” of Java code directly
into JavaScript. A huge benefit of using Java2Script has
been that Jmol development can still be done in Java,
producing all the Java compiled versions (Jmol desktop
application, JmolData server application, and the signed
and unsigned Jmol applets), just as before. A few simple
steps within the Eclipse programming environment com-
pile that code into JavaScript.
Substantial optimization of the Jmol Java code, of the
portions of the Java language utilized by Jmol, and of the
compiler itself, was necessary to achieve this success.
Many routine Java techniques (such as the overriding of
methods by sub-classing or the overloading of methods
by using multiple “signatures”) must be completely avoid-
Figure 5. Image of the Kluge, one of the earliest (if not the earli-
est) molecular graphics systems, which was developed by Cyrus
Levinthal at MIT in the early 1960s. The computer was a Digital
Equipment Corp. (DEC) PDB-7, and the glass hemisphere was
a powerful interactive device that permitted rotation in three di-
mensions.
Figure 6. Examples of the broad range of visualizations possible
with Jmol/JSmol, including a small molecule with molecular orbi-
tals, a biomolecule with surfaces, and a PyMOL session.
Isr. J. Chem. 2013, 53, 207 – 216 2013 Wiley-VCH Verlag GmbH & Co. KGaA, Weinheim www.ijc.wiley-vch.de 213
Web-Based 3D Molecular Structure
ed in critical code sections. Needless to say, a substantial
amount of experimentation was necessary. In the end,
however, the results achieved are impressive: A fully
functional JavaScript-only version of Jmol now runs on
all modern browsers, including Internet Explorer, Firefox,
Safari, Chrome, and Opera, and on all platforms tested,
including Windows, Linux, Apple OS X, and Apple iOS.
A comparison of Jmol and JSmol is provided in
Table 1. Not surprisingly, Jmol is more compact than
JSmol, by a factor of ~2–3. Much of this difference is due
to the fact that the Java language library is already pres-
ent on the client machine, in the form of a Java plug-in,
and that the Java code is in a binary format. In contrast,
when a page utilizing JSmol is accessed, the required
components of the Java language, translated into non-
binary JavaScript, must be downloaded in full. In both
cases, however, files are cached, and subsequent page
views are far faster than the first viewing.
Performance with small molecules is very similar in the
two versions, but clearly JavaScript does not scale at the
same rate as Java. Todays JavaScript lacks many of the
basic features of Java, including integer and bit set data
types, both of which are widely used in Jmol/JSmol.
These types have to be “faked” in JavaScript using
double-precision numbers, leading to performance issues.
Developers of different browsers have optimized their
JavaScript implementations in different ways and to dif-
ferent extents, resulting in significant performance differ-
ences between browsers. The end result is that model pro-
duction can take significantly more time in JavaScript,
and, for large systems, model rotation may seem some-
what sluggish in comparison to Jmol.
JSmol with WebGL
The above discussion relates to the pure HTML5 version
of JSmol, which uses a 2D-only canvas to render scenes.
We have also been experimenting with WebGL, which
allows for hardware acceleration of 3D rendering similar
to OpenGL. Our efforts have not been as advanced in
this area, partially because writing WebGL export drivers
for Jmol is somewhat more complicated than a direct
translation of Java into JavaScript. Our starting point in
this effort has been GLmol,[19] a web-based viewer that
was developed by one of us (TN). The fact that Apple
has also disabled WebGL in its browser for the iPad has
slowed this development somewhat. Nonetheless,
WebGL-based versions of JSmol could potentially pro-
vide an alternative to our current HTML5-only solution.
JSmol in Proteopedia
The sophisticated and feature-demanding nature of Pro-
teopedia poses an excellent challenge for JavaScript-based
interactive molecular graphics. We are happy to report
that, despite the performance limitations of JavaScript,
utilization of JSmol has been successfully implemented in
Proteopedia. As described elsewhere,[1,2] Proteopedia runs
on top of MediaWiki,[20] an open source collaborative en-
vironment that provides Proteopedia the basic infrastruc-
ture for community editing. To maintain the smooth wiki-
3D structure integration characteristic of Proteopedia, we
have developed JSmolExtension,[21] a dedicated software
that enables MediaWiki to display 3D structures using
JSmol, utilizing the best available rendering engine
whether it be WebGL, HTML5, Javaor resorting to
a static image, in the unlikely case that either none of
these is available or that the available engine is limited
too much by performance issues. JSmolExtension pro-
vides full backward compatibility, enabling Proteopedia
to display the >90,000 pages created utilizing Jmol on
Java-less devices, such as the Apple iPad (Figure 7) and
Google Android tablets. The Proteopedia server is able
to sense the clients device, whether it is a computer or
a Java-less device, and then automatically delivers the
Proteopedia page requested with the appropriate viewer.
Table 1. Relative performance comparison of Jmol and JSmol.[a]
Jmol JSmol
core download (MB)[b] 1.0 2.2
core+bio package download (MB)[c] 1.1 2.4
Small-molecule loading time (ms)[d] 90 60
Small-protein loading time (ms)[e] 120 140
Large-protein loading time (ms)[f] 730 2600
Large-protein rendering time (ms)[g] 11/12 95/85
Small-protein surface creation time (ms)[h] 150 1250
PyMOL session file loading (ms)[i] 96 750
[a] Performance will vary with platform, browser, and machine; the reported testing was carried out using Firefox 18.0.2/Windows 8 on
a Toshiba Satellite P845t laptop with i5–3317U 1.70 GHz CPU and 6 GB memory ; [b] includes JmolApplet0.jar vs. core.z.js +corescript.z.js ;
[c] adds JmolApplet0ShapeBio.jar or core.bio.js; [d] loading caffeine model; [e] loading 1CRN (49 KB, 327 atoms); [f] loading 2bxaH (2BXA,
with hydrogen atoms, 1.4 MB, 16,731 atoms); [g] rendering of 2bxaH as balls and sticks/as cartoons ; [h] 1CRN, 1.2  solvent-accessible sur-
face; [i] loading dna.pse (DNA 12-mer scene, 796 atoms).
214 www.ijc.wiley-vch.de 2013 Wiley-VCH Verlag GmbH & Co. KGaA, Weinheim Isr. J. Chem. 2013, 53, 207 – 216
Review
J. L. Sussman et al.
Figure 7. Comparison of Proteopedia pages showing the HIV-1 Protease in (a) Jmol on a MacBookPro (using the Safari browser), and (b)
JSmol on an iPad (using the Safari browser).
Isr. J. Chem. 2013, 53, 207 – 216 2013 Wiley-VCH Verlag GmbH & Co. KGaA, Weinheim www.ijc.wiley-vch.de 215
Web-Based 3D Molecular Structure
Conclusions
Clearly, a new age of web-based molecular visualization
is at hand. Technology is changing rapidly, and great op-
portunities are opening up for meaningful, interactive, 3D
molecular visualization over the web that will be able to
reach millions of people in ways that could not have been
imagined only a decade ago. If the international collabo-
ration that has propelled Proteopedia and JSmol to the
frontier of this new age is any indication of what will be,
we can anticipate many more full-featured web-based
tools built by students, educators, and practicing scientists
in the near future.
Acknowledgements
This study was supported by grants from the Yeda Re-
search and Development Company, Ltd. of the Weizmann
Institute of Science, the Bruce H. and Rosalie N. Rosen
Family Foundation, the Nalvyco Trust, the Divadol Foun-
dation, the Kimmelman Center, and from the James H.
Hammons Professorship endowment at Swarthmore Col-
lege. We would like to thank the Japan Society for the
Promotion of Science (JSPS) for a scholarship, and ac-
knowledge the generous support of Takuya Kobayashi.
The authors are very grateful to the Jmol and MediaWiki
development teams for their respective software packages
and for the support that they generously offered us. We
thank Paul Pillot for his assistance in developing Jmol-
JSO, a framework upon which JSmol was built, Duncan
Blue (St. Olaf 16) who assisted in testing JSmol during
its development, and Israel Silman for valuable discus-
sions and comments on the manuscript. RMH holds the
Edolph A. Larson and Truman E. Anderson, Sr. Chair of
Chemistry. JLS is the Morton and Gladys Pickman Pro-
fessor of Structural Biology. Data files and code used for
this paper can be found at http://chemapps.stolaf.edu/
jmol/jsmol.
References
[1] E. Hodis, J. Prilusky, E. Martz, I. Silman, J. Moult, J. L.
Sussman, Genome Biol. 2008,9, R121.
[2] J. Prilusky, E. Hodis, D. Canner, W. A. Decatur, K. Ober-
holser, E. Martz, A. Berchanski, M. Harel, J. L. Sussman, J.
Struct. Biol. 2011,175, 244 252.
[3] Proteopedia, Proteopedia: Main Page,2008, http://proteope
dia.org.
[4] J. D. Watson, F. H. C. Crick, Nature 1953,171, 737738.
[5] C. Levinthal, Sci. Am. 1966,214, 42 52.
[6] E. Francoeur, Endeavour 2002,26, 127131.
[7] MDL Information System, Inc., MDL Chime (Version 2.6
SP7),2007, http://accelrys.com/products/informatics/chemin
formatics/chime/chime-release-notes.html.
[8] Oracle, The History of Java Technology,2013, http://
www.oracle.com/technetwork/java/javase/overview/javahis
tory-index-198355.html.
[9] E. Martz, FirstGlance in Jmol,2006, http://bioinformatics.
org/firstglance/fgij/.
[10] O. Rothenberg, T. Newton, CheMagic Virtual Molecular
Model Kit,2012, http://chemagic.com/JSmolVMK.htm.
[11] Reuters, U.S. warns on Java software as security concerns es-
calate,2013, http://www.reuters.com/article/2013/01/11/
us-java-security-idUSBRE90A0S320130111.
[12] W3C, HTML5 differences from HTML4,2013, http ://
www.w3.org/TR/2011/WD-html5-diff-20110405.
[13] Mozilla Developer Network, WebGL,2013, https://
developer.mozilla.org/en-US/docs/WebGL.
[14] OpenGL,2013, http://www.opengl.org.
[15] iChemLabs,2013, http://www.ichemlabs.com.
[16] How is JavaScript different from Java?,2013, http://www.
java.com/en/download/faq/java_javascript.xml.
[17] JSmol,2013, http://jsmol.sourceforge.net.
[18] R. Zhou, The Java2Script Eclipse plugin,2005, http://
j2s.sourceforge.net.
[19] GLmol-Molecular Viewer on WebGL/Javascript,2013,
http://webglmol.sourceforge.jp/index-en.html.
[20] MediaWiki, MediaWiki, http://www.mediawiki.org/wiki/
MediaWiki.
[21] J. Prilusky, JSmolExtension: a MediaWiki extension to in-
clude JSmol structures in MediaWiki,2013, http://proteope
dia.org/support/JSmolExtension.
[22] A. Sagar, K. Oberholser, Biochem. Mol. Biol. Educ. 2012,
40, 74.
[23] W. A. Decatur, Biochem. Mol. Biol. Educ. 2010,38, 343.
[24] C. Thomas, I. Moraga, D. Levin, P. O. Krutzik, Y. Podople-
lova, A. Trejo, C. Lee, G. Yarden, S. Vleck, J. S. Glenn, G. P.
Nolan, J. Piehler, G. Schreiber, K. C. Garcia, Cell 2011,146,
621 632.
Received: February 22, 2013
Accepted: March 8, 2013
216 www.ijc.wiley-vch.de 2013 Wiley-VCH Verlag GmbH & Co. KGaA, Weinheim Isr. J. Chem. 2013, 53, 207 – 216
Review
J. L. Sussman et al.
... 2D representations are produced in the form of SVG images, whereas 3D representations are returned as HTML files containing embedded JSMol objects [57,58]. Through REST API calls, the tools and ocsr modules offer convenient access to the underlying functionalities of the integrated tools. ...
Preprint
Full-text available
In recent years, cheminformatics has experienced significant advancements through the development of new open-source software tools based on various cheminformatics programming toolkits. However, adopting these toolkits presents challenges, including proper installation, setup, deployment, and compatibility management. In this work, we present the Cheminformatics Microservice. This open-source solution provides a unified interface for accessing commonly used functionalities of multiple cheminformatics toolkits, namely RDKit, Chemistry Development Kit (CDK), and Open Babel. In addition, more advanced functionalities like structure generation and Optical Chemical Structure Recognition (OCSR) are made available through the Cheminformatics Microservice based on pre-existing tools. The software service also enables developers to extend the functionalities easily and to seamlessly integrate them with existing workflows and applications. It is built on FastAPI and containerized using Docker, making it highly scalable. An instance of the microservice is publicly available at https://api.naturalproducts.net. The source code is publicly accessible on GitHub, accompanied by comprehensive documentation, version control, and continuous integration and deployment workflows. All resources can be found at the following link: https://github.com/Steinbeck-Lab/cheminformatics-microservice.
... Next, all possible conformations were determined using the Monte Carlo algorithm (Figs. 1, 2, 3, 4 and 5). The resulting [24,25]. Upon completion of the docking procedure, a root mean square deviation (RMSD) value of <5.5-6 Å was considered significant, with all other values considered non-significant [21,22]. ...
Article
Full-text available
Thrombotic events associated with SARS-CoV-2 at the vascular endothelium still remains unclear. The aim of the current study is to determine the relationship between cellular proteins on the (ocular) vascular endothelial surface and the immune thrombotic and/or endotheliopathy process elicited by SARS-CoV-2 using an in-silico modeling. The structural S (spike glycoprotein), N (nucleocapsid protein), M (membrane protein), and E (envelope protein) proteins, an accessory protein (ORF1ab) of SARS-CoV-2 and 158 cellular proteins associated with retinal vascular endothelial cell surface or structure were included in this study for comparison of three-dimensional (3D) structure and sequence. Sixty-nine of the retinal proteins were obtained from the Uniprot database. Remaining proteins not included in the database were included in the study after they were converted into 3D structures using the RaptorX web tool. Sequence and three-dimensional structure of SARS-COV-2 S, N, M, E, ORF1ab proteins and retinal vascular endothelial proteins were compared with mTM-align server. Proteins with significant similarity (score above 0.5) were validated with the TM-align web server. Immune and thrombosis-related protein-receptor interactions of similar proteins was checked with CABS-dock. We detected a high level of structural similarity between E protein and ACE, ACE2, LAT1, and TM9SF4 endothelial proteins. In addition, PECAM-1 was found to be structurally similar to ORF1ab and S protein. When we evaluated the likelihood/potential to stimulate an immune responses/a cytokine release, TLR-2 and TLR-3, which are highly susceptible to SARS-CoV2, showed a potential receptor-protein interaction with retinal vascular endothelial proteins. Our study demonstrates that SARS-CoV-2 proteins may have structural similarities with vascular endothelial proteins, and therefore, as immunological target sites, the counterpart proteins on the endothelial surface of many organs may also be secondarily affected by any immune response against SARS-CoV-2 structural proteins.
... The SMILES code can be copied for the structure submission and the "make SMILES" button assists in converting the 2D structures produced by JSME. If two total charges match, coordinate and parameter files in all the different formats are generated and displayed on the LigParGen output page [38]. The drug-like molecules' SMILES codes are uploaded one at a time to the LigParGen server. ...
Article
This research aims to compare and analyze the force field parameters of drug-like compounds generated by the online servers CGenFF, SwissParam, and LigParGen. CHARMM27, OPLS-AA, and CHARMM36 force fields of amoxicillin, favipiravir, and omeprazole have been examined by bonded and non-bonded energy distributions of the potential function. The local terms of the force field function are bond length, bond angle, and dihedral potentials, while the non-local terms are van der Waals and pairwise electrostatic interactions. The parabolic curves of bond length potential appear to internally bend because of the larger values of force constants. The bond length and angle energies are lowest at reference values for each of the corresponding atom pairs in the molecules. The higher values of the bending force constant positively deflect the sinusoidal curve from the equilibrium position according to the dihedral angle energy distribution. The Lennard-Jones interaction exhibits the same repellent nature at closer ranges and the same attracting nature at farther ranges whereas a mildly differentiated interaction is seen at the intermediate state as a result of changing well-depth parameters. Depending on the size of the optimized partial charges, it is discovered in electrostatic interaction that the distributions of end-to-end lengths of identical atom pairs are more exponentially skewed from one another. The main cause of inconsistency in the results of MD simulations for the same protein-ligand system is due to the shifted topology and parameters.
... In the last two decades, it has been recognized that there is an imbalance in the development of computational science, possibly because the foundations on which some software has been built are not adapted to keep pace with changes in hardware and applications. This results in software infrastructures that must constantly deal with the problem of continuity in maintaining these packages, which translates into lower productivity than expected by researchers and the industry [28,29]. In this sense, it seems clear that software sustainability requires time for development and, therefore, funding. ...
Article
Full-text available
This qualitative research explored the rationales of open-source development in chemin-formatics. The objective was to promote open science by mapping out and categorizing the reasons why open-source development is being carried out. This topic is important because cheminformat-ics has an industrial background and open-source is the key solution in promoting the growth of cheminformatics as an independent academic field. The data consisted of 87 research articles that were analyzed using qualitative content analysis. The analysis produced six rationale categories: (1) Develop New Software, (2) Update Current Features, Tools, or Processes, (3) Improve Usability, (4) Support Open-source Development and Open Science, (5) Fulfill Chemical Information Needs, and (6) Support Chemistry Learning and Teaching. This classification can be used in designing rationales for future software development projects, which is one of the largest research areas in cheminformatics. In particular, there is a need to develop cheminformatics education for which software development can serve as an interesting multidisciplinary framework.
... A diverse range of tools currently exist for viewing macromolecular 3D structures, ranging from desktop applications such as PyMol (Schrödinger, LLC.) and ChimeraX (Pettersen et al., 2021) to browser-based tools like JSMol (Hanson et al., 2013) and Mol* (Sehnal et al., 2021). Each of these tools offers unique advantages and perspectives. ...
Preprint
Full-text available
PDBImages is an innovative, open-source Node.js package that harnesses the power of the popular macromolecule structure visualization software Mol*. Designed for use by the scientific community, PDBImages provides a means to generate high-quality images for PDB and AlphaFold DB models. Its unique ability to render and save images directly to files in a browserless mode sets it apart, offering users a streamlined, automated process for macromolecular structure visualization. Here, we detail the implementation of PDBImages, enumerating its diverse image types and elaborating on its user-friendly setup. This powerful tool opens a new gateway for researchers to visualize, analyse, and share their work, fostering a deeper understanding of bioinformatics. Availability and Implementation: PDBImages is available as an npm package from https://www.npmjs.com/package/pdb-images. The source code is available from https://github.com/PDBeurope/pdb-images. Contact: mvaradi@ebi.ac.uk, sameer@ebi.ac.uk
... Figure 2 illustrates the direct application of the depict module to generate a 2D depiction with CIP annotation in colour on a scale of 512 x 512 pixels and a 52°rotation. An example of the generated image with CIP annotations could be accessed directly by following this link: 2D representations are produced in the form of SVG images, whereas 3D representations are returned as HTML files containing embedded JSMol objects [57,58]. Through REST API calls, the CPM tools and OCSR modules offer easy and convenient access to the underlying functionality of the implemented tools. ...
Preprint
Full-text available
In recent years, cheminformatics has experienced significant advancements through the development of new open-source software tools based on various cheminformatics programming toolkits. However, adopting these toolkits presents challenges, including proper installation, setup, deployment, and compatibility management. In this work, we present Cheminformatics Python Microservice (CPM). This open-source solution provides a unified interface for accessing commonly used functionalities of multiple cheminformatics toolkits, namely RDKit, Chemistry Development Kit (CDK), and Open Babel. In addition, more advanced functionalities like structure generation and Optical Chemical Structure Recognition (OCSR) are made available through CPM based on pre-existing tools. CPM also enables developers to extend the functionalities easily and seamlessly integrate with existing workflows and applications. It is built on FastAPI and containerized using Docker, making it highly scalable. An instance of the microservice is publicly available at https://api.naturalproducts.net. The source code for CPM is publicly accessible on GitHub, accompanied by comprehensive documentation, version control, and continuous integration and deployment workflows. All resources can be found at the following link: https://github.com/Steinbeck-Lab/cheminformatics-python-microservice
... The MEP (interaction energy at a certain zone of a structure) was involved in electrical charge distribution from the protons, nuclei, and electrons [35]. This electrostatic potential map showed attractive or repulsive forces observed with a fixed charge (a point positive charge, i.e., a proton) at various points in space that are equidistant from a molecular surface. ...
Article
Full-text available
The RAS gene family is one of the most frequently mutated oncogenes in human cancers. In KRAS, mutations of G12D and G12C are common. Here, 52 iridoids were selected and docked against 8AFB (KRAS G12C receptor) using Sotorasib as the standard. As per the docking interaction data, 6-O-trans-p-coumaroyl-8-O-acetylshanzhiside methyl ester (dock score: −9.9 kcal/mol), 6′-O-trans-para-coumaroyl geniposidic acid (dock score: −9.6 kcal/mol), 6-O-trans-cinnamoyl-secologanoside (dock score: −9.5 kcal/mol), Loganic acid 6′-O-beta-d-glucoside (dock score: −9.5 kcal/mol), 10-O-succinoylgeniposide (dock score: −9.4), Loganic acid (dock score: −9.4 kcal/mol), and Amphicoside (dock score: −9.2 kcal/mol) showed higher dock scores than standard Sotorasib (dock score: −9.1 kcal/mol). These common amino acid residues between iridoids and complexed ligands confirmed that all the iridoids perfectly docked within the receptor’s active site. The 100 ns MD simulation data showed that RMSD, RMSF, radius of gyration, and SASA values were within range, with greater numbers of hydrogen bond donors and acceptors. MM/PBSA analysis showed maximum binding energy values of −7309 kJ/mol for 6-O-trans-p-coumaroyl-8-O-acetylshanzhiside methyl ester. FMO analysis showed that 6-O-trans-p-coumaroyl-8-O-acetylshanzhiside methyl ester was the most likely chemically reactive molecule. MEP analysis data highlighted the possible electrophilic and nucleophilic attack regions of the best-docked iridoids. Of all the best-docked iridoids, Loganic acid passed Lipinski, Pfizer, and GSK filters with a similar toxicity profile to Sotorasib. Thus, if we consider these iridoids to be KRAS G12C inhibitors, they will be a boon to mankind.
Article
The study of protein folding plays a crucial role in improving our understanding of protein function and of the relationship between genetics and phenotypes. In particular, understanding the thermodynamics and kinetics of the folding process is important for uncovering the mechanisms behind human disorders caused by protein misfolding. To address this issue, it is essential to collect and curate experimental kinetic and thermodynamic data on protein folding. K-Pro is a new database designed for collecting and storing experimental kinetic data on monomeric proteins, with a two-state folding mechanism. With 1,529 records from 62 proteins corresponding to 65 structures, K-Pro contains various kinetic parameters such as the logarithm of the folding and unfolding rates, Tanford's β and the ϕ values. When available, the database also includes thermodynamic parameters associated with the kinetic data. K-Pro features a user-friendly interface that allows browsing and downloading kinetic data of interest. The graphical interface provides a visual representation of the protein and mutants, and it is cross-linked to key databases such as PDB, UniProt, and PubMed. K-Pro is open and freely accessible through https://folding.biofold.org/k-pro and supports the latest versions of popular browsers.
Article
Full-text available
With the progress of structural biology, the Protein Data Bank (PDB) has witnessed rapid accumulation of experimentally solved protein structures. Since many structures are determined with purification and crystallization additives that are unrelated to a protein's in vivo function, it is nontrivial to identify the subset of protein-ligand interactions that are biologically relevant. We developed the BioLiP2 database (https://zhanggroup.org/BioLiP) to extract biologically relevant protein-ligand interactions from the PDB database. BioLiP2 assesses the functional relevance of the ligands by geometric rules and experimental literature validations. The ligand binding information is further enriched with other function annotations, including Enzyme Commission numbers, Gene Ontology terms, catalytic sites, and binding affinities collected from other databases and a manual literature survey. Compared to its predecessor BioLiP, BioLiP2 offers significantly greater coverage of nucleic acid-protein interactions, and interactions involving large complexes that are unavailable in PDB format. BioLiP2 also integrates cutting-edge structural alignment algorithms with state-of-the-art structure prediction techniques, which for the first time enables composite protein structure and sequence-based searching and significantly enhances the usefulness of the database in structure-based function annotations. With these new developments, BioLiP2 will continue to be an important and comprehensive database for docking, virtual screening, and structure-based protein function analyses.
Article
Full-text available
Many scientists lack the background to fully utilize the wealth of solved three-dimensional biomacromolecule structures. Thus, a resource is needed to present structure/function information in a user-friendly manner to a broad scientific audience. Proteopedia http://www.proteopedia.org is an interactive, wiki web-resource whose pages have embedded three-dimensional structures surrounded by descriptive text containing hyperlinks that change the appearance (view, representations, colors, labels) of the adjacent three-dimensional structure to reflect the concept explained in the text.
Article
Full-text available
In the mid-1960s, a group of scientists at Massachusetts Institute of Technology, led by Cyrus Levinthal, took hold of one of the early interactive graphics terminals and used it to visualize, study and model the structure of proteins and nucleic acids. From this encounter between cutting-edge computer technology and molecular biology emerged the crucial elements for the development of a research-technology field known today as interactive molecular graphics. The following account is not only about how computer graphics technology has literally changed the way scientists view the molecular realm, but also a look at how an epistemic and institutional space was created to integrate this technology into scientific research.
Article
Message from Nature_Scanner
Article
Type I Interferons (IFNs) are important cytokines for innate immunity against viruses and cancer. Sixteen human type I IFN variants signal through the same cell-surface receptors, IFNAR1 and IFNAR2, yet they can evoke markedly different physiological effects. The crystal structures of two human type I IFN ternary signaling complexes containing IFNα2 and IFNω reveal recognition modes and heterotrimeric architectures that are unique among the cytokine receptor superfamily but conserved between different type I IFNs. Receptor-ligand cross-reactivity is enabled by conserved receptor-ligand "anchor points" interspersed among ligand-specific interactions that "tune" the relative IFN-binding affinities, in an apparent extracellular "ligand proofreading" mechanism that modulates biological activity. Functional differences between IFNs are linked to their respective receptor recognition chemistries, in concert with a ligand-induced conformational change in IFNAR1, that collectively control signal initiation and complex stability, ultimately regulating differential STAT phosphorylation profiles, receptor internalization rates, and downstream gene expression patterns.
Article
Proteopedia is a collaborative, 3D web-encyclopedia of protein, nucleic acid and other biomolecule structures. Created as a means for communicating biomolecule structures to a diverse scientific audience, Proteopedia (http://www.proteopedia.org) presents structural annotation in an intuitive, interactive format and allows members of the scientific community to easily contribute their own annotations. Here, we provide a status report on Proteopedia by describing advances in the web resource since its inception three and a half years ago, focusing on features of potential direct use to the scientific community. We discuss its progress as a collaborative 3D-encyclopedia of structures as well as its use as a complement to scientific publications and PowerPoint presentations. We also describe Proteopedia's use for 3D visualization in structure-related pedagogy.
  • E Hodis
  • J Prilusky
  • E Martz
  • I Silman
  • J Moult
  • J L Sussman
E. Hodis, J. Prilusky, E. Martz, I. Silman, J. Moult, J. L. Sussman, Genome Biol. 2008, 9, R121.
  • E Martz
E. Martz, FirstGlance in Jmol, 2006, http://bioinformatics. org/firstglance/fgij/.