Literature DB >> 27867214

Immersive virtual reality in computational chemistry: Applications to the analysis of QM and MM data.

Andrea Salvadori1, Gianluca Del Frate1, Marco Pagliai1, Giordano Mancini1, Vincenzo Barone1.   

Abstract

The role of Virtual Reality (VR) tools in molecular sciences is analyzed in this contribution through the presentation of the Caffeine software to the quantum chemistry community. Caffeine, developed at Scuola Normale Superiore, is specifically tailored for molecular representation and data visualization with VR systems, such as VR theaters and helmets. Usefulness and advantages that can be gained by exploiting VR are here reported, considering few examples specifically selected to illustrate different level of theory and molecular representation.

Entities:  

Keywords:  data interaction; molecular viewers; virtual reality

Year:  2016        PMID: 27867214      PMCID: PMC5101850          DOI: 10.1002/qua.25207

Source DB:  PubMed          Journal:  Int J Quantum Chem        ISSN: 0020-7608            Impact factor:   2.444


Introduction

A detailed, yet compact, representation of molecular structures, together with the inclusion of related properties in formulas and graphs, has always been at the heart of chemistry. Representation plays a key role in the whole discovery process, conveying information to human inspectors, relying on human pattern recognition, and suggesting innovative points of investigation and new, previously unexplored scenarios.1 From a theoretical chemistry perspective, without molecular graphics, the sheer amount of information provided by current computational power would rather hinder true knowledge acquisition.2 The importance of molecular graphics in chemistry is demonstrated by its leading role in the adoption of advances in computer graphics for scientific visualization.3 The evolution of computer technologies for three dimensional immersive virtual reality (IVR) allows nowadays to achieve a further evolution in data representation and visualization.4 In fact, it is now possible to create 3D virtual environments that extend users perception and increase researchers ability to quickly tackle massive amounts of data coming from multiple and different sources. Within such systems, users can directly interact with visualized data (by means of dedicated devices) in a more natural and friendly way than that achievable on desktop systems with mouse and keyboard.5, 6 IVR technologies include a large panel of devices, from cheap consumer grade ones to very costly specialized hardware. In the first category, we can mention interactive sensors like the Microsoft Kinect 7 and the Leap Motion,8 current generation immersive helmets such as the Oculus Rift 9 and the Vive from HTC and Valve,10 or force‐feedback devices like the Novint Falcon 3D Touch controller.11 The second category instead includes virtual theaters, such as the Cave Automatic Virtual Environment (CAVE),12, 13 equipped with high‐precision tracking sensors and driven by one or more powerful workstations. With the aim of enabling the employment of different platforms, ranging from desktop computers to more expensive IVR installations, we are developing a new molecular viewer, called Caffeine.14 Beside motivations of performance and the aim to exploit state of the art technologies, one of the reasons for developing a new molecular viewer was not to force IVR features in an application designed within a different scope. Rather, we tried to design the software in such a way that the transition from a familiar 2D desktop environment to an IVR one would be as smooth and easy as possible. A specific feature to which we payed great attention in the development is coupling the visualization of molecular structures with the plotting of numerical data, for example, those related to the analysis of quantum mechanical (QM) calculations (e.g., the minimum energy path of chemical reactions) or classical simulations (such as the total energy related to a molecular dynamics [MD] trajectory). In this article, we present the current status of Caffeine, showing its usage through the application to several test cases, which encompass many of the common levels of molecular representation and theory, including both QM studies and molecular mechanics (MM) investigations of large systems. We start from small, isolate molecules, on which high level calculations could be performed, and proceed to intricate macromolecular entities, thus involving different level of data complexity. The article is organized as follows: in a first part, some technical details of the Caffeine program and its versions for desktop and IVRs are presented; in the second part, the graphical representations of different case studies obtained with Caffeine are reported, to demonstrate the program capabilities in chemical visualization and in the analysis of results. We also make the case for potential benefits coming from the use of IVR in setting up simulations for medium size or large molecular systems through the examination of the dissociation mechanism of the intercalating drug doxorubicin (hereafter DOX) from a DNA fragment. General remarks and future perspectives on the development of our molecular graphics system are given in the conclusions of the article. Further technical details on the methods and algorithms employed for the visualization of molecular structures and isosurfaces are reported in the appendices. It is important to highlight here that a rigorous user evaluation study is not our present priority. Here, we want to show the general opportunities offered by the adoption of IVR technologies in molecular modeling and, at the same time, illustrate the features of Caffeine to a wide audience.

Related work

The representation of molecular structures by means of virtual reality (VR) technologies is not a new methodology: visualizations of atomistic simulations within immersive theaters were already reported at the middle of the 90s (see as an illustrative example the work done by Disz et al.15). Nevertheless, IVR tools did not know the diffusion that they deserved within scientific fields for at least a decade, partly due to limits of the underlying hardware and partly to the infancy of software using such technologies.16 The growth of computer power in the last decade made possible to use IVR for rigorous scientific visualization. However, the adoption of IVR tools in molecular sciences is still an ongoing process, even if the usefulness in visualizing large systems of chemical interest (highlighting both structural and functional properties) within immersive environments has already been demonstrated.17 Recently, Reda et al.18 developed an application for the interactive visualization of MD simulations in ultra‐resolution immersive environments, exploiting an hybrid representation which combines balls‐and‐sticks with volume rendering of approximate electron densities. Among popular molecular viewers, VMD19 supports several VR technologies5 such as CAVE systems and ImmersaDesk,20 using VR toolkits like FreeVR21 and CAVElib.22 Recently, Stone et al.23 implemented an experimental version of VMD combining omni‐directional stereoscopic visualization via head‐mounted displays (Oculus Rift DK2), with ray‐tracing rendering computed by a remote GPU cluster. To confirm the interest in the use of VR environments, it is worth noticing that some commercial molecular graphics systems like Amira24 and YASARA25 support VR technologies. Also PyMOL26 has a VR plug‐in developed by Virtalis.27

The caffeine molecular viewer

