Dear PyMOL users,
I build 100 chains of polymer in a box. Residue number is different for
every chain. Chain 1 has residue no. 1, chain 2 has residue no. 2 and so
on. I want to color each chain differently.
So, I wrote a script which generates a pml file, and opening this pml file
with PyMOL should color each chain differently.
##color.pml
load 128md_c.pdb
select 1, i. 1
color 1, i. 1
select 2, i. 2
color 2, i. 2
select 3, i. 3
color 3, i. 3
select 4, i. 4
color 4, i. 4
select 5, i. 5
color 5, i. 5
select 6, i. 6
color 6, i. 6
select 7, i. 7
...
...
color 125, i. 125
select 126, i. 126
color 126, i. 126
select 127, i. 127
color 127, i. 127
select 128, i. 128
color 128, i. 128
I have 128 chains.
What I find that mostly green or black dominates the coloring.
While displaying color by the numeric code, what is the maximum no, after
which the color repeats?
Chandan
--
Chandan Kumar Choudhury
National Chemical Laboratory, Pune
India
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net