Skip to main content
Bioinformatics logoLink to Bioinformatics
. 2025 Mar 17;41(3):btaf118. doi: 10.1093/bioinformatics/btaf118

VisionMol: a novel virtual reality tool for protein molecular structure visualization and manipulation

Xin Wang 1,2, Yicheng Zhuang 2,2, Wenrui Liang 3,2, Haoyang Wen 4,2, Zhencong Cai 5, Yujia He 6, Yuxi Su 7, Wei Qin 8, Yuanzhe Cai 9, Lixin Liang 10,, Bingding Huang 11,
Editor: Jianlin Cheng
PMCID: PMC11947413  PMID: 40097270

Abstract

Motivation & Results

Virtual reality (VR) technology holds significant potential for applications in biomedicine, particularly in the visualization and manipulation of protein molecular structures. To facilitate the study of protein molecules and enable the state-of-the-art VR hardware, we developed a novel VR software named VisionMol, which allows users to engage in immersive exploration and analysis of 3D molecular structures using a range of VR platforms (such as Rhino X Pro, Meta’s Oculus Quest Pro/3) as well as personal computers. Built on the Unity engine and programmed using C#, VisionMol incorporates custom scripts to enable a variety of molecular operations. Users can rotate, scale, and translate molecular models using gestures, controllers, or other input devices. Furthermore, VisionMol offers rich visualization and interactive features, including multi-model molecular display, distance measurement between molecular components, and molecular alignment and docking.

Summary

These capabilities facilitate a more intuitive understanding of molecular interactions and chemical properties. The real-time interactive effects and clear visual representations allow users to delve deeper into the relationships between molecular structures and their properties, thereby accelerating research progress and promoting scientific discovery. We believe that this VR-based protein molecule analysis has significant application value in several fields, including biomedicine, life science education, drug design and optimization, biotechnology, and engineering applications.

Availability and implementation

The code is at https://github.com/WangLabforComputationalBiology/VisionMol. The v1.1 code (for Oculus Quest) could also be found at https://doi.org/10.5281/zenodo.14705790. The v1.0 code (for Rhino X Pro) could also be found at https://doi.org/10.5281/zenodo.14865216. Detailed documentation could be found at https://visionmol.surge.sh/#/en-us/README.

Graphical Abstract

Graphical Abstract.

Graphical Abstract

1 Introduction

Proteins are crucial molecular entities within biological systems, with their structure dictating their function. The scientific community has relentlessly pursued the study of protein molecules. By delving into the intricacies of protein molecules, we can gain insights into their secondary structures (such as α-helices and β-sheets) (Chakrabarti 2023) and tertiary structures (the 3D conformation of proteins) (Wuyun et al. 2024), thereby inferring potential functional mechanisms, including enzymatic activity, ligand binding, and signal transduction. In this process, protein molecule visualization technologies have emerged as a pivotal tool for analyzing protein structure and function. Currently available software like PyMOL (Schrödinger LLC 2015), UCSF Chimera (Pettersen et al. 2004), and Visual Molecular Dynamics (VMD) (Humphrey et al. 1996) offer extensive functionalities that enable users to effortlessly create molecular images and perform various structural analyses. Although these tools can display the 3D structure of proteins. However, these tools’ User experience (UX) is often limited by fixed cameras’ low resolutions, failing to fully convey the three-dimensionality of proteins in space. Moreover, user interactions typically rely on a mouse or keyboard, limiting interactivity to some extent.

Virtual reality (VR) technology provides a unique solution to address these issues. As a computer-generated simulation, VR allows users to immerse themselves and interact with a simulated environment, replicating sensory experiences of sight, sound, and touch, creating a sense of presence within the virtual world (Cruz-Neira et al. 1992). With recent advancements in VR technology, including the reduction in cost and improvement in performance of hardware, VR has become a burgeoning tool for molecular visualization.