Caffeine is a new molecular viewer specifically designed and developed to take advantage of modern IVR technologies. It is implemented in C++, using the Qt framework,28 Open Babel29 as base cheminformatics library (we are evaluating its extension or substitution to provide a solution more suited to our needs; however Open Babel provided sufficient flexibility for the early stages of development), OpenSceneGraph30 as 3D graphics engine, the OpenGL Mathematics library31 and the Qt Widgets for Technical Applications (Qwt) library.32 We use Stride33 (as an external program invoked by our application) for detecting the secondary structures of polypeptides. Caffeine can visualize both static and dynamic molecular structures (trajectories) read from PDB,34 XYZ (xmol format),35 and Gaussian Cube36 files. Like most molecular viewer, Caffeine supports the most diffused graphical representations of molecular structures, such as “all‐atoms” visualization (balls‐and‐sticks, licorice, and van der Waals spheres) and ribbon diagrams of polypeptides and polynucleotides. In addition, volumetric datasets such as electron densities and molecular orbitals can be imported from Gaussian Cube files and visualized as isosurfaces (several examples are presented in the Case Studies section). In the case of dynamic molecular structures, the graphic geometry is generated on the fly at each time‐step, so to avoid to fill the graphic memory in the case of long trajectories. Although this is not a completely “out‐of‐core” solution (since the entire trajectory is completely loaded in main memory), it is a first step in that direction. There are two main versions of Caffeine (sharing most of the code base and features): one for desktop computers and one designed for VR systems equipped with multiple displays, such as the CAVE, a cubic room‐sized IVR system whose walls (from three to six) are projected with stereoscopic images. Our CAVE installation has four walls/stereo projectors and it is equipped with an OptiTrack37 tracking system (see Figure 1). The IVR version implements some functionalities which are specifically tailored for CAVE‐like systems, like keystone correction of the generated images and the ability to adjust the view point and the projection parameters of the virtual camera as a function of the position and orientation of the user's head (provided by the tracking system), so to obtain a convincing and coherent stereoscopic visualization across the screens.38 Within the CAVE the user can control the visualizer by means of a simple, “button‐based,” remote application for mobile devices (e.g., tablet), which allows to rotate, translate and scale the molecular system, and to control the playback of trajectories. The remaining features are accessible via a separate control window, which is displayed, in our installation, in a standard monitor placed outside the CAVE (but driven by the same workstation), as shown in Figure 1.
Figure 1

A ball‐and‐stick view of a macromolecular system represented in the CAVE installation at SNS with Caffeine. On the bottom right, the CAVE “control panel” is shown. The user interface of the control panel is, in large part, the same of the “desktop version” of Caffeine (see Figure 5)

A ball‐and‐stick view of a macromolecular system represented in the CAVE installation at SNS with Caffeine. On the bottom right, the CAVE “control panel” is shown. The user interface of the control panel is, in large part, the same of the “desktop version” of Caffeine (see Figure 5) Note that the “CAVE version” of Caffeine can be configured to be used in systems having a different number, layout and kind (monoscopic or stereoscopic) of displays, with or without tracking systems, as long as all the monitors are driven by a single computer. In the past, our CAVE system was driven by a cluster of workstations (one for each projector) connected through a local network. This configuration required the development of distributed applications, which are notably harder to implement, debug, and extend as compared to their nondistributed counterparts. To facilitate the development of Caffeine, and to minimize the differences in the source code between the CAVE and the desktop version, we designed and developed a distributed scene graph library.14 However, thanks to the latest advances in video card technology, we are now able to drive all the four projectors of our CAVE with a single computer equipped with multiple NVIDIA Quadro GPUs in scalable link interface (SLI)39 configuration. This solution has allowed us to remove the distributed scene graph from the project, thus saving the time needed for its further improvements and extensions. While CAVE‐like systems are among the most advanced IVR systems available today, they are (very) expensive fixed installations. For that reason, they can be found only in few specialized research centers. However, thanks to the technological evolution, several companies are now developing VR headsets (primarily intended for the video game market) such as the Oculus Rift 9 or the HTC/Valve “Vive.” 10 Thanks to their relatively low cost (less than a thousand US dollars) and good portability, these devices will probably gain a wide adoption in the next few years, not only in the consumer market but also for educational and research purposes. For these reasons, we are interested to support this kind of IVR helmets in Caffeine. Currently, the Oculus Rift Development Kit 1 VR helmet is supported by an experimental desktop version of Caffeine (see Figure 2). This version is considered “experimental” since it belongs to an older development branch with respect to the current main version and it still lacks some of the latest features, such as charts and key‐frames (vide infra). We plan to officially support some of these devices in the near future.
Figure 2

(a) User wearing the Oculus Rift DK1 helmet. (b) The DNA/DOX binary complex rendered for the Oculus Rift DK1 with an experimental version of Caffeine

(a) User wearing the Oculus Rift DK1 helmet. (b) The DNA/DOX binary complex rendered for the Oculus Rift DK1 with an experimental version of Caffeine

Visualization of molecular structures

To obtain an interactive visualization of a large number of spheres and cylinders, resulting from the “all atoms” representation of complex molecular structures, we have developed a set of GPU shaders (A “shader” is a program running on the Graphics Processing Unit (GPU), which allows the programmer to define a specific algorithm for drawing the objects it is applied to) implementing a technique known as “GPU‐based ray‐casting of quadric surfaces.” This method has been first introduced by Gumhold40 to render a large number of ellipsoids representing symmetric tensor fields, and later generalized by Toledo and Lévy41 so to ray‐cast any quadric surface on the GPU. This technique provides very good results (both in terms of performance and image quality) when applied to molecular visualization42, 43, 44, 45, 46 and, according to Kozlíková et al.47 in a recent survey on the subject, it still represents the state of the art. A brief discussion on the implementation of this method, with specific reference to Caffeine, can be found in Appendix A. As regards to ribbon diagrams, we implemented an algorithm for generating three‐dimensional “paths,” formed by a sequence of traits. Each trait is defined by two endpoints, an orientation (normal) vector, the shape of its transversal profile (circular or rectangular with rounded corners) and a set of attributes (such as sizes and colors) for each of its two ends. The traits can be rectilinear or they can be defined by cubic B‐Splines, so to obtain a smoother path. In the latter case, also the normal vectors between consecutive traits are interpolated using the cubic B‐Spline equation, similarly to what done by Krone et al.49 in their algorithm for GPU‐based ribbons visualization. Although our algorithm could be used to represent various kinds of information (e.g., field lines), it is currently used to generate ribbon diagrams of polypeptides and polynucleotides. For polypeptides, we followed the popular procedure described by Carson and Bugg50: the path is defined by the sequence of alpha‐carbons in the chain, while the oxygen atoms of the backbone are used to compute the normal vectors of the peptide planes, which define the orientation of the traits. Shape, sizes, and colors of each trait are set according to the secondary structures to be presented. Path and normal vectors are finally smoothed using the B‐Spline equation. In the case of polynucleotides, we used a similar procedure: phosphorus atoms replace the alpha‐carbons in the definition of the path (with the exception of the first and of the last nucleotides of the chain, where the C5′ and C3′ atoms are used respectively as starting and ending points of the path), while the vector (C3′–C1′) of each nucleotide defines the normal vector of the corresponding trait.

