From: Jeffrey Tseng (ytseng3_at_gmail.com)
Date: Sun Mar 12 2006 - 14:52:15 CST

Hi,

  Is it possible to change the color of subset of the selection ?

Here is an example:
###########################
mol representation SURF 1.4
atomselect macro myselect {
resname ASN and resid 273 and name OD1
or resname ASP and resid 269 and name OD2
or resname ASP and resid 269 and name OD1
or resname ASP and resid 269 and name CG
or resname HIS and resid 268 and name NE2
or resname LEU and resid 210 and name CD1
or resname LEU and resid 210 and name CG
or resname LEU and resid 210 and name CB
or resname LEU and resid 210 and name N
}

mol selection {myselect}
mol color colorID 12
mol addrep top

########################################

Now myselect will be colored "green" surface.

Here is the subselction

mol selection {
resname ASN and resid 273 and name OD1
or resname ASP and resid 269 and name OD2
or resname ASP and resid 269 and name OD1
or resname ASP and resid 269 and name CG
}

I would like to make the subselection colored "red" and the surface
representation can not be changed.

Is there any good way to make this task happen ?

Thanks in advance.

-Jeffrey