>> connect hbonds auto (oxygen) (nitrogen) > > For DNA, it is also needed: > connect hbonds auto (nitrogen) (nitrogen)
Saying select *; connect hbonds auto; OR connect hbonds auto (*) (*); Will run exactly the same hbond calculation code as before. Below is an excerpt from the 10.00.53 prerelease email notification. The portion related to hbonds may be helpful. Miguel ---------------------------- Mensaje original ---------------------------- Asunto: Jmol prerelease 10.00.53 De: "Miguel" <[EMAIL PROTECTED]> Fecha: Dom, Abril 2, 2006 16:32 Para: [EMAIL PROTECTED] -------------------------------------------------------------------------- [snip] change in 'hbond' behavior -------------------------- Previously, the 'hbond on' or 'hbond 0.1' command would automatically calculate hbonds if and only if the underlying author-supplied file did not contain hbond definitions. So, this command was being used to 'create' hbonds as well as to control hbond size. As of this 10.00.53 release the 'hbond' command will only control hbond radius. This is consistent with the 'wireframe' command used to control bond radius. 'connect auto hbond' -------------------- If the 'hbond' option is passed to 'connect auto' then the internal algorithms will run to calculate hbonds. As with other 'connect' variants, source and target atoms are taken from two sets that are passed as parameters. If either of the two sets is not supplied then it defaults to 'selected'. Note that the internal 'autoHbond' calculations only attempt to calculate *classic* hbonds: 1. along protein backbone 2. between DNA/RNA strands This behavior is consistent with previous Jmol behavior (when it was triggered by 'hbond on'). This behavior may change in future releases of Jmol. Here are some examples: #short strand of DNA load 1D68.pdb; select *; connect auto hbond; # only between groups 38 and 40 load 1CRN.pdb; connect auto hbond (38) (40); hbond 0.1; color hbond lime; # only for the DNA, not for the protein load 1D66.pdb; select nucleic; connect auto hbond; Difference between 'connect hbond' and 'connect auto hbond' ----------------------------------------------------------- Recall that 'connect hbond' can be used to explicitly create hbonds ... single, double, triple, aromatic, & hbond. Recall that all pairs of atoms in the two sets are bonded, unless minimum and maximum distance criteria are specified. Therefore, one can easily create a 'highly connected graph' with tens of thousands of bonds. The 'connect auto hbond' command will run the internal autoHbond calculations, making determinations of (hopefully) valid hbonds. If you accidentally type 'connect hbond' instead of 'connect auto hbond' then you may be puzzled to see no change to the screen ... followed by a rat's next a few seconds later. I believe that this consolidation of bonding functionality under 'connect' is very good. Bob did a lot of work on it and is to be applauded. Bug reports/feedback appreciated. Miguel ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642 _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users