Isosurfaces extraction and visualization

Several molecular descriptors, such as electron density, electrostatic potential and molecular orbitals are actually examples of volumetric datasets. A volumetric dataset can be defined as a set of pairs , where P is a point in the three‐dimensional space and V is its associated value (e.g., a scalar value, a vector etc.).51 The pair is called “voxel” (short for “volume element”). Volumetric datasets can be obtained by sampling the value of some function or measurable quantity at certain locations of the three‐dimensional space. Although sampling locations could be chosen randomly, it is common to sample the data at uniformly spaced intervals, so to obtain a regular grid of voxels. It is noteworthy that, even if the values are sampled at discrete locations, it is still possible to approximate the value of a generic point lying inside a cell of the grid by interpolating the values of the eight vertices (voxels) of that cell. At present, Caffeine visualizes scalar volumetric datasets only in the form of isosurfaces. User can chose between two extraction algoritms: the traditional Marching Cubes 52 and a simplified version of the Surface Nets.53 With regard to the Marching Cubes we use (a slightly adapted version of) the popular implementation by Cory Gene Bloyd and Paul Bourke,54 while for the Surface Nets we re‐implemented in C++ the so‐called “Naive” version by Mikola Lysenko55 (originally coded in JavaScript). The Surface Nets algorithm produces a more regular triangulation than the traditional Marching Cubes method, as shown in Figure 3. Furthermore, according to some tests performed on our implementations, Naive Surface Nets results slightly faster. A brief description of these algorithms together with a first performance comparison of their implementation in Caffeine is reported in Appendix B. Further details on these and other extraction algorithms can be found in references 58 and 59.
Figure 3

Representation of scalar volumetric datasets: comparison between the triangulation of a water molecular orbital generated by the Marching Cubes (a) and the one generated by the Surface Nets algorithm (b). Note that the traditional Marching Cubes generates many thin triangles, while Surface Nets provides a more regular tessellation. The orbitals have been computed at HF/STO‐3G level of theory with Gaussian 09[56] suite of programs

Representation of scalar volumetric datasets: comparison between the triangulation of a water molecular orbital generated by the Marching Cubes (a) and the one generated by the Surface Nets algorithm (b). Note that the traditional Marching Cubes generates many thin triangles, while Surface Nets provides a more regular tessellation. The orbitals have been computed at HF/STO‐3G level of theory with Gaussian 09[56] suite of programs When visualizing surfaces related to molecular properties, such as molecular orbitals, it is important to let the user perceive the relation between these surfaces and the molecular structure they refers to. For this reason surfaces are often drawn as semitransparent objects. In interactive computer graphics, semitransparent objects are usually simulated using a technique known as “alpha blending,” first introduced by Porter and Duff60 in 1984 and nowadays supported natively by the graphics hardware. However, a simplistic use of alpha blending may lead to graphical artifacts, as discussed in Appendix C. Several GPU‐accelerated techniques has been proposed to properly simulate semitransparent surfaces in real‐time. These techniques are generally known as “order independent transparency” (OIT) methods. Interested readers can refer to reference 66 for a comprehensive survey on the subject. We employed a method called “Weighted Blended Order‐Independent Transparency” by McGuire and Bavoil,64, 67 because it provides a good balance between quality of the results, performance, and implementation complexity. In Caffeine, the user can choose between two different transparency modes for isosurfaces: the traditional uniform transparency (shown in Figure 4a), where all the fragments resulting from the rasterization of the iso‐surface have the same opacity (chosen by the user), or a so‐called “smart transparency” (shown in Figure 4b), where the opacity of each fragment is a function of the dot product between the normal and the “vector to the viewer” (The vector to the viewer is the normalized direction from the position fragment to the position of the virtual camera. More precisely, both the normal and the vector to the viewer are computed by the vertex shader on a per‐vertex basis, interpolated by the graphics card, and finally passed to the fragment shader as per‐fragment values), so to highlight surface edges while clearly showing the molecular structure behind the surface. This latest method, sometimes called “X‐Ray effect,” is actually an old trick of computer graphics and it is employed also by other modern molecular viewers (such as Molekel69 and Avogadro70) to represent molecular orbitals and surfaces. From our experience, “smart”/“X‐Ray” transparency produces clearer, more understandable images with respect to uniform transparency (see Figure 4), especially in VR systems requiring active shutter glasses (like our CAVE), where original colors are partially filtered/distorted.
Figure 4

Highest Occupied Molecular Orbital (HOMO) of caffeine molecule represented as semitransparent isosurfaces (iso‐value ±0.02) and drawn using the Weighted Blended Order‐Independent Transparency method. (a) Uniform transparency: the entire surface has a constant opacity (35%). (b)“Smart” transparency: the regions of the surface which are orthogonal to the view direction have an lower opacity (20%), while the regions tangent to the view direction have an higher opacity (35%). (c) Same as (b) in the CAVE. Optimized molecular structure and HOMO have been calculated with PBE0 exchange and correlation functional68 and 6‐311++G(d,p) basis set with Gaussian 09[56] suite of programs

Highest Occupied Molecular Orbital (HOMO) of caffeine molecule represented as semitransparent isosurfaces (iso‐value ±0.02) and drawn using the Weighted Blended Order‐Independent Transparency method. (a) Uniform transparency: the entire surface has a constant opacity (35%). (b)“Smart” transparency: the regions of the surface which are orthogonal to the view direction have an lower opacity (20%), while the regions tangent to the view direction have an higher opacity (35%). (c) Same as (b) in the CAVE. Optimized molecular structure and HOMO have been calculated with PBE0 exchange and correlation functional68 and 6‐311++G(d,p) basis set with Gaussian 09[56] suite of programs

