Hello Umanga

Jmol will always use the residue numbers that are written in the pdb 
file (not the order in the chain or in the file).
So, your problem seems to be in the exact data you have in your pdb 
file.

That said, there may be a way for Jmol to find out the length of 
chain A and add it to the actual residue nr. in B. But I would say 
that is a non trustable solution for other models (even for this, see 
below).

More things:

1. There is some error in the numbering of your first example: it 
cannot go from 98 to 97.
a look at 1uj3.pdb gives this:
chain A goes from residues 1 to 214
chain B goes from residues 301 to 517
So your offset of 215 is not valid either.

2. Your commands are OK, but you can use simpler notation for residue 
numbers:
  select :a and (resno > 97 and resno < 106); color red
is the same as
  select :a and 98-105; color red
or even
  select 98-105:a; color red


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to