Hi John,
here is something to start with:
# put everything in state 1 (convert states to objects)
split_states capsid
delete capsid
# specify the fixed residue
select fixedresidue, capsid_0001 and chain D and resi 30
# select residues of interest within given radius
select s1, chain A+B+C and resi 23+45+46
select s2, s1 within 40 of fixedresidue
# highlight result
color blue
color yellow, s2
See also:
http://pymolwiki.org/index.php/Selection_Algebra#Comparison_of_distance_operators
Cheers,
Thomas
On 11/15/2012 10:47 AM, Jonathan Grimes wrote:
i am wanting to highlight a number of residues on a virus capsid. i have
60
states (objects), and wanted to only select particular residues (say resi
23,45,46 from 3 chains across all
60 objects) that are within say 20A or 40A from a fixed point (or
residue).
could i get advice on what scripts i could use/edit to get this done.
thanks
jon
Dr. Jonathan M. Grimes,
NDM Senior Reseach Fellow
University Research Lecturer
Division of Structural Biology
Wellcome Trust Centre for Human Genetics
University of Oxford
Roosevelt Drive,
Oxford OX3 7BN, UK
Email: jonat...@strubi.ox.ac.uk, Web: www.strubi.ox.ac.uk
Tel: (+44) - 1865 - 287561, FAX: (+44) - 1865 - 287547
--
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net