Caffeine desktop version

Figure 5a shows a first screenshot of Caffeine running as a standard desktop application, with specific hallmarks highlighted when drawing the DOX/DNA binary complex from a PDB file. Many different visualization features are available, like the possibility to modify ribbons settings and color styles.
Figure 5

Screenshots of the current Caffeine desktop version (running in a Windows environment), used in this work for pictures realization and data analysis. The icons used in the program belongs to the Oxygen Project.71 DNA nucleobases are colored by type. (a) Many interesting features are highlighted, such as the possibility to modify DNA ribbons appearance, according to the user needs. (b) The 2D scalar datasets associated to the molecular system are plotted as line charts. The bottom chart shows the same data of Figure 10d, while the top chart shows the distance between the centers of mass of DOX and of the DNA binding site. In the latter, the possibility to investigate the variation of the scalar quantity frame‐by‐frame is pointed out

Screenshots of the current Caffeine desktop version (running in a Windows environment), used in this work for pictures realization and data analysis. The icons used in the program belongs to the Oxygen Project.71 DNA nucleobases are colored by type. (a) Many interesting features are highlighted, such as the possibility to modify DNA ribbons appearance, according to the user needs. (b) The 2D scalar datasets associated to the molecular system are plotted as line charts. The bottom chart shows the same data of Figure 10d, while the top chart shows the distance between the centers of mass of DOX and of the DNA binding site. In the latter, the possibility to investigate the variation of the scalar quantity frame‐by‐frame is pointed out Molecular simulations produce a lot of numerical data related to the physicochemical properties of the system taken into account. These measurements, if referred to two‐dimensional scalar quantities, can be passed as input to Caffeine (using a specific file format) which plots them as line charts (as shown in Figure 5b). Furthermore, if a linear relationship exists between the measured quantity and the snapshots of a trajectory (i.e., if the quantity is a function of time), this relationship can be explicated in the dataset file. By doing so, a marker is drawn on the line chart during the playing of the trajectory, showing the value of the measured quantity in the currently displayed snapshot (see the top line chart shown in Figure 5b). This direct correlation between the currently represented structure and charted data encourage the user to exploit his “chemical intuition” and pinpoint any perceived interesting feature in the displayed system. In addition, it is possible to “mark” a subset of the frames of the trajectory, which are deemed to be relevant for the study of the system. These “key‐frames” may be either supplied using an additional input file or selected within Caffeine. Then, the user can (re‐)visualize either the entire trajectory or only these selected key‐frames. In both cases, the visualization can be performed as an animation or by explicitly skipping from one (key‐)frame to the previous/following one of the sequence. Key‐frames may represent particularly relevant conformations along a single trajectory but may also come from different data sources by assembling in one artificial trajectory, for example, the results of a clustering analysis over related systems. This allows for an interactive filtering of a trajectory or of any dataset since it makes it possible to associate different conformations to the same dataset and test for different hypotheses. A word of caution is needed here: while the user is free to associate key‐frames to supporting data, these models must (currently) contain the same (sub‐)set of atoms, and this requires a limited manipulation of the PDB files.

Caffeine within an IVR environment

In immersive environments a new feedback, proprioception, is added to the perception of data. Proprioception is the capability to perceive and recognize the position of the own body in space, even without sight: the kinesthetic inputs from mechanoreceptors in muscles, tendons and joints, contribute to the human perception of limb position and limb movement in space.72 Proprioceptive sense helps the user, without conscious efforts, to understand and evaluate the geometric properties of the visualized objects. Within the CAVE, 2D data charts are drawn in the 3D scene in front of the user, and follow the movements of the user's head in a way similar to an augmented reality content (see Figure 6). As shown, only one chart is displayed, notwithstanding the ability of the user to switch interactively between the available charts by means of the remote application. The use of key‐frames, by itself a useful feature, becomes critically important within an IVR environment since it allows the user to concentrate on the most important properties. As already stated in previous sections, the user is able to interact with the projected system through a mobile device (i.e., a tablet), so to regulate the displayed data according to the need (Figure 6b). The mobile application currently allows the user to rotate, translate and scale the molecular system, and to control the playback of frames.
Figure 6

Dissociation of DOX from the DNA binding site. (a) Simultaneous representation of charted data and molecules. The binary complex is on the right while a graph showing the distance between COMs is visible on the left with the red marker highlighting the current frame and distance value. For sake of clarity, the stereo mode of projectors was temporarily disabled to shoot this photo. (b) User interacting with the DNA/DOX binary complex using a tablet, the graph is the same of the previous panel

Dissociation of DOX from the DNA binding site. (a) Simultaneous representation of charted data and molecules. The binary complex is on the right while a graph showing the distance between COMs is visible on the left with the red marker highlighting the current frame and distance value. For sake of clarity, the stereo mode of projectors was temporarily disabled to shoot this photo. (b) User interacting with the DNA/DOX binary complex using a tablet, the graph is the same of the previous panel As an example of the use of Caffeine with another type of IVR system, we can mention the screenshot of the DNA/DOX binary complex rendered for the Oculus Rift DK1 already shown in Figure 2. In this case the user can interactively play the trajectory with the keyboard or, using a little trick, with a gamepad (to use the joystick an external program that maps gamepad input to keyboard events, such as JoyToKey,73 is needed).

Performance evaluation

