<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Joe,<div class="">Those chains are two different sequences. </div><div class=""><br class=""></div><div class="">Pvc12 is chains P,Q,R,S,T,U with >900 positions in the sequence</div><div class="">Pvc4 is chains V,W,X,Y,Z,a with 410 positions in the sequence</div><div class=""><br class=""></div><div class="">So I can load the headers from your file for the former sequences (I tried chain T) but not the latter, because your file specifies up to position 436.</div><div class=""><br class=""></div><div class="">Python is beyond my skill set, though… somebody else would have to advise on that.</div><div class=""><br class=""></div><div class="">An aside: I note that it was much easier to tell which chains are the same sequence as each other in ChimeraX, which is also a lot faster on big structures like this. Unfortunately we don’t yet have it reading custom header files or making the headers into attributes, or else I would suggest using ChimeraX instead. Below is a screenshot from opening 6j0n in ChimeraX and clicking the “Pvc12” and “Pvc4” links in the Chain Description table that automatically appears when the file is opened.</div><div class=""><br class=""></div><div class="">Best,</div><div class="">Elaine<br class=""><div class="">-----<br class="">Elaine C. Meng, Ph.D.<br class="">UCSF Chimera(X) team<br class="">Department of Pharmaceutical Chemistry<br class="">University of California, San Francisco<br class=""></div><div class=""><br class="webkit-block-placeholder"></div><div class=""><img apple-inline="yes" id="409418AB-F90B-42D5-9A78-01C580624266" src="cid:97CC551E-1D0A-41D1-8C77-08FB3E61422E" class=""></div><br class=""><blockquote type="cite" class="">On Nov 27, 2019, at 1:43 AM, Healey, Joseph <<a href="mailto:J.Healey.1@warwick.ac.uk" class="">J.Healey.1@warwick.ac.uk</a>> wrote:<br class=""><br class="">Hi Elaine,<br class=""><br class="">Thank you for clarifying, I had missed the option for any atom-spec (I was following one of the examples but there didn't appear to be one addressing chains). As you say, this still requires some a priori knowledge of 'what's what' in the structures though. An added complication is that the structures are grouped in to a single model, and need to be split to be treated as different models (though I suppose in practice this makes little difference as its either a case of specifying a chain or a model).<br class=""><br class="">Consequently, this is why I was hoping that sequence-based auto-assignment could be possible. The sequence/alignment headers looks like they have potential, but this leads me to another 2 questions:<br class=""><br class="">- So far, it is complaining that the numeric values I'm using are less than one or greater than the alignment length. The data appears to possibly be longer than the structure (but is shorter than the corresponding gene sequence) so I assume some residues are not present in the mature structure. However, it complains about Position 402 of the file, which should still be in the structure displayed as far as I can tell.According to the docs, numeric values that fall outside [0, 1] should be converted for the histogram, but retained as attributes, so I don't think the numeric values are an issue. Any idea why Chimera is complaining? I've attached the header file I'm using. The model in question is PDB 6j0n (chains T, U, V, W, X, Y).<br class=""><br class="">- Secondly, what would be the equivalent python/chimera command interface for loading header files such that I can render them by these attributes (the latter of which I'm already au fait with).<br class=""><br class="">Thanks again,<br class=""><br class="">Joe<br class=""><br class=""><br class=""><blockquote type="cite" class="">On Nov 26, 2019, at 7:40 AM, Healey, Joseph <<a href="mailto:J.Healey.1@warwick.ac.uk" class="">J.Healey.1@warwick.ac.uk</a>> wrote:<br class=""><br class="">Hi Chimera team,<br class="">I’m working on a script to automatically render proteins in a complex by attributes (in this case, a number of scores obtained from different immunogenicity prediction algorithms). I currently have the script outputting attribute files as intended, but ideally I’d like to define the same attributes across all the chains of the model, which are made up of a number of different proteins.<br class=""><br class="">Is there any way for me to define the attribute file, or utilise some functionality to auto-associate an attribute file with all of the chains which have the correct sequence (similarly to how the sequence alignment input works at the moment?). Currently the attribute file is only using ‘numbered’ coordinates (:1, :2, :3…etc) , rather than the actual sequence.<br class=""><br class="">Since there’s no chain information in the attribute files, I’m not sure how I can go about connecting it to the right structure, other than manually at the moment? <br class="">Many thanks, <br class="">Joe<br class=""></blockquote><br class=""><br class=""><br class=""><span id="cid:F645D9D1D827F740B2EE5184CA861905@eurprd01.prod.exchangelabs.com"><ChouFasman.txt></span>_______________________________________________<br class="">Chimera-users mailing list: <a href="mailto:Chimera-users@cgl.ucsf.edu" class="">Chimera-users@cgl.ucsf.edu</a><br class="">Manage subscription: <a href="http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users" class="">http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-users</a><br class=""></blockquote><br class=""></div></body></html>