I did miss that. Oh, my!
set pdbAddHydrogens
broken in jmol-14.3.3_2014.07.27
I am tracking down the problem.
On Mon, Nov 10, 2014 at 10:32 AM, Eric Martz <[email protected]>
wrote:
> Dear Bob,
>
> In case you didn't notice my buried bug report, please see below in red.
> If you did, my apologies -- I'm not in a hurry with this one.
>
> Regards, Eric
>
> On 11/8/14 12:46 PM, Eric Martz wrote:
>
> Actually, I believe this is quite straightforward. As Angel said, you must
>
> set pdbaddhydrogens true
>
> prior to loading the structure. All hydrogens will be added and all
> multiple bonds will be shown.
>
> Examples in the Jmol application:
>
> set pdbaddhydrogens true
> load =1d66
> display dna and (8,31)
> center visible
>
> Now you will see an AT base pair with all hydrogens and double bonds.
> Depending on the representation you use, you may want to tweak
> multiplebondradiusfactor, e.g.
>
> set multiplebondradiusfactor 0.6
> wireframe 0.25
>
> The bondorder will not be set when the PDB file already has hydrogens,
> such as NMR files (2soc) or the partial hydrogens in 1lfa. I suppose you
> could load the model, select not hydrogen, write filename.pdb (saving it
> without hydrogen), load filename.pdb and get all hydrogens and bondorders
> but I have not experimented with this.
>
> The above method should also (I believe) apply hydrogens and bondorders to
> all ligands. For example, if you load 1f88 (with pdbaddhydrogens true) you
> will see the application also fetching NAG.cif, RET.cif, and MAN.cif. The
> following should show you retinal with all hydrogens and double bonds:
>
> set pdbaddhydrogens true
> load =1f88
> display ret and chain=a
> center visible
>
> HOWEVER THERE SEEMS TO BE A BUG IN JMOL 14.2.7 unless I have missed
> something. When the above commands are executed in Jmol 12.2.34, it works.
> When executed in 14.2.4, the ligand cif files are loaded, but there is a
> nullpointerexception after each one. When executed in 14.2.7, the
> nullpointerexceptions don't show in the script console, but still the
> ligands lack hydrogens and double bonds.
>
> At one point over a year ago, I began implementing a version of
> FirstGlance in Jmol that would do this by default. However, it then became
> higher priority to get FirstGlance working with JSmol, so I tabled the
> hydrogens/bondorder enhancement. FirstGlance works well with JSmol now
> (though mobile devices could be handled better) and someday I hope to
> return to this enhancement. I am concerned however about the load it will
> put on JSmol by doubling the atom count (half of all atoms in proteins are
> hydrogen).
>
> Eric
>
> On 11/8/14 7:31 AM, Brenton Horne wrote:
>
> Hi,
>
> I'd like to know if Jmol could, when opening a PDB file, be made to load
> implicit double and triple bonds. I ask as most other 3D molecular
> modelling software can, as it is implied by the no. of implicit
> hydrogens or other bonds connected to the atom in question hence it
> should be easy enough for Jmol to do this.
>
> Thanks for your time,
> Brenton
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Jmol-users mailing
> [email protected]https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
>
> ------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Jmol-users mailing
> [email protected]https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Jmol-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
--
Robert M. Hanson
Larson-Anderson Professor of Chemistry
Chair, Department of Chemistry
St. Olaf College
Northfield, MN
http://www.stolaf.edu/people/hansonr
If nature does not answer first what we want,
it is better to take what answer we get.
-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users