To evaluate the performance of Caffeine, we performed a benchmark to compare it with VMD.19 The comparison is relative to the frame per seconds reached by both visualizers when rendering both static and dynamic molecular systems. It is important to note that, while obtaining a high frame rate on desktop is not an essential feature for the user, in the case of IVR systems this is critical to preserve the sense of immersion. Both applications have been configured so as to produce screen images as close as possible. In particular, this includes: Manually setting the “display” options and the transformation matrices of VMD to match the view and projection parameters chosen in Caffeine. Where that was not possible (i.e., the camera position of VMD is not configurable neither via GUI nor via scripting), we changed the configuration of Caffeine instead. Disabling “depth cueing” and axis rendering in VMD, since these features are not available in Caffeine. Setting the “render‐mode” of VMD to “GLSL,” so as to enable ray‐casting of spheres and high‐quality per‐pixel lighting of geometry74 (similarly to Caffeine). For static molecular systems, we also enabled the so‐called “cache‐mode” option of VMD, so as to use a display list caching mechanism to accelerate rendering of static geometry74 (although we did not notice any variation in performance). The computer on which the benchmark was performed is equipped with two Intel Xeon E5462 processors with a clock frequency of 2.8 GHz, 24 GB of RAM, a NVIDIA Quadro 6000 GPU, and Windows 7 Professional as operating system. Images were rendered full‐screen, at a resolution of 1920 × 1080 pixels. Actually, VMD had a little advantage here, since we were not able to hide the title bar of its rendering window, so it rendered images at a slightly lower resolution. Table 1 summarizes the frames per seconds rendered by the desktop versions of the two molecular viewers in the case of static molecular structures. To perform this benchmark we chose two medium‐large assemblies from the Worldwide Protein Data Bank: (i) 1AON75 composed by 58,870 atoms (without hydrogens) and (ii) 5AOO76 composed by 356,280 atoms (without hydrogens). These two systems have been drawn according to the “Space filling” (van der Waals spheres), “Balls‐and‐Sticks” and “Ribbons” representations (and their equivalents in VMD: “VDW,” “CPK,” and “New Cartoon”). In VMD, we used the default quality settings for each representation, apart from the use of ray‐casted spheres in place of tessellated ones. In Caffeine it is possible to specify quality settings only for ribbon diagrams, and we set them to the maximum quality. As one can see from Table 1, Caffeine is significantly faster than VMD when drawing static molecular systems.
Table 1

Comparison of the performance between the desktop versions of Caffeine and VMD when visualizing static molecular structures

Molecular system
1AON5AOO
Number of atoms 58,870356,280
Representation fps fps
Caffeine Space filling 8755
Balls & Sticks 18571
Ribbons 273128
VMD VDW 173
CPK 122
New Cartoon 2307

The results are expressed as frames per seconds. Different graphical representations have been considered. In VMD we chose the representations that more closely resemble those of Caffeine.

Comparison of the performance between the desktop versions of Caffeine and VMD when visualizing static molecular structures The results are expressed as frames per seconds. Different graphical representations have been considered. In VMD we chose the representations that more closely resemble those of Caffeine. Table 2 shows the results obtained during the visualization of a trajectory related to the dissociation of DOX from the DNA binding site (presented later as a case study). The system is composed by a fragment of DNA (378 atoms), a DOX molecule (69 atoms) and 8987 molecules of water (26,961 atoms). The trajectory contains 201 frames. For this system, we employed a mixed representation: ribbons for DNA (“New Ribbons” in VMD), balls‐and‐sticks for the DOX (“CPK” in VMD) and licorice for the water molecules. Furthermore we disabled the “cache‐mode” option of VMD, as suggested by the user's guide74 when dealing with trajectories. Both viewers have been configured to play a frame of the trajectory for each rendering frame, to reveal the maximum frame rate for the trajectory. In this scenario, Caffeine is slightly slower than VMD, even if the obtained frame rates have the same same order of magnitude. However, it is clear that visualization of dynamic structures in Caffeine, although fast enough in many cases, needs further optimization.
Table 2

Comparison of the performance between the desktop versions of Caffeine and VMD when visualizing a trajectory resulting from molecular dynamics

DNA‐DOX complex trajectory
Max trajectory frames per seconds
Caffeine 12
VMD 17

The tested system is the DNA‐DOX complex simulation of a single umbrella sampling window (more details in Case Studies section). The results are expressed as the maximum trajectory frames displayed in a second.

Comparison of the performance between the desktop versions of Caffeine and VMD when visualizing a trajectory resulting from molecular dynamics The tested system is the DNA‐DOX complex simulation of a single umbrella sampling window (more details in Case Studies section). The results are expressed as the maximum trajectory frames displayed in a second. Tables 3 and 4 show the performance (min/max frames rate) of Caffeine in our CAVE system, when visualizing static and dynamic data. Overall, performances are comparable to those obtained on the desktop system, thus allowing a comfortable and fluid immersive experience (although presenting the limits reported above for trajectories). The computer driving our CAVE is equipped with two Intel Xeon E5645 processors with a clock frequency of 2.4 GHz, 24 GB of RAM, two NVIDIA Quadro M6000 GPUs in SLI configuration, and Windows 10 Enterprise as operating system.
Table 3

Performance of Caffeine in visualizing large assemblies (PDB 5AOO) in our CAVE system; minimum and maximum frame rate for van der Waals, Balls‐and‐Sticks, and Ribbons representations

5AOO
Min fpsMax fps
Space filling 3173
Balls‐and‐Sticks 3562
Ribbons 5185
Table 4

Performance of Caffeine in visualizing a trajectory resulting from molecular dynamics (DNA‐DOX complex) in our CAVE system; minimum and maximum frame rate

DNA‐DOX trajectory
Min fps Max fps
1012
Performance of Caffeine in visualizing large assemblies (PDB 5AOO) in our CAVE system; minimum and maximum frame rate for van der Waals, Balls‐and‐Sticks, and Ribbons representations Performance of Caffeine in visualizing a trajectory resulting from molecular dynamics (DNA‐DOX complex) in our CAVE system; minimum and maximum frame rate

Case studies

In this section, we show some useful graphic representations of simulation results obtainable with Caffeine. In the first section, we include a spin‐density evaluation of 2,2,6,6‐tetramethylpiperidine‐1‐oxyl‐4‐amino‐4‐carboxylic acid (TOAC).77 In the second one, we used the results of a recent study on Cytochrome P450 2B4.78 As a last case study, we present the whole DNA‐DOX investigation, from the simulation setup performed within the CAVE to the final analysis.

Spin density visualization

