<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Yong Liu,<div class=""><br class=""></div><div class=""> The code I gave you makes an image for every chain of a structure. Here is a version of the code chain_images2.py defining the chainimages command that allows you to specify the chains you want images for</div><div class=""><br class=""></div><div class=""><span class="Apple-tab-span" style="white-space:pre"> </span>chainimages #1/A,B,C<br class=""><div><br class=""></div><div>I added that code the the ChimeraX Recipes page</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre"> </span><a href="https://rbvi.github.io/chimerax-recipes/chain_images/chain_images.html" class="">https://rbvi.github.io/chimerax-recipes/chain_images/chain_images.html</a></div><div><br class=""></div><div>For the coloring part, you could try to add that or you could simply color the structure before hand:</div><div><br class=""></div><div><span class="Apple-tab-span" style="white-space:pre"> </span>color #1 blue</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>color #1/A pink</div><div><span class="Apple-tab-span" style="white-space:pre"> </span>color #1/B gold</div><div><br class=""></div><div> Tom</div><div><br class=""></div><div></div></div></body></html>