As highlighted in various studies, VR visualization technology has been widely applied in biology. Currently, there are several 3D molecular visualization software developed based on VR technology, including (Holland et al. 2008), BioVR (Zhang et al. 2019), UnityMol (Doutreligne et al. 2014), and Molecular Rift (Norrby et al. 2015). In comparison to traditional molecular visualization tools like Pymol, these VR-based molecular visualization software offer distinct advantages. They provide immersive experiences, aiding users in better understanding and analyzing molecular structures. However, there are some limitations due to the nascent stage of VR technology when these software solutions were launched between 2016 and 2019. High costs associated with VR hardware and limited accessibility. Furthermore, despite providing immersive 3D molecular visualization, the available molecular models and data are relatively limited, which may not meet the specific needs of certain research areas. Moreover, the technological environment at the time also limited the stability and complexity of these software solutions.

To address these challenges, we have developed a new multi-functional VR molecular visualization tool called “VisionMol.” Upon entering the PDB ID (wwPDB Consortium 2019) of a protein molecule, VisionMol displays its 3D structure, which users can manipulate and analyze using VR controllers and other hardware devices.

2 Materials and methods

We selected Unity3D (hereafter referred to as Unity) as the development platform for VisionMol. Unity is a cross-platform game engine and application development tool, widely recognized as one of the most popular game development engines globally. Beyond gaming, Unity is extensively used in VR, augmented reality, 3D modeling, animation production, and engineering visualization. Therefore, Unity was the chosen platform for developing VisionMol.

2.1 Molecular data handling: PDB file format and parser

The Protein Data Bank (PDB) file format is used to store macromolecular structural data, primarily recording the 3D structures of proteins, nucleic acids, and other biomolecules (wwPDB Consortium 2019). VisionMol adopts UnityMol’s model import method and includes a built-in PDB file parser that effectively reads and interprets the 3D structural information of protein molecules from PDB files. Subsequently, utilizing Unity’s rendering technology, VisionMol transforms this information into 3D molecular structures displayed within the VR space.

2.2 Game objects and component-based programming in VisionMol

In Unity, each model is referred to as a “game object.” A complete protein molecule can be viewed as one game object, with each atom also represented as individual game objects. Components are fundamental parts of Unity game objects, enabling the functionality and behaviors. Unity allows users to script components on objects to implement custom functionality. According to official documentation, script components in Unity are primarily written in C#, the predominant programming language within the Unity ecosystem. In VisionMol, we predominantly utilize C# to script components that add various functionalities to the protein molecule models. Through these custom script components, we have implemented several functions, such as calculating distances between atoms within a single molecule, displaying various atomic labels, and comparing alignments among multiple molecules.

2.3 VisionMol’s user interface and hardware compatibility

VisionMol’s interface is a virtual scene built with Unity, as shown in Fig. 1A. Additionally, to accommodate different user preferences, VisionMol also supports simulation of various VR hardware operations using a computer screen and mouse, allowing it to run on users’ personal computers.

Figure 1.

Figure 1.

The illustration of VisionMol. (A) Illustrates the main interface of VisionMol, where users can independently select the molecular display models. (B) Showcases the molecular distance measurement feature of VisionMol. (C) Depicts the functionality for color coding different regions of molecules. (D) Demonstrates the molecular docking capabilities of VisionMol.

3 Key features

VisionMol’s capability to present and manipulate 3D molecular structures within one VR environment holds significant scientific, medical, and educational implications. Through VisionMol, users can explore and understand the 3D molecular world in unprecedented ways. We firmly believe that VisionMol will drive progress across various disciplines in the future.

This study developed a VR tool called VisionMol, designed to visualize 3D molecular structures within a VR environment while offering interactive manipulation capabilities. The key features provided by VisionMol include the following:

  1. The ability to load multiple molecular files in PDB format simultaneously within the VR scene.

  2. Natural 3D interaction using VR controllers, enabling intuitive translation, rotation, and scaling of the molecular structures.

  3. Support for various classical molecular representation methods, such as wireframe, stick, ball-and-stick, surface, and protein cartoon models.

  4. Measurement of the distance between any two atoms within a molecule.

  5. The ability to merge multiple molecular models into a unified composite structure.

  6. Display and hide atomic labels within the 3D molecular models.

  7. Visualization of molecular models divided into distinct color blocks based on residue grouping.

  8. Customization of color schemes for protein secondary structures, including alpha-helices and beta-sheets.