The analysis of isosurfaces, obtained by QM calculations or classical simulations, is particularly important in molecular sciences. In fact, the graphic representation of molecular orbitals, electron densities or electron localization functions provides a valuable help to characterize structural properties, to describe molecular interactions and to interpret spectroscopic properties. Also in the case of classical simulations the availability of volumetric datasets allows to visualize a series of useful properties such as, for example, electrostatic potential, molecular cavities (see Figure 9) or average density/occupancy (e.g., when calculating spatial distribution functions) near a selected site. As a first example of volumetric data we present the results obtained for the 2,2,6,6‐tetramethylpiperidine‐1‐oxyl‐4‐amino‐4‐carboxylic acid (TOAC) molecule, which is characterized by the presence of a nitroxide moiety and by the possibility to be inserted into polypeptide chains substituting a natural amino acid.77, 79 It is a stable radical, which can be employed as probe in electron spin resonance measurements, allowing to obtain useful information on the conformation of the studied peptide molecule. Density functional theory (DFT) calculations have been revealed effective in the description of the electronic structure of TOAC,77, 80, 81 allowing to determine that the unpaired electron occupies an anti‐bonding molecular orbital localized on the oxygen and nitrogen atoms of the nitroxide moiety (Figure 7a). The correct computation of the TOAC electronic structure is particularly important, because the magnetic properties, which allow to employ this molecule as spin label, are ruled by its singly occupied molecular orbital (SOMO). A similar method to visualize the unpaired electron localization is through the spin density, sketched in Figure 7b. It is interesting to note (see Figure 7c) that the spin density is essentially the same also introducing TOAC in a polypeptide chain, confirming the importance of this radical in conformation studies.
Figure 9

Superposition of representative structures, together with relative water channels, of three different mutants of Cytochrome P450 2B4, both on a standard desktop (a) and within the CAVE (b)

Figure 7

(a) and (b) represent SOMO orbital and spin density of TOAC, respectively, while (c) is the spin density of the Z‐TOAC‐(l‐Ala)2‐NHtBu. Structural and electronic properties have been computed at PBE0/6‐311++G(d,p) level of theory with Gaussian 09[56] suite of programs

(a) and (b) represent SOMO orbital and spin density of TOAC, respectively, while (c) is the spin density of the Z‐TOAC‐(l‐Ala)2‐NHtBu. Structural and electronic properties have been computed at PBE0/6‐311++G(d,p) level of theory with Gaussian 09[56] suite of programs

Structure and dynamics of large systems

Enzymes belonging to the Cytochrome P450 hemoproteins family are devoted to the oxidation of a wide range of organic compounds, from drugs to environmental pollutants. Hydrophilic channels, connecting the active site to the protein surface allow the buried heme group to react with the various substrates.82 The role of the conserved Phe429 on the catalytic activity has been thus investigated through extensive classical MD simulations and clustering analysis of the wild type (WT) together with other four different mutants, highlighting structural and hydrogen bonding observable differences.78, 83 The single point mutation was identified to be responsible of several long‐range effects, including the topology of the functional aqueous accesses to the catalytic site. To get light on this, each MD frame of each of the five mutant MD simulations was analyzed to find possible tunnels regulating the access to the heme ion. In a second step such identified tunnels were connected to real pathways by means of an average linkage clustering technique. A total of four major channels were found. In particular, one major pathway was detected in all the five MD simulations, featuring different average bottleneck radius values as we proceed from the WT (lower average radius observed) to the mutants. The different behavior among the mutants was explained in terms of subtle alterations in the hydrogen bond network, that propagated along the systems and affected the whole geometries. Since IVR environments are well suited for deep investigations on geometries of large systems, we present feasible applications of our immersive tool in the visualization of different cluster members, pointing out the detection of cluster centroids and the structural differences between them (see Figure 8). Each MD frame, previously included in one specific cluster, is showed together with an index, which specifies its cluster membership. The user can switch from one cluster to another one, and select in this really feasible and nice way eligible key‐frames to represent cluster centroids or outlying “extreme” conformers in clusters, to describe the differences within the obtained clusters and the relationships between the various mutations. The detected channels can also be visualized in Caffeine thanks to the support for Gaussian Cube file format.36 To be supported in Caffeine, the channels identified in the previous study have been thus converted in Guassian Cube format, thanks to an in‐house script, which computes density values using a simple Gaussian function taken from the literature.84 As shown in Figure 9b, the difference and peculiarities among the mutants can be highlighted by displaying simultaneously the relative structures within the CAVE. Such investigations could be easily performed thanks to IVR technologies: on the contrary, the complex structures of this dataset could lead to unpleasant misunderstanding using a 2D computer desktop, mostly when the same analysis is explained to nonexperts.
Figure 8

(a) Cytochrome P450 2B4 WT structure shown using ribbons. The heme group and OOH− anion are shown in balls‐and‐sticks. (b) Distribution of conformations in clusters along the artificial trajectory created by sampling structures from the original WT and the four mutants simulations. Less frames were used with Caffeine, obtained from a uniform re‐sample of the original clusters. (c) Comparison of the differences between the obtained clusters using virtual reality with Caffeine

(a) Cytochrome P450 2B4 WT structure shown using ribbons. The heme group and OOH− anion are shown in balls‐and‐sticks. (b) Distribution of conformations in clusters along the artificial trajectory created by sampling structures from the original WT and the four mutants simulations. Less frames were used with Caffeine, obtained from a uniform re‐sample of the original clusters. (c) Comparison of the differences between the obtained clusters using virtual reality with Caffeine Superposition of representative structures, together with relative water channels, of three different mutants of Cytochrome P450 2B4, both on a standard desktop (a) and within the CAVE (b)

Dissociation of DOX from the DNA binding site

Intercalating drugs act as inhibitors of Topoisomerase I or II (or both). DOX is an antraciclynic intercalating drug whose structure can be divided in (i) a planar hydrophobic part, constituted by an antraquinone ring system, and (ii) a hydrophilic aminosugar moiety. Intercalating drugs bearing fused (hydrophobic) ring systems can insert between base pairs through the creation of favorable π‐stacking with nearby nucleobases.85 We report in this section, a study about the unbinding process of DOX from DNA, to show the effectiveness of IVR tools within a computational research project. The unbinding process of DOX from the binary complex was here investigated with umbrella sampling,86 using the distance between the center of mass (COM) of DOX and of the binding site as the reaction coordinate. The selection of the starting configurations for the umbrella windows was performed with our IVR environment: the ability to view, at the same time, a molecular conformation and the chart reporting the distance between COMs was exploited to select sensible structures in a very accurate way (see Figure 6). These structures were marked as key‐frames and used for the subsequent umbrella simulations (details about the simulations are reported in the Supporting Information). The obtained free energy ΔG is represented in Figure 10b. Interestingly, a partially stable state was found at 10.2 Å: here the rigid body of the DOX molecule lies on the plane defined by the two DNA backbones, while the intercalation site is still in an opened conformation. This state may be associated to the intermediate one (IM) already found in the case of daunomycin.87 Roughly, 14 kcal/mol are necessary for DOX to reach the solvent.
Figure 10

