How to create Protein or Chemical structures in .pdb or .mol format for use with iBooks Author. Please help.

Dear Community,
       There are a large variety of software packages used by Chemists and Biologists to view and manipulate Protein and Chemical structures in 3D. They typically have formats such as .pdb, or .mol. I have looked around and none of the software packages that I currently use allow me to export to the COLLADA (.dae) format.
        Does anyone have any idea where to begin to allow me to do this. I would like to try and put in some of the 3D objects into the iBook Author program.
Thank you. Chase

I believe that Apple should have provided an easily way to get Pymol images into iBooks Author as VRML has been the de facto standard.  After a number of days, I have a method which works, but this much effort should not be necessary.  Anyway here it is.
1)  Set the viewport in Pymol to 512,384 to do this in the command window type
viewport 512,384
Note, I'm not totally sure you need to do this.
2) Draw you image in Pymol and output the image in VRML format, to do that
File -> Save Image As -> VRML 2 ...
I'll assume that you have given the file the name "pymol_output", you actual get pymol_output.wrl
3) In a terminal window go to the folder where the above file is located and issue the following command.  This removes some stuff that messes up the lightening
sed '9,15d' pymol_output.wrl > bender_in.wrl
4) Next you need blender.  You can download it from
http://www.blender.org/download/get-blender/
5)  Open Blender.  In the upper right corner in the Scene section
right click on Lamp and delete it
right click on Cube and delete it
right click on Camera and delete it
Save this file so you don't have to do this every time.  I called mine empty_blender_file.blend
6) Either open empty_blender_file.blend or continue from #5 and read in the file from #3
File -> import->X3D Extensible 3D (.x3d/.wrl)
this reads in the file
7) Write out the file in collada .dae format
File->export->collada (.dae)
Done.  This file will read into iBooks Author and have somewhat uniform lighting.  By the way, .dae files can be opened an checked in Preview.  Its easier than going back and forth into the iPad, since you can rotate the image in Preview.
Hope this helps, let me know if it works for you and if you have any suggestions.
Finally someone needs to write a one step VRML and X3D to collada converter that will work with PyMol and Chimera etc.
Have fun!

Similar Messages

Maybe you are looking for

  • Calculation of tax on inclusive amounts

    Dear all expert. We have a problem as follows I want to calculate Service tax on inclusive amount. For example........ total Invoice amount is Rs. 100.00 Service Tax is % 12.36 Therefor Service tax amount is 100*100/112.36 Therefore i want to post  t

  • How do you get pics back after you iPod deletes them?

    I turned on my iPod today to show my cousin a photo I had taken of his baby. When it opened it said recovering photo library.. It had done that 1,000 times before so I didn't expect anything. After it finished I had 0 pics and 0 videos.. I know I did

  • F110_APP_Payment Advice Form_ Very Urgent

    Hi, All I have an very urgent problem which needed to be solved immidiatly, I need to prepare a payment advice form as per the requirement of the client, The problem is, I unble to test the developed form at APP run, I want know where or How I can se

  • Help with a simple GUI.

    I am totally new to building GUI's. Everything I have picked up I did so online. From what I have learned this should work, but it throws all sorts of exceptions when I run it. package com.shadowconcept.mcdougal; import javax.swing.*; import java.awt

  • For the ISO code TRY there is no unique SAP currency code for ALE

    Hi, I was trying to download cost centres from FICO to SAP HR via BD17. These are Turkish cost centres. I received an error: For the ISO code TRY there is no unique SAP currency code for ALE What is missing and how can it be fixed? I guess it is sth