Traditional 2D representations, such as static images and 3D renderings on a flat screen, fail to accurately convey the spatial arrangement and dynamic behaviors of molecules (National Research Council 2006). However, through these features, VisionMol enables a precise representation of the spatial arrangement and dynamic structure of molecules, allowing users to conduct high-fidelity analyses of 3D models within a virtual environment, thereby significantly enhancing analytical efficiency.

Additionally, VisionMol is compatible not only with VR platforms like Oculus and Rhino X, but also with personal computers, providing flexibility for users with different hardware setups. VisionMol’s unique features, including high-resolution, interactive 3D molecular visualization, offer substantial value to researchers working with complex molecules. For laboratories without VR equipment, we are exploring options to adapt some of these features to standard 3D monitors, ensuring broader accessibility.

Furthermore, while traditional 3D protein visualization software meets basic scientific needs, VisionMol aims to expand its application, particularly in education and training. VR’s intuitive and interactive capabilities provide a more engaging learning experience for students and educators.

In the experiments, we tested VisionMol’s functionalities using various molecular models. For instance, the molecular distance measurement feature was evaluated with the molecule corresponding to PDB ID 6P8E, with the results shown in Fig. 1B. Similarly, using the 6P8E molecule, we tested the functionality of dividing the model into distinct color blocks based on residues, with the final model depicted in Fig. 1C. We also tested the secondary structure color adjustment feature in VisionMol. During this process, a 3D color palette is displayed, allowing users to manipulate the RGB values to individually adjust the colors of the various structural levels within the molecular model. Additionally, the molecular docking capability of VisionMol was tested using molecules 6WBW and 7ZZO. In this test, the model of 7ZZO was rendered using the surface representation, while 6WBW remained in the default cartoon representation, as shown in Fig. 1D.

4 Discussion

VisionMol enhances the analysis of multiple protein molecules by allowing users to import and customize both identical and distinct models, facilitating simultaneous analyses that reveal structural similarities, such as those between hemoglobin and myoglobin, crucial for oxygen transport (Perutz et al. 1960), and G protein-coupled receptors (GPCRs) with shared features (Stevens et al. 2013). It also supports measuring interatomic distances, displayed in angstroms (Å), which is vital for assessing distances between protein atoms in studies (Borbat et al. 2002), evaluating binding efficacy in drug design (Morris et al. 2009), and determining coordination modes in coordination compounds (Blaney and Scott Dixon 1994). Additionally, VisionMol enables the merging and docking of molecular models, enhancing visualization of spatial relationships and allowing comparative analyses that inform potential functions and mechanisms. This capability is particularly valuable for simulating complex biological and chemical systems, advancing the understanding of their structures and regulatory mechanisms (Guo et al. 2008). VisionMol also supports the alignment of multiple molecular models by allowing users to customize collision volumes for enhanced spatial overlap, which is crucial for structural comparison in drug design and quantitative structure–activity relationship (QSAR) studies (Gramatica 2007).

Regarding the performance characteristics of VisionMol, our benchmarking tests with standard PDB datasets (e.g. 1HHO [hemoglobin], 1TIM [triose phosphate isomerase]) demonstrate consistent frame rates over 90 FPS on mid-range GPUs (GTX 1080 equivalent). However, we observed frame rate fluctuations (45–60 FPS) when handling exceptionally large complexes like 1KF1 (ribosome, about 2.5 million Daltons) and 6VW1 (COVID-19 spike glycoprotein complex). This aligns with industry benchmarks; for comparison, PyMOL requires 12–18 s for initial 1KF1 rendering on equivalent hardware, while VisionMol averages 9–15 s.

Regarding hardware requirements, we formalized a three-tier specification guideline:

  • Minimum: GTX 1060 (4 GB VRAM), 4-core CPU, 8 GB RAM (30 FPS @ 1M Daltons)

  • Recommended: RTX 3060 (8 GB VRAM), 6-core CPU, 16 GB RAM (60 FPS @ 3M Daltons)

  • Professional: RTX 4090 (24 GB VRAM), Threadripper CPU, 32 GB RAM (90+ FPS @ 5M Daltons)

