Loading...
 

Visualizing 3D structures as holograms - Using MergeCube

1. Visualizing 3D structures as holograms

Requirements

1. PyMOL (or Chimera)- for structure preparation

2. Merge Cube - Object Viewer - app for augmented reality

3. Merge Cube - device for augmented reality

4. Miniverse - online account

1.1. Structure preparation

Set the desired color, style and other visualization options in your favorite visualization tool. In this example, we use a ribbon style for a protein molecule imported from PDB

into PyMOL (or Chimera- see alternate instructions 2a.).

1.2. COLLADA export

1. 2a. Export the image from PyMOL in a COLLADA format, using the File - Export Image As - COLLADA… menu option in PyMOL.  Save this with a “.dae” file extension.

2Fb-iQKFksCVzzCwPOGZ_nanADpNy_64ns2zH7bX10y_DDVan16BOFgzeHc-NQqckOXNlaCcHNt4T1e81j20tYOAZQeGiDYpj31lwN5kdCd5IqWbBDOR0tSJeOuK0xm-3iIiqWmf

1. 2b. If you prefer to use Chimera instead of PyMol, use File>>Export Scene.  Set File type to “COLLADA .dae”, give a file name and click Save.

 

VzWgKWmH7oVOBicQuX2s76MRwS1SDSGjO9TaJ_uqaCU60v-lmu0nzGCOwtT6cquGvJAdgkNAoUMk4HN-T-WZclGZwHM_EtlxrqrpWyaAm5KT_wOhE5-YW21Lz9T3n6V-P-jxO4tI

 

For .dae files saved in Chimera, you must open the file in a text editor and add the following line as the first line, exactly as shown, then save the edited file:

 

<?xml version=”1.0” encoding=”UTF-8”?>

1.3. Upload structure to Miniverse

  • In your miniverse account, choose the “My Objects” option, Click “Add New” button and then Click “Choose a file” button, to navigate to your folder containing the .dae file you saved.
  • If you do not have one, you can create a new miniverse account at ; https://miniverse.io
  • A successful upload will give you a unique code that you could use to load your structure in object viewer app

sq15U8wqAMAWVgy2F7rVr4E6-77ZcjGLMdLg84qvyj850nqigr6XSE2l93U_yzLia8IFuubm5dmlWehF_36hUcg-YoEMFFegIpMEqm_Fdph84D1f0ORn7obn3hopaRG4tE0G3fqn

1evTuDCOtQKTq4H39hbDJIlXEwHLB5pfYwTgUYB1lvU0u_EIJjFZif76jwnzJYLut9fRCbShZZ8p0UVCXl-YLAQN8Fs2phrqVljvvLAIFkysYtL-tcLsZntfZEA1ieNPFHHcsAC_TfOYY5Ls6kT-U4eqklXui6tmaHAJW3LXdTELq6uRyhhGm56k4x-oQSHcKYn_QuRSG5j7WL5QCvNykzKLOV5PF00WiQv9zowauS4hMWlbv_22okT1k4T5VPeuj06sYIcawLVEdASO

1.4. Load Structure in Object Viewer

  • Start the Object Viewer app in your mobile phone and choose the “Phone Mode”.
  • Enter your object code “MYL6DD” and click “Load” button.
  • Once loaded, hold the phone in one hand, hold the merge cube in another hand and move the merge cube right before your phone, to see the hologram of the structure in your phone screen

 

ssusyDNNSUahHjg5Jd5Gw2GZA54ziiiEs9vM0mDHUGNR_Mi_T27mR6nxXcn3pGRwNfsRp_IKxK6DzPZr6ESyKJgOgEb5byS-6HUNUF3jXd99Tz2piWY_fzsweeXxJjvWoakA5lTVc_C1wfL4NkyToctTlUrkssxLzyCnyLPlp9xd9MBYPkTXgZsp7xGxoM3UxdmgQEp9hj3kQ2VjD85g1fn2pq65YLJGKbnwqucXR54eSOHiV_6FKM3iHpeCvT1CUJfeta-JnXqYnq_uBi6MWRWRjpwTolGAcIu-OeFcw2mt1SshOv1wVrYv5GSrxhegCPcm4qzs5B-x5n4PPCCSPf35I4dcGr_ulE6Hj8haWctqSYj33JGaNTd7JFzu_BEF4xrjvDEidEDj4nGT98WeITtF

1.5. Structure visualization

  • You can change the size of the object to get it how you want for the picture by tapping in the box where the object appears, then click Edit in the menu that appears.  
  • Click Scale in the Edit menu, and resize by moving your finger up and down.  
  • When finished, click Done, then again click Done, and finally click outside the object to remove the menu.


Reference: https://www.macinchem.org/reviews/3D/augmented.php

1.6.  Using structures from Jmol applications

Some online applications use Jmol (or JSmol) to display molecular structures.   Examples are PyCoMFA and ZINCPharmer. You can export these images into 3D formats as follows:

 

1.6.1  Control-click in the graphics window and choose File>>Export>>Export X3D 3D model

 

_05VejflpJ6PPwTmOcyDdx5Ikgj3ORRO5O-1LucvGEmzr4niPY2OrN6sii0JDp_6x2Q4OoFc0_mwdMf3NCspE51kIdQ6bKCmXJMsz2lxr5umFAJ9neDRf89NK7VNE1GzHOWf3xFu

Enter a filename and click OK (you may have to click OK twice).

 

1.6.2  Launch MeshLab and open the .x3d file you just created:

File>>Import Mesh

1.6.3  Look at the bottom of the screen.  If the number of vertices is more than 250,000 you should simplify (decimate) the mesh:o

Filters>>Remeshing, Simplification and Reconstruction>>Quadric Edge Collapse Decimation

Set “Target number of faces” to 250000 and click Apply.

1.6.4  Export the mesh as a .dae file.

File>>Export Mesh As…

Choose “Collada File Format (*.dae)” as the file format, give the new file a name, and click Save.

 

1.6.5  Upload the file to Miniverse and view it with a Merge Cube as in steps 18.3 - 18.5 above.