Hello jmol-users:
How can I select one of residues when the chain IDs are same, just as
below(part of an PDB file):
ATOM 11 N ASP L 1A 60.262 29.089 14.012 1.00 33.13 N
ATOM 12 CA ASP L 1A 59.378 30.016 14.691 1.00 35.05 C
ATOM 13 C ASP L 1A 57.965 29.526 14.760 1.00 31.74 C
ATOM 14 O ASP L 1A 57.476 28.873 13.851 1.00 36.72 O
ATOM 15 CB ASP L 1A 59.593 31.557 14.587 1.00 41.32 C
ATOM 16 CG ASP L 1A 58.724 32.268 13.564 1.00 46.17 C
ATOM 17 OD1 ASP L 1A 57.452 32.455 13.924 1.00 47.60 O
ATOM 18 OD2 ASP L 1A 59.188 32.658 12.472 1.00 48.99 O
ATOM 19 N CYS L 1 57.321 29.802 15.860 1.00 22.52 N
ATOM 20 CA CYS L 1 56.005 29.353 16.036 1.00 15.35 C
ATOM 21 C CYS L 1 55.351 30.160 17.077 1.00 15.83 C
ATOM 22 O CYS L 1 56.002 30.636 17.968 1.00 18.73 O
ATOM 23 CB CYS L 1 56.053 27.903 16.554 1.00 11.00 C
ATOM 24 SG CYS L 1 56.917 27.711 18.163 1.00 11.39 S
residue ASP's chain ID and CYS's chain ID are same, they use icode(icode of ASP
is A and icode of CYS has no icode) to be seperated.
Now, I want so select residue ASP, the script is below:
"select 1A:L; color blue;" but it can not work.
and I changed the script to be this:
"select 1:L; color blue;" and residue CYS is selected, not ASP.
So, can I write scripts to select the residue ASP not CYS?
Can you help me? thank you very much!
best wishes
Zengming Zhang ,[email protected]
2009-04-21
Tel: +86-0571-86971772
Mobile:+86-13408688196
MSN: [email protected]
QQ: 454705936
------------------------------------------------------------------------------
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