From: caldwell_at_heimdal.compchem.ucsf.edu
Date: Fri Jun 20 2003 - 12:06:32 CDT

Hi John,

Yes! Thanks, this is exactly what I wanted to do. (I'd never used
the ColorID method before)

Best wishes,
jim

On Thu, 19 Jun 2003, John Stone wrote:

>
> Hi Jim,
> If you just want a small number of waters colored differently, then
> the best strategy is to do something like this:
> - create 3 identical representations (say 'lines' for starters)
> - change the atom selection for the first group of waters to select them
> specifically
> - change the atom selection on the second representation for your second
> group of waters
> - change the atom selection for the 3rd representation to be
> not ((selection you used for 1st grp) or (selection you used for 2nd grp))
>
> Once you've got the 3 selections, set the "color by" for each of the
> 3 representations to be different colors with the "ColorID" setting.
> This is exactly why we have the color by "ColorID" coloring method.
>
> Let me know if I've misunderstood what you had in mind.
> >From what you wrote this sounds to me like what you want.
>
> Thanks,
> John Stone
> vmd_at_ks.uiuc.edu
>
> On Thu, Jun 19, 2003 at 04:25:04PM -0700, caldwell_at_heimdal.compchem.ucsf.edu wrote:
> >
> > Thanks, your command make a nice rainbow of colors but that's not exactly
> > what I need. I only want to color say 6 (specific) waters "green" and 4
> > (specific) others "red" and have the bulk be "cyan" for example.
> > So far I can only color either by atom name or residue name but
> > not residue number.
> >
> > best wishes,
> > jim
> >
> >
> > On Fri, 20 Jun 2003, Sanjeev B.S. wrote:
> >
> > > I'd like to be able to color my waters by residue number.
> > > I've searched the manual but can't seem to find a scheme.
> > > +++
> > > mol modselect 0 0 resname WAT
> > > mol modcolor 0 0 ResID
> > >
> > >
> > > Easier is to do it using main->graphics->create rep
> > > then type 'resname WAT' under selected waters
> > > and choose drawing methods as resid
> > >
> >
> > --
> >
> > ----------------------------------------------------------------------------
> > NOTE NEW MAILING ADDRESS & FAX NUMBER:
> >
> > James W. Caldwell (voice) 415-476-8603
> > Department of Pharmaceutical Chemistry (fax) 415-514-3866
> > UCSF Box 2240 (email) caldwell_at_heimdal.ucsf.edu
> > 600 16th Street
> > University of California
> > San Francisco, CA 94143-2240
> > ----------------------------------------------------------------------------
>
>

-- 
----------------------------------------------------------------------------
NOTE NEW MAILING ADDRESS & FAX NUMBER:
James W. Caldwell                         (voice) 415-476-8603
Department of Pharmaceutical Chemistry    (fax)   415-514-3866  
UCSF Box 2240                             (email) caldwell_at_heimdal.ucsf.edu
600 16th Street
University of California
San Francisco, CA 94143-2240
----------------------------------------------------------------------------