Hi,
I'd like to colour chain A of 2Y7Q according to secondary structure but
this code didn't work (where chain B & D are coloured pink and green
respectively, the background is white, the structure is rendered as
cartoons, etc.):
|delete all||
||fetch 2Y7Q||
||as cartoon||
||bg_color white||
||
||color pink, /2Y7Q//B||
||color green, /2Y7Q//D||
||
||set_color blues, [0.0196078,0.7607843,0.7607843]||
||
||color red, /2Y7Q//A/ss_h||
||color yellow, /2Y7Q//A/ss_s||
||color blues, /2Y7Q//A/ss_l+""|
Giving this output: http://i.imgur.com/7dc2yl6.png.
I also tried
|delete all|||
|||fetch 2Y7Q|||
|||as cartoon|||
|||bg_color white|||
||||
|||color pink, /2Y7Q//B|||
|||color green, /2Y7Q//D|||
||||
|||set_color blues, [0.0196078,0.7607843,0.7607843]|||
||||
|||color red, /2Y7Q//A/ ss h|||
|||color yellow, /2Y7Q//A/ ss s|||
|||color blues, /2Y7Q//A/ ss l+""|
and this just coloured every other chain according to the colour scheme
at the end, with chain A coloured 'blues'.
Thanks for your time,
Brenton
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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