Dear Jmolers,
I've two problem for which I currently have no solution.
1. I'm trying to select residue of the protein within a given cutoff
distance from a previously selected set of atoms.Currently I'm using :
select amino and within(5.0, STP2) ;
color red ;
which select atoms within 5A from atoms of the residue named STP2. But
I want to select residue within 5A, and not only atoms. Is it possible
to do so?
2. I want to allow the user to display/hide severl selections. To do
so, I use a checkbox in the applet:
jmolCheckbox('select pockets and resNo=2; hide none; select none;',
'hide pockets and resNo=2;',
'Show alpha spheres for site 3', true)
The problem is that the hide none apply to the whole system, not to
the selection I made before. So when I turn hiding off for a given
selection, it turns of hiding for all selections. Instead of hide
none, I've tryed to use
display pockets and resNo=2
But this command results in displaying only the selection. Is it
possible to turn hiding off for a given selection only ?
Sorry if my questions are naive, I'm just getting started with Jmol
scripting...
Thanks in advance for your help!
Regards
Vincent.
------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users