<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Here is Elaine's description of how to do electrostatic coloring in Chimera with a CUBE file.</div><div class=""><br class=""></div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://plato.cgl.ucsf.edu/pipermail/chimera-users/2019-December/016397.html" class="">http://plato.cgl.ucsf.edu/pipermail/chimera-users/2019-December/016397.html</a><div class=""><br class=""></div><div class=""> Tom</div><div class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Jan 8, 2020, at 11:38 AM, Tom Goddard <<a href="mailto:goddard@sonic.net" class="">goddard@sonic.net</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Emil,<div class=""><br class=""></div><div class=""> A few more thoughts on Chimera display of DelPhi electrostatics. Chimera has for a decade been able to read CUBE format and Elaine Meng here checked that DelPhi CUBE format already opens correctly in Chimera. But the Chimera electrostatic coloring tool does not automatically appear when opening a CUBE file because that format is primarily used for molecular orbitals (output by Gaussian I think). So a user will have to know how to find the electrostatic coloring tool in Chimera to use the opened CUBE file. Another small drawback of the ascii CUBE file versus the older binary .phi file is that it is slower to read (maybe about 5x slower, or 10 seconds instead of 2 seconds for larger molecules).</div><div class=""><br class=""></div><div class=""> Regarding changing Chimera to run DelPhi and produce CUBE format output -- there is the problem that Chimera may be running an older DelPhi that does not write CUBE format. It uses whatever DelPhi the user installed on their computer. When was CUBE output added to DelPhi? Changing Chimera to request CUBE output would break Chimera DelPhi runs with older DelPhi.</div><div class=""><br class=""></div><div class=""> To mitigate these problems it would be helpful if DelPhi outputted the correct .phi binary format. The format is extremely simple, the Chimera code that reads it is less than 2 pages.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div class=""><br class=""></div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jan 8, 2020, at 10:46 AM, Tom Goddard wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Emil,<div class=""><br class=""></div><div class=""> We will update Chimera to use CUBE format with DelPhi before our next release.<br class=""><div class=""><br class=""></div><div class=""> The link I sent you to the Chimera bug report gives the full DelPhi output and DelPhi version that produced the incorrect file.</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span><a href="http://plato.cgl.ucsf.edu/trac/chimera/ticket/17169" class="">http://plato.cgl.ucsf.edu/trac/chimera/ticket/17169</a></div><div class=""><br class=""></div><div class="">I've attached it here as a text file. I asked the user to contact your lab a several days ago but I don't know if they have time.</div><div class=""><br class=""></div><div class="">Thanks!</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>Tom</div><div class=""><br class=""><div class=""></div></div></div></div><span id="cid:7F1D3EFE-D456-42BB-A1AB-B4F4202BF9A6@cgl.ucsf.edu" class=""><delphi.txt></span><meta http-equiv="Content-Type" content="text/html; charset=us-ascii" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div class=""><div class=""></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jan 8, 2020, at 9:56 AM, Emil Alexov <<a href="mailto:ealexov@g.clemson.edu" class="">ealexov@g.clemson.edu</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class="">Hi Tom,<div class=""><br class=""></div><div class="">Please switch to CUBE format. Regarding the user, who knows how the file was generated. Let them contact us and we will figure out what was wrong. In any case, I agree with you that wrong format file should not be generated. Ask the user to contact us and we will let you know the outcome.</div><div class=""><br class=""></div><div class="">Emil</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Jan 8, 2020 at 12:33 PM Tom Goddard <<a href="mailto:goddard@sonic.net" class="">goddard@sonic.net</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">Hi Emil,<div class=""><br class=""></div><div class=""> I agree it is probably a misunderstanding. The CUBE format is fine and I can switch new Chimera versions to use it. The trouble is that a user sent me a *.phi file written by DelPhi 7 that does not follow the format specification for .phi.</div><div class=""><br class=""></div><div class=""><a href="http://plato.cgl.ucsf.edu/trac/chimera/raw-attachment/ticket/17169/default.phi" target="_blank" class=""></a><a href="http://plato.cgl.ucsf.edu/trac/chimera/raw-attachment/ticket/17169/default.phi" target="_blank" class="">http://plato.cgl.ucsf.edu/trac/chimera/raw-attachment/ticket/17169/default.phi</a></div><div class=""><br class=""></div><div class="">as part of Chimera bug report</div><div class=""><br class=""></div><div class=""><a href="http://plato.cgl.ucsf.edu/trac/chimera/ticket/17169" target="_blank" class="">http://plato.cgl.ucsf.edu/trac/chimera/ticket/17169</a></div><div class=""><br class=""><div class="">This is a binary file so it is not an ascii CUBE file. Looking at the strings at the beginning of the file it appears to be .phi format without required record lengths. If this change to the DelPhi .phi file output was not intended then either it should be fixed to output a correct .phi format, or DelPhi should be made to not output .phi at all (just give an error that it is no longer supported). As it is now, DelPhi outputs an incorrect file.</div><div class=""><br class=""></div><div class=""><span style="white-space:pre-wrap" class=""> </span>Tom</div><div class=""><br class=""></div><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jan 8, 2020, at 3:48 AM, Emil Alexov wrote:</div><br class=""><div class=""><div dir="ltr" class="">Tom,<div class=""><br class=""></div><div class="">This seems to me is misunderstanding. We purposely decided to make the new delphi version to write PHI map file into CUBE format, because this is the format that all existing visualization packages take. This is documented in DelPhi manual and nowadays our users indeed prefer CUBE format versus the old style binary file.</div><div class=""><br class=""></div><div class="">However, if this is too much trouble for Chimera maintenance and development, we will make an effort to include binary option in the new delphi. Let's us know what are your thoughts about this.</div><div class=""><br class=""></div><div class="">Emil Alexov</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 7, 2020 at 6:38 PM Tom Goddard <<a href="mailto:goddard@sonic.net" target="_blank" class="">goddard@sonic.net</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="">Hi Shailesh,<div class=""><br class=""></div><div class=""> Thanks. I see your changes to the Chimera DelphiViewer plugin make it write out a Gaussian cube file instead instead of a .phi file. While that helps a little it would be much better if new DelPhi wrote out a .phi file following the online documentation for that file format. This should be trivial to do even from C++ (while the original format used Fortran records, they are just a 4 byte count for each record, followed by the binary data). Having DelPhi write out a different incompatible .phi file as it dose not breaks all software that used that format. We can't take the tens of thousands of copies of Chimera out of circulation that read .phi files. Also even with your change to make Chimera run DelPhi outputting a cube file, users will run DelPhi outside of Chimera, then try to open the .phi file and get an error.</div><div class=""><br class=""></div><div class=""> If the .phi format is just going to remain broken with new DelPhi versions writing an incompatible format I think we just need to remove it from Chimera and our new program ChimeraX. If your new .phi format is in use by new software and cannot be fixed I'd suggest that you use a different file suffix so software can correctly read the new or old format.</div><div class=""><br class=""></div><div class=""><span style="white-space:pre-wrap" class=""> </span>Tom</div><div class=""><br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jan 7, 2020, at 10:55 AM, Shailesh Kumar Panday wrote:</div><br class=""><div class=""><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255)" class="">Hello Chimera Developers,</div><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255)" class=""><br class=""></div><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255)" class="">We have made some changes in the DelphiViewer plugin to enable reading and writing Delphi potential in "Gaussian cube grid" format. The older binary "Delphi or GRASP potential" format files are no longer supported in Delphi. Hence plugin was unable to parse the potential file, the attached version fixes this issue.</div><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255)" class=""><br class=""></div><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255)" class="">Thank you,</div><div style="font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;background-color:rgb(255,255,255)" class=""><span class=""><br class=""></span></div><div style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><div id="gmail-m_2332027102017880502gmail-m_-4577221536631503951Signature" class=""><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class=""><span class=""><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt" class=""></div></span><span class=""><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.33px" class=""><span style="font-family:Arial,Helvetica,sans-serif" class="">Shailesh Kumar Panday</span><br class=""></div></span><span class=""></span><span class=""></span><span class=""><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.33px" class=""><span style="font-family:Arial,Helvetica,sans-serif" class="">Postdoctoral Fellow</span></div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.33px" class=""><span style="font-family:Arial,Helvetica,sans-serif" class="">Computational Biophysics and Bioinformatics Lab</span></div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.33px" class=""><span style="font-family:Arial,Helvetica,sans-serif" class="">Department of Physics and As</span></div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.33px" class=""><span style="font-family:Arial,Helvetica,sans-serif" class="">Clemson University, SC 29634</span></div><div style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:13.33px" class=""><span style="font-family:Arial,Helvetica,sans-serif" class="">Lab:<span class=""> </span></span><a href="http://compbio.clemson.edu/" style="color:rgb(17,85,204)" target="_blank" class=""><span style="font-family:Arial,Helvetica,sans-serif" class="">http://compbio.clemson.edu</span></a></div><br class=""></span></div></div></div><span id="gmail-m_2332027102017880502gmail-m_-4577221536631503951cid:3DE2CFCA-3DBD-4BD1-985A-9AEEBB123E77@cgl.ucsf.edu" class=""><DelphiViewer.tar></span><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline" class="">_______________________________________________</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><span style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none;float:none;display:inline" class="">Chimera-dev mailing list</span><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><a href="mailto:Chimera-dev@cgl.ucsf.edu" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank" class="">Chimera-dev@cgl.ucsf.edu</a><br style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;text-decoration:none" class=""><a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant-caps:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px" target="_blank" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev</a></div></blockquote></div><br class=""></div></div></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">Emil Alexov</div><div class="">Professor, Department of Physics</div><div class="">Professor, Department of Material Sciences</div><div class="">Professor, School of Nursing: Healthcare Genetics</div><div class="">Faculty Scholar at Clemson School of Health Research</div><div class="">Clemson University</div><div class="">Lab: <a href="http://compbio.clemson.edu/" style="font-size:12.8px" target="_blank" class="">http://compbio.clemson.edu</a></div></div></div></div></div></div>
</div></blockquote></div><br class=""></div></div></blockquote></div><br clear="all" class=""><div class=""><br class=""></div>-- <br class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><div class=""><div dir="ltr" class=""><div class=""><div class="">Emil Alexov</div><div class="">Professor, Department of Physics</div><div class="">Professor, Department of Material Sciences</div><div class="">Professor, School of Nursing: Healthcare Genetics</div><div class="">Faculty Scholar at Clemson School of Health Research</div><div class="">Clemson University</div><div class="">Lab: <a href="http://compbio.clemson.edu/" style="font-size:12.8px" target="_blank" class="">http://compbio.clemson.edu</a></div></div></div></div></div></div></div>
</div></blockquote></div><br class=""></div></div></div>_______________________________________________<br class="">Chimera-dev mailing list<br class=""><a href="mailto:Chimera-dev@cgl.ucsf.edu" class="">Chimera-dev@cgl.ucsf.edu</a><br class=""><a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev</a><br class=""></div></blockquote></div><br class=""></div></div>_______________________________________________<br class="">Chimera-dev mailing list<br class=""><a href="mailto:Chimera-dev@cgl.ucsf.edu" class="">Chimera-dev@cgl.ucsf.edu</a><br class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev<br class=""></div></blockquote></div><br class=""></div></body></html>