In order to better highlight the effectiveness of VisionMol, we have created a functional comparison chart with most similar products on the market, emphasizing the differences in VR platform applications (Supplementary Table S1).

In future, we will develop an integrated performance diagnostic tool that will automatically suggest rendering quality presets based on detected hardware capabilities. Also, we will explore out-of-core rendering for structures exceeding GPU memory, WebAssembly port for cloud-based preprocessing and machine learning-based topology prediction to bypass exhaustive verification.

Supplementary Material

btaf118_Supplementary_Data

Acknowledgements

We thank Yi Pan in SZTU for VR devices sharing.

Contributor Information

Xin Wang, College of Big Data and Internet, Shenzhen Technology University, Shenzhen 518118, China.

Yicheng Zhuang, College of Big Data and Internet, Shenzhen Technology University, Shenzhen 518118, China.

Wenrui Liang, College of Big Data and Internet, Shenzhen Technology University, Shenzhen 518118, China.

Haoyang Wen, College of Big Data and Internet, Shenzhen Technology University, Shenzhen 518118, China.

Zhencong Cai, College of Big Data and Internet, Shenzhen Technology University, Shenzhen 518118, China.

Yujia He, College of Big Data and Internet, Shenzhen Technology University, Shenzhen 518118, China.

Yuxi Su, College of Big Data and Internet, Shenzhen Technology University, Shenzhen 518118, China.

Wei Qin, College of Big Data and Internet, Shenzhen Technology University, Shenzhen 518118, China.

Yuanzhe Cai, College of Big Data and Internet, Shenzhen Technology University, Shenzhen 518118, China.

Lixin Liang, College of Big Data and Internet, Shenzhen Technology University, Shenzhen 518118, China.

Bingding Huang, College of Big Data and Internet, Shenzhen Technology University, Shenzhen 518118, China.

Author contributions

Xin Wang (Conceptualization [lead], Data curation [supporting], Formal analysis [supporting], Investigation [supporting], Methodology [supporting], Project administration [lead], Resources [equal], Software [supporting], Supervision [lead], Validation [supporting], Visualization [supporting], Writing—original draft [equal], Writing—review & editing [lead]), Yicheng Zhuang (Conceptualization [supporting], Software [lead], Visualization [equal], Writing—review & editing [supporting]), Wenrui Liang (Conceptualization [supporting], Software [lead], Visualization [equal], Writing—review & editing [supporting]), Haoyang Wen (Writing—original draft [lead]), Zhencong Cai (Software [equal], Writing—original draft [supporting]), Yujia He (Conceptualization [supporting], Software [equal]), Yuxi Su (Software [supporting]), Wei Qin (Writing—review & editing [equal]), Yuanzhe Cai (Writing—review & editing [equal]), Lixin Liang (Supervision [equal], Writing—review & editing [equal]), and Bingding Huang (Funding acquisition [lead], Supervision [equal], Writing—review & editing [equal])

Supplementary data

Supplementary data are available at Bioinformatics online.

Conflict of interest: None declared.

Funding

This work was supported by the Project of the Educational Commission of Guangdong Province of China [2022ZDJS113].

Data availability

The v1.1 code (for Oculus Quest) could be found at https://doi.org/10.5281/zenodo.14705790. The v1.0 code (for Rhino X Pro) could be found at https://doi.org/10.5281/zenodo.14865216. Detailed documentation could be found at https://visionmol.surge.sh/#/en-us/README.

