Ni hao Chen Zhao,

This works for me:

col=[]
iterate n. ca, col.append((chain,resi,name,cmd.get_color_tuple(color)))
print col

Cheers,

Tsjerk


On Sat, Oct 18, 2014 at 4:57 AM, Chen Zhao <chenzhaoh...@gmail.com> wrote:

> Dear all,
>
> Is it possible to get the color code of each residue if I color the whole
> molecule by B-factor using spectrum? I would like to make a figure with the
> same colors on the primary sequence.
>
> Thank you so much in advance.
>
> Best,
> Chen
>
>
> ------------------------------------------------------------------------------
> Comprehensive Server Monitoring with Site24x7.
> Monitor 10 servers for $9/Month.
> Get alerted through email, SMS, voice calls or mobile push notifications.
> Take corrective actions from your mobile device.
> http://p.sf.net/sfu/Zoho
> _______________________________________________
> 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
>



-- 
Tsjerk A. Wassenaar, Ph.D.
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
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

Reply via email to