Just to report that:
connect 1.8 {_H and connected(_O or _N)} {_O or _N} HBONDS CREATE;
does NOT display the side-chain H-bonds that define the first motif I
have tested (an Asp CO / peptide-bond NH Hbond).
Clearly, you get what you pay for. If Jmol is going to display side-
chain/main-chain Hbonds it needs to calculate it properly.
The solution to my own problem is probably to search for the atom
numbers of HBond partner in my motifs, e.g.
select atomno=2544, atomno=2570; connect hbond; (which works)
The 'beautiful' flexibility of my database design has the
disadvantage that the motif entity does not store this info, and an
additional and quite complex query will be needed to pull out these
atom numbers (which is why I wanted Jmol to do the job for me), and,
assuming that can be done in reasonable time I'll have to recode both
the Java servlet and the Perl (ugh) cgi script it calls. But that's
my problem. Will post if I crack it.
David
_______________________________________________________________
Dr. David P. Leader, Faculty of Biomedical & Life Sciences,
University of Glasgow, Glasgow G12 8QQ, UK
Phone: +44 (0)141 330 5905
http://doolittle.ibls.gla.ac.uk/leader
The University of Glasgow, charity number SC004401
_______________________________________________________________
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users