References

  1. Blaney JM, Scott Dixon J.  Distance geometry in molecular modeling. Rev Comput Chem  1994;5:299–335. [Google Scholar]
  2. Borbat PP, McHaourab HS, Freed JH.  Protein structure determination using long-distance constraints from double-quantum coherence ESR: study of T4 lysozyme. J Am Chem Soc  2002;124:5304–14. [DOI] [PubMed] [Google Scholar]
  3. Chakrabarti P.  On the pathway of the formation of secondary structures in proteins. Proteins  2023;93:396–9. [DOI] [PubMed] [Google Scholar]
  4. Cruz-Neira C, Sandin DJ, DeFanti TA  et al.  The CAVE: audio visual experience automatic virtual environment. Commun ACM  1992;35:64–72. [Google Scholar]
  5. Doutreligne S, Cragnolini T, Pasquali S  et al. UnityMol: interactive scientific visualization for integrative biology. In: 2014 IEEE 4th Symposium on Large Data Analysis and Visualization (LDAV), Paris, France. IEEE, 2014, 109–10.
  6. Gramatica P.  Principles of QSAR models validation: internal and external. QSAR Comb Sci  2007;26:694–701. [Google Scholar]
  7. Guo Q, Jureller JE, Warren JT  et al.  Protein-protein docking and analysis reveal that two homologous bacterial adenylyl cyclase toxins interact with calmodulin differently. J Biol Chem  2008;283:23836–45. [DOI] [PMC free article] [PubMed] [Google Scholar]
  8. Holland RCG, Down TA, Pocock M  et al.  BioJava: an open-source framework for bioinformatics. Bioinformatics  2008;24:2096–7. [DOI] [PMC free article] [PubMed] [Google Scholar]
  9. Humphrey W, Dalke A, Schulten K.  VMD: visual molecular dynamics. J Mol Graph  1996;14:33–8. [DOI] [PubMed] [Google Scholar]
  10. Morris GM, Huey R, Lindstrom W  et al.  AutoDock4 and AutoDockTools4: automated docking with selective receptor flexibility. J Comput Chem  2009;30:2785–91. [DOI] [PMC free article] [PubMed] [Google Scholar]
  11. National Research Council. Visualizing Chemistry: The Progress and Promise of Advanced Chemical Imaging. Washington, DC: The National Academies Press, 2006. 10.17226/11663 [DOI] [PubMed]
  12. Norrby M, Grebner C, Eriksson J  et al.  Molecular rift: virtual reality for drug designers. J Chem Inf Model  2015;55:2475–84. [DOI] [PubMed] [Google Scholar]
  13. Perutz MF, Rossmann MG, Cullis AF  et al.  Structure of haemoglobin: a three-dimensional Fourier synthesis at 5.5-Å. resolution, obtained by X-ray analysis. Nature  1960;185:416–22. [DOI] [PubMed] [Google Scholar]
  14. Pettersen EF, Goddard TD, Huang CC  et al.  UCSF chimera—a visualization system for exploratory research and analysis. J Comput Chem  2004;25:1605–12. [DOI] [PubMed] [Google Scholar]
  15. Schrödinger LLC.  The PyMOL Molecular Graphics System, Version 1.8. By Schrödinger Inc., 2015.
  16. Stevens RC, Cherezov V, Katritch V  et al.  The GPCR network: a large-scale collaboration to determine human GPCR structure and function. Nat Rev Drug Discov  2013;12:25–34. [DOI] [PMC free article] [PubMed] [Google Scholar]
  17. Wuyun Q, Chen Y, Shen Y  et al.  Recent progress of protein tertiary structure prediction. Molecules  2024;29:832. [DOI] [PMC free article] [PubMed] [Google Scholar]
  18. wwPDB Consortium. Protein data bank: the single global archive for 3D macromolecular structure data. Nucleic Acids Res  2019;47:D520–8. [DOI] [PMC free article] [PubMed] [Google Scholar]
  19. Zhang JF, Paciorkowski AR, Craig PA  et al.  BioVR: a platform for virtual reality assisted biological data integration and visualization. BMC Bioinformatics  2019;20:78. [DOI] [PMC free article] [PubMed] [Google Scholar]

Associated Data

This section collects any data citations, data availability statements, or supplementary materials included in this article.

Supplementary Materials

btaf118_Supplementary_Data

Data Availability Statement

The v1.1 code (for Oculus Quest) could be found at https://doi.org/10.5281/zenodo.14705790. The v1.0 code (for Rhino X Pro) could be found at https://doi.org/10.5281/zenodo.14865216. Detailed documentation could be found at https://visionmol.surge.sh/#/en-us/README.


Articles from Bioinformatics are provided here courtesy of Oxford University Press

RESOURCES