>> 2. set connect false/save (and initscript parameter)
>>
>> For complex structures RasMol and Chime usually ignore CONECT records
>> in .pdb files and use their own internal algorithms to determine
>> bonds. This means that structures with 'unusual' bond lengths, e.g.
>> ionic and metal lattices, may not display correctly even if the bonds
>> are
>> described by CONECT records. Further explanation and details can be
>> obtained from:
>>
>>      http://www.umass.edu/microbio/rasmol/rasbonds.htm
>>
>> The workaround for this in RasMol 2.6 (not sure about RasMol 2.7) and
>> Chime 2 is provided by the set connect false command which forces use
>> of the CONECT records. In addition Chime 2 has the set connect save
>> command which forces the plugin to show bonds for all CONECT records
>> in the .pdb file, while at the same time calculating bonds not
>> specified in the CONECT records in the usual manner. Set connect save
>> can also be issued in the embed tag which invokes Chime 2 using the
>> initscript parameter. Initscript is required to execute the command
>> before the molecule is loaded.
>>
>> It would be nice if the JmolApplet would implement set connect
>> false/save with initscript, or some equivalent mechanism, to achieve
>> the display of structures with 'unusual' and heterogeneous bond
>> lengths.
>
>Not sure what you mean by 'initscript' ... I have no practical
experience
>using either Chime or RasMol :-)

>Also, I was unable to find any reference in the RasMol doc to 'set
>connect' Is this a Chime extension? Or is it just undocumented?

Apart from the hyperlink above, 'set connect' and 'initscript' are not
well documented. My recollection is that they were developed as fixes to
problems raised on the RasMol/Chime mailing lists around the time of the
introduction of Chime 2. 'set connect true/false' seems specific to
RasMol 2.6 and is not detailed in OpenRasMol 2.7 documentation. 'set
connect save' and 'initscript' are Chime 2 specific. Again the
definitive (only?) documentation is the above link. initscript = "set
connect save" is used in the <embed> tag which launches Chime to ensure
that the set connect save command is executed before the molecule is
loaded. I'm not sure how this would be implemented with the JmolApplet
<applet> tag.

<embed type="chemical/x-pdb" 
src="1hho.pdb" 
height="50%" width="50%" 
initscript="set connect save">  

>Jmol respects atom connectiving in .mol files, but I think it currently
>ignores CONECT records in .pdb files ... this needs to be implemented.

Aha! If all else fails, I'll convert my .pdb files to .mol format ;)

>The RasMol doc talks about using two different algorithms for small vs.
>large molecules. Jmol doesn't do this. We have one algorithm that (we
>think) is pretty fast.

>The rules for bonding are (generally) taken from OpenBabel ... and I
>*think* it does a better job with metals than RasMol ... the iron in
>hemoglobin hemes is correctly bonded in Jmol but is not bonded at all
in
>RasMol.

>Specific examples of molecules that are not bonding properly would be
>helpful.

I have already posted an example. The problems are not usually with
'bona fide' molecules but, for example, in displaying closest contacts
in body-centred cubic metallic lattices (e.g. lithium) or ionic lattices
as 'bonds'. 

>With that said, clearly we need to implement the 'set connect' behavior
>you are describing so that we respect CONECT records when they are
present

....

>Miguel

Regards

Geoff Rowland




-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?   SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to