Hi Chuck & Jason, escaping the hyphen also works for me:
color red, resi \-50 Cheers, Thomas Jason Vertrees wrote, On 04/05/12 14:37: > Hi Chuck, > > PyMOL assumes your residues identifiers will be non-negative. Bad > assumption. PyMOL parses the string "-50" as the range "0-50". This > should be filed as a bug on the open-source tracker. > > In the meantime, you will have to adjust all the identifiers in order > to select. If -73 is the lowest number in the sequence in chain J then > you can add 73 to add indices like this, > > # adjust the indices > > alter chain J, resi=str(int(resi)+73) > > # update the sequence > > sort > > Now, just add 73 when you select: > > select c. J and i. 0 > > Cheers, > > -- Jason > > On Thu, Apr 5, 2012 at 7:57 AM, chuck <chlang...@ucdavis.edu> wrote: >> In the 147bp nucleosome structure pdb1kx5 the DNA is a palindrome and >> numbering of the resi(dues) starts a the center bp (74), so -73 to +73. The >> central bp is numbered 0. >> >> Can someone tell me the command syntax to set the colors of the bps before >> the central bp, e.g., >> >> -50. >> >> commands such as "color red, (resi -50)" changes all the bp unto +50 (124). >> >> Cheers, >> Chuck -- Thomas Holder MPI for Developmental Biology Spemannstr. 35 D-72076 Tübingen ------------------------------------------------------------------------------ Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev _______________________________________________ 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