Binary complex dissociation process. Note that in panels (b‐d) the position of the intermediate at 10 Å and final dissociated state along the sampling coordinate is highlighted with a blue dashed line. (a) Binding site of the DOX compound in the initial conformation. The position of the binding site COM (b.s., gold sphere) and of DOX (purple sphere) is shown. (b) Potential of mean force (PMF) curve associated to the distance between centers of mass of the binding base pairs and of the DOX drug. (c) Calculated change in rise between DNA base pairs. (d) Number of hydrogen bonds between the binding site nucleobases (black) or DOX (red) with water molecules

Binary complex dissociation process. Note that in panels (b‐d) the position of the intermediate at 10 Å and final dissociated state along the sampling coordinate is highlighted with a blue dashed line. (a) Binding site of the DOX compound in the initial conformation. The position of the binding site COM (b.s., gold sphere) and of DOX (purple sphere) is shown. (b) Potential of mean force (PMF) curve associated to the distance between centers of mass of the binding base pairs and of the DOX drug. (c) Calculated change in rise between DNA base pairs. (d) Number of hydrogen bonds between the binding site nucleobases (black) or DOX (red) with water molecules Since intercalation, and, subsequently, dissociation of anthracyclines from DNA has been demonstrated to alter the DNA structure,88 we selected few parameters to measure the structural modifications that take place during the binding process, which could be used in further analysis. Figure 10c shows the average rise distance between base pairs in the intercalation site as a function of the reaction coordinate in the simulated windows. High rise values (of approximately 7.5 Å) are detected for the intercalated state: then, as DOX approaches the bulk solvent, the distance between two consecutive bases decreases, reaching a final value of about 3.5 Å in the unbound state, very close the value of 3.4 Å featured by native B‐DNA. The intermediate state (whose structure could be considered as the mean structure of the umbrella window starting at 10 Å of COMs distance) is showed both on a standard desktop and using IVR in Figure 11: it is possible to observe that such conformation seems to be still in an opened conformation (assuming a rise value close to 6 Å), thus being accessible by water molecules.
Figure 11

(a) Intermediate bound state of DOX with the nearest neighbor water molecules shown as licorice. (b) Same as (a), within the CAVE

(a) Intermediate bound state of DOX with the nearest neighbor water molecules shown as licorice. (b) Same as (a), within the CAVE The hydration of the binary system as a function of the reaction coordinate was taken into account (and plotted in Figure 10d): such property was calculated as the average number of hydrogen bonds between water molecules and either DOX or the four nucleobases that delimit the binding site. The intercalation induces a decrease of the H‐bonds since DOX acts as a barrier for water molecules, which cannot enter into the binding site. At the same time, DOX is less hydrated as it approaches the DNA binding task: on average, two hydrogen bonds that take place in the DOX unbound state are not preserved in the intercalated one. It is interesting to observe a peak of average number of hydrogen bonds in proximity of the intermediate state: in fact, at this point, DOX has already left the intercalation site, so as to be considered solvent‐exposed whereas the binding site is still opened. Finally, after 10 Å of COM distance, the number of water molecules H‐bonded to the binding site bases slowly decreases. This is in agreement with our previous considerations: in fact, after this point, as shown in Figure 10c, the binding site reduces its size, because of the departure of DOX, thus decreasing water accessibility to the intercalation site nucleobases. Suitably chosen conformations (i.e., the centroids of the single umbrella windows) were used to reconstruct the whole unbinding process, from the intercalated to the completely unbound state, through the IM one, so as to build an artificial trajectory to be used in Caffeine to follow in the meanwhile both chemical structure evolution and related structural parameters. Moreover, considering the PMF chart in Figure 10b, it is always possible to connect the current, visualized snapshot to its associated free energy value just switching from the COMs distance chart to the PMF one, thus increasing the user's understanding of the overall free energy study. It is important to highlight here that a quantitative evaluation of binding/unbinding of DOX was not the ambition of the present study: here we applied a simplified (to limit the computational cost), yet consistent, computational protocol for illustrating the features of Caffeine to a wide audience. It is anyway remarkable that the obtained results are in line with currently available literature data.

Conclusion and outlooks

In this contribution, the technical details and main features of Caffeine, a novel molecular viewer suited for IVR environments, are presented. Caffeine allows a smooth transition from desktop computers, where the most diffused molecular graphics software work, to IVR systems, such as helmets and the CAVE theater. In our opinion, it is reasonable to expect benefits from systematic use of IVR environments within computational investigations. In fact, molecules can be perceived as three‐dimensional objects with a well‐established position of atoms in space, thus being characterized in a more precise and effective manner. Moreover, some peculiar features of Caffeine, such as the augmented reality‐like visualization of 2D charted data and the interactive filtering of trajectories with “key‐frames,” envision our idea of possible, productive and realistic employment of IVR in computational chemistry, which could be seen as reliable front‐end tool in post‐processing analysis. Caffeine is under active development and there are a number of new features we would like to add in the future releases. It is worth noticing that, although the current version of Caffeine allows to visualize orbitals, spectra, and time evolution of molecular properties, which can be useful in the interpretation of some spectroscopic observable, further improvements are needed for obtaining a full user‐friendly virtual spectrometer. Although, it is sufficiently fluid, the visualization of multiple structures (trajectories) would benefit from further optimization. Such an optimization can be implemented, for example, using some GPU‐accelerated methods, like those proposed by Krone et al.49 and by Wahle and Birmanns89 for ribbon generation. Another line of development concerns the interaction with visualized data. Right now, within the CAVE the user is able to interact with the system by means of a simple application for tablet computers. Furthermore, at present, many features of Caffeine cannot be controlled via tablet, and require the help of a second user acting on the external control panel. We want to better exploit our tracking system by enabling hands tracking within the CAVE, thereby allowing the user to manipulate the visualized system, that is, to move, scale, rotate the system and playing back or forward across frames. As for IVR helmets, we plan to officially support this kind of devices in the near future. From a general perspective, we envision Caffeine as an advanced graphics front‐end focused on visualization and interactive data handling, able to communicate with other analysis environments using flexible interchange formats. As an example, we are working on a flexible representation of hydrogen bonds from MD.90 Other efforts are being directed in more extended visualization of volumetric and spectroscopic quantities, acting as an IVR front‐end for other analysis environments.91 Additional Supporting Information can be found in the online version of this article at the publisher's website. Supporting Information Click here for additional data file.
  20 in total

