Hi Chen,

I once wrote a "save_colored_fasta" function which exports an HTML file
with the colored sequence. It's included in psico:
http://pymolwiki.org/index.php/psico

Cheers,
  Thomas

Chen Zhao wrote, On 10/19/14 09:52:
> Dear Tsjerk,
> 
> I just got a chance to test the code and it works great for me. Now my
> task becomes to "how to convert RGB codes in an efficient way".
> 
> Anyway, thank you so much!
> 
> Best,
> Chen
> 
> On Sat, Oct 18, 2014 at 2:43 AM, Tsjerk Wassenaar <tsje...@gmail.com> wrote:
> 
>     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
> 
>     -- 
>     Tsjerk A. Wassenaar, Ph.D.

-- 
Thomas Holder
PyMOL Developer
Schrödinger, Inc.

------------------------------------------------------------------------------
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