Re: [Jmol-users] Color group not symmetry?

2012-07-13 Thread Angel Herráez
Dear Eric,

Have you tried 
  color monomer
instead of 
  color group  ?

That could do it. It works as you describe for interrupted chains, so 
maybe too for your situation



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Color group not symmetry?

2012-07-13 Thread Eric Martz
Dear Bob,

color monomer is not what I want. It colors the 3 segments of chain 
A each blue to red, separately (3 blue ends, 3 red ends). I want 
those three segments to be colored in a single blue to red sequence 
for all 3 (one blue end, one red end), just as color group does for 
the asymmetric unit. And the same-as-chain-a color-to-sequence-number 
mapping for all symmetry copy fragments.

Eric

At 7/13/12, you wrote:
Dear Eric,

Have you tried
   color monomer
instead of
   color group  ?

That could do it. It works as you describe for interrupted chains, so
maybe too for your situation



--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


[Jmol-users] Model Selection

2012-07-13 Thread Otis Rothenberger
I use the following script to select and hide one of two models in a window:

k = {*}.atomIndex.max + 1;t = {*}.atomIndex.min;select within(branch, 
{atomIndex = k}, {atomIndex=t}); hide selected

Is there a way to run this in a loop of frames and apply it to frames based on 
frame number i:

if (i == 1){k = {*}.atomIndex.max + 1;t = {*}.atomIndex.min;select 
within(branch, {atomIndex = k}, {atomIndex=t}); hide selected}

In other words, in a given frame, can i be incorporated into the expression to 
take the place of *?

I can make it work for a specific case - e.g.:

k = {1.2}.atomIndex.max + 1;t = {1.2}.atomIndex.min;select within(branch, 
{atomIndex = k}, {atomIndex=t}); hide selected

But I don't know how to incorporate the frame index i into the expression.

Otis

--
Otis Rothenberger
o...@chemagic.com
http://chemagic.com







--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Model Selection

2012-07-13 Thread Angel Herráez
Otis,

maybe  { model=i }
?

e.g. this works:
print {model=2}.atomindex.min


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users


Re: [Jmol-users] Model Selection

2012-07-13 Thread Otis Rothenberger
Angel,

Bingo! That works.

Thanks

Otis
--
Otis Rothenberger
o...@chemagic.com
http://chemagic.com




On Jul 13, 2012, at 2:51 PM, Angel Herráez wrote:

 Otis,
 
 maybe  { model=i }
 ?
 
 e.g. this works:
 print {model=2}.atomindex.min
 
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 Jmol-users mailing list
 Jmol-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/jmol-users

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users