|
From: DeLano S. <de...@de...> - 2008-08-21 20:26:26
|
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:su...@de...
-----Original Message-----
From: pym...@li...
[mailto:pym...@li...] On Behalf Of Buz Barstow
Sent: Thursday, August 21, 2008 12:32 PM
To: pym...@li...
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
PyM...@li...
https://lists.sourceforge.net/lists/listinfo/pymol-users
|