Sunset Lake Software - Comments for "file format help" http://www.sunsetlakesoftware.com/forum/file-format-help Comments for "file format help" en Thanks again for a great http://www.sunsetlakesoftware.com/forum/file-format-help#comment-997 <p>Thanks again for a great product. I'm looking forward to future versions.</p> pubDate Tue, 24 May 2011 18:38:16 +0000 dc:creator drwho guid false comment 997 at http://www.sunsetlakesoftware.com Magic! Mathematica also knows http://www.sunsetlakesoftware.com/forum/file-format-help#comment-996 <p>Magic!</p> <p>Mathematica also knows about pdb files and I was able to get it to work the first time. Molecules even shows the structure name as the file name, so I don't even have to include any "Title" metadata if I don't want to. Got it to display my nanotubes on the first try. Thanks for the prompt response! Now to memorize atom colors....</p> pubDate Tue, 24 May 2011 17:31:01 +0000 dc:creator drwho guid false comment 996 at http://www.sunsetlakesoftware.com For the SDF file format, I http://www.sunsetlakesoftware.com/forum/file-format-help#comment-995 <p>For the SDF file format, I only look at atoms and bonds when parsing the file. I just added the bare minimum required to interpret the SDF files used by PubChem. I also didn't think far enough ahead to enable the reading of custom SDF files through the iTunes file sharing, so I'll need to add that in the next version.</p> <p>If you want to do a custom molecular structure, you might be better off to create it as a PDB format file. These I do load if you upload them to the application via iTunes file sharing. I do parse a bunch of the metadata for these files, but you don't need that information to create a structure, just the atom and bond specifications.</p> <p>For an example of a simple PDB file, you could grab the caffeine.pdb.gz file from within the application through the iTunes file sharing and uncompress it to get the caffeine.pdb file. I believe this file simply contains the atoms and bonds for that small molecule, and it should be easy to see how to generate something similar. The PDB and SDF file formats aren't all that different in the way that they specify atom and bond locations. In fact, I know that I've seen nanotubes in various chiralities as PDB files somewhere out there. Our machinery has been used to deposit and grow nanotubes, so I was looking for models to show off to potential customers myself.</p> <p>The color scheme I use is the <a href="http://www.umass.edu/microbio/rasmol/rascolor.htm" rel="nofollow">standard CPK scheme, as used by applications like Rasmol</a>. I don't currently include a color key in the application because I didn't want to clutter up the interface and couldn't find a good way of displaying this information. Enough people seem to be having difficulties with this that I'll see if I can work a legend into the application somewhere.</p> pubDate Tue, 24 May 2011 16:41:23 +0000 dc:creator Brad Larson guid false comment 995 at http://www.sunsetlakesoftware.com