VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Jun 19 2003 - 19:50:02 CDT
- Next message: Jan Saam: "coloring method: user"
- Previous message: caldwell_at_heimdal.compchem.ucsf.edu: "Re: coloring waters"
- In reply to: caldwell_at_heimdal.compchem.ucsf.edu: "Re: coloring waters"
- Next in thread: caldwell_at_heimdal.compchem.ucsf.edu: "Re: coloring waters"
- Reply: caldwell_at_heimdal.compchem.ucsf.edu: "Re: coloring waters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
> ----------------------------------------------------------------------------
-- NIH Resource for Macromolecular Modeling and Bioinformatics Beckman Institute for Advanced Science and Technology University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801 Email: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: Jan Saam: "coloring method: user"
- Previous message: caldwell_at_heimdal.compchem.ucsf.edu: "Re: coloring waters"
- In reply to: caldwell_at_heimdal.compchem.ucsf.edu: "Re: coloring waters"
- Next in thread: caldwell_at_heimdal.compchem.ucsf.edu: "Re: coloring waters"
- Reply: caldwell_at_heimdal.compchem.ucsf.edu: "Re: coloring waters"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]