VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Mon Jul 09 2001 - 10:53:28 CDT
- Next message: John Stone: "Announce: VMD 1.7b1 is available!"
- Previous message: Niklas.Blomberg_at_astrazeneca.com: "Coloring mols by carbon only"
- In reply to: Niklas.Blomberg_at_astrazeneca.com: "Coloring mols by carbon only"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Dear Niklas,
Off the top of my head, one way to do this is to make an atom
selection to select all of the carbons, and a selection for everything
else, color the carbons by ColorID, set to the color you like, color the
rest of the atoms by Name, and use that same method on each of the molecules
you've loaded.
To select all of the carbons you could use something like this (Perl
regular expression syntax):
name "C.*"
To select the non-carbons you could use:
not name "C.*"
Let us know if you need more help with this, there are probably many
other ways of doing it, that one just came to mind quickly..
Thanks,
John Stone
vmd_at_ks.uiuc.edu
On Mon, Jul 09, 2001 at 11:09:32AM +0200, Niklas.Blomberg_at_astrazeneca.com wrote:
> Dear all,
>
> I'm new to VMD and get stuck with the coloring syntax:
>
> I'd like to color molecules (eg when several relared proteins are loaded) so
> that they differ in carbon color (but so that the heteroatoms O,N,P etc
> retain their original colour). Any suggestions?
>
> Thanks,
> Niklas
>
> -----
> Niklas Blomberg
> Structural Chemistry Laboratory
> AstraZeneca R&D Mölndal
> 431 83 Mölndal,Sweden
> +46 31 776 17 34
> niklas.blomberg_at_astrazeneca.com
>
-- 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: John Stone: "Announce: VMD 1.7b1 is available!"
- Previous message: Niklas.Blomberg_at_astrazeneca.com: "Coloring mols by carbon only"
- In reply to: Niklas.Blomberg_at_astrazeneca.com: "Coloring mols by carbon only"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]