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 list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users


------------------------------------------------------------------------------
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to