Hi Warren,
Thanks! That did the trick.
All the best,
--Buz
On Aug 21, 2008, at 4:25 PM, DeLano Scientific wrote:
Buz,
This is something PyMOL didn't handle well until recently, but I
think you
can now prefix the minus sign with a backslash in order to force
PyMOL to
interpret the value numerically instead of as a range.
# create some negative residue identifiers
load $TUT/1hpv.pdb
alter chain A, resi=int(resi)-200
set seq_view
# test selections
indicate resi \-127
indicate resi \-136-\-129
A bit ugly, but it works!
Cheers,
Warren
--
DeLano Scientific LLC
Subscriber Support Services
mailto:supp...@delsci.com
-----Original Message-----
From: pymol-users-boun...@lists.sourceforge.net
[mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf Of Buz
Barstow
Sent: Thursday, August 21, 2008 12:32 PM
To: pymol-users@lists.sourceforge.net
Subject: [PyMOL] Selecting Negative Residues
Dear All,
Does anyone know how to select residues with negative sequence
numbers in
Pymol?
I have a protein molecule with two residues with negative sequence
numbers
(-2 and -1). When I issue the command:
cmd.select('temp', 'resi -2 and name CA')
Pymol selects the alpha carbons of residues -2 to +2.
How can I tell Pymol that I don't want to select a range?
Thanks, and all the best,
--Buz
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes Grand prize is a trip for two to an Open Source event
anywhere in the
world http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
PyMOL-users mailing list
PyMOL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pymol-users