Quoting Angel Herráez <[email protected]>:
> Chris, not sure of this, but have you tried creating a variable? This has
> helped me sometimes.
>
> myRes = within(0.1, {57.524 37.736 -1.264}).resno
>
> select @myRes
>
> ??
>
I wouldn't expect this to work because the variable will only contain
the residue number. So I think it should rather be:
select res...@myres
But even if it works in this example it might not always work as
expected because residue numbers are not always unique, e.g. in a
homodimer with two chains.
The following command should avoid this problem (but I havn't actually
tested if it really works):
select within(group, within(0.1, {57.524 37.736 -1.264}))
The outer "within" should select the residue (group) of the atom
selected by the inner "within".
Regards,
Rolf
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users