Zengming Zhang wrote: > > Bellow is my last problem and its resolvent: > > Question: How can I select one of residues when they are in one > chain and their sequence number are same? > Resolvent: Use "^" , see the script: > "select 1A:L; color blue;"// can not work. > "select 1^A:L; color blue;"// selects chain L, > residue 1, insertion codeA, andset the color of this residueto > blue. > "select 1%A:L; color blue;"// still can not > work(someone said it will work, I don't know why it can not work in > my project.)
The % does not work because your pdb file has no AltLoc data (column 17). It has InsertionCode (column 27), so ^ is what you must use. They are different things. ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