Review 1.  Interplay of electronic, environmental, and vibrational effects in determining the hyperfine coupling constants of organic free radicals.

Authors:  Roberto Improta; Vincenzo Barone
Journal:  Chem Rev       Date:  2004-03       Impact factor: 60.622

2.  Ambient occlusion and edge cueing to enhance real time molecular visualization.

Authors:  Marco Tarini; Paolo Cignoni; Claudio Montani
Journal:  IEEE Trans Vis Comput Graph       Date:  2006 Sep-Oct       Impact factor: 4.579

3.  Unraveling solvent-driven equilibria between alpha- and 3(10)-helices through an integrated spin labeling and computational approach.

Authors:  Silvia Carlotto; Paola Cimino; Mirco Zerbetto; Lorenzo Franco; Carlo Corvaja; Marco Crisma; Fernando Formaggio; Claudio Toniolo; Antonino Polimeno; Vincenzo Barone
Journal:  J Am Chem Soc       Date:  2007-08-18       Impact factor: 15.419

4.  GPU-accelerated atom and dynamic bond visualization using hyperballs: a unified algorithm for balls, sticks, and hyperboloids.

Authors:  Matthieu Chavent; Antoine Vanel; Alex Tek; Bruno Levy; Sophie Robert; Bruno Raffin; Marc Baaden
Journal:  J Comput Chem       Date:  2011-07-07       Impact factor: 3.376

5.  Knowledge-based protein secondary structure assignment.

Authors:  D Frishman; P Argos
Journal:  Proteins       Date:  1995-12

6.  Molecular simulations and visualization: introduction and overview.

Authors:  Jonathan D Hirst; David R Glowacki; Marc Baaden
Journal:  Faraday Discuss       Date:  2014-10-06       Impact factor: 4.008

7.  SURFNET: a program for visualizing molecular surfaces, cavities, and intermolecular interactions.

Authors:  R A Laskowski
Journal:  J Mol Graph       Date:  1995-10

8.  Multistep drug intercalation: molecular dynamics and free energy studies of the binding of daunomycin to DNA.

Authors:  Matthieu Wilhelm; Arnab Mukherjee; Benjamin Bouvier; Krystyna Zakrzewska; James T Hynes; Richard Lavery
Journal:  J Am Chem Soc       Date:  2012-05-11       Impact factor: 15.419

9.  A single-site mutation (F429H) converts the enzyme CYP 2B4 into a heme oxygenase: a QM/MM study.

Authors:  Dandamudi Usharani; Costantino Zazza; Wenzhen Lai; Mukesh Chourasia; Lucy Waskell; Sason Shaik
Journal:  J Am Chem Soc       Date:  2012-02-22       Impact factor: 15.419

10.  The use of noncrystallographic symmetry averaging to solve structures from data affected by perfect hemihedral twinning.

Authors:  Charles Sabin; Pavel Plevka
Journal:  Acta Crystallogr F Struct Biol Commun       Date:  2016-02-16       Impact factor: 1.056

View more
  10 in total

1.  Peppy: A virtual reality environment for exploring the principles of polypeptide structure.

Authors:  David G Doak; Gareth S Denyer; Juliet A Gerrard; Joel P Mackay; Jane R Allison
Journal:  Protein Sci       Date:  2019-11-11       Impact factor: 6.725

Review 2.  Molecular Visualization on the Holodeck.

Authors:  Thomas D Goddard; Alan A Brilliant; Thomas L Skillman; Steven Vergenz; James Tyrwhitt-Drake; Elaine C Meng; Thomas E Ferrin
Journal:  J Mol Biol       Date:  2018-06-28       Impact factor: 5.469

3.  Immersive virtual reality in computational chemistry: Applications to the analysis of QM and MM data.

Authors:  Andrea Salvadori; Gianluca Del Frate; Marco Pagliai; Giordano Mancini; Vincenzo Barone
Journal:  Int J Quantum Chem       Date:  2016-07-13       Impact factor: 2.444

4.  On the relation between carbonyl stretching frequencies and the donor power of chelating diphosphines in nickel dicarbonyl complexes.

Authors:  Marco Fusè; Isabella Rimoldi; Edoardo Cesarotti; Sergio Rampino; Vincenzo Barone
Journal:  Phys Chem Chem Phys       Date:  2017-03-29       Impact factor: 3.676

Review 5.  The Matter Simulation (R)evolution.

Authors:  Alán Aspuru-Guzik; Roland Lindh; Markus Reiher
Journal:  ACS Cent Sci       Date:  2018-02-06       Impact factor: 14.553

6.  Molecular Perception for Visualization and Computation: The Proxima Library.

Authors:  Federico Lazzari; Andrea Salvadori; Giordano Mancini; Vincenzo Barone
Journal:  J Chem Inf Model       Date:  2020-04-20       Impact factor: 4.956

7.  A virtual reality classroom to teach and explore crystal solid state structures.

Authors:  Erica Stella; Isabella Agosti; Nicoletta Di Blas; Marco Finazzi; Pier Luca Lanzi; Daniele Loiacono
Journal:  Multimed Tools Appl       Date:  2022-08-11       Impact factor: 2.577

8.  Computational simulation of vibrationally resolved spectra for spin-forbidden transitions.

Authors:  Franco Egidi; Marco Fusè; Alberto Baiardi; Julien Bloino; Xiaosong Li; Vincenzo Barone
Journal:  Chirality       Date:  2018-05-04       Impact factor: 2.437

9.  CPL Spectra of Camphor Derivatives in Solution by an Integrated QM/MD Approach.

Authors:  Sara Del Galdo; Marco Fusè; Vincenzo Barone
Journal:  Front Chem       Date:  2020-07-07       Impact factor: 5.221

Review 10.  An immersive journey to the molecular structure of SARS-CoV-2: Virtual reality in COVID-19.

Authors:  Martín Calvelo; Ángel Piñeiro; Rebeca Garcia-Fandino
Journal:  Comput Struct Biotechnol J       Date:  2020-09-18       Impact factor: 7.271

  10 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.