Saturday, March 28, 2015

Selecting full residues within a certain distance of another residue or atom in PyMOL

Note to self:

To select all atoms in a residue (plus any HETATMs) that is within 3 Å of any atom in residue 63 type:

select br. all within 3 of resi 63

To select all atoms in a residue (plus any HETATMs) that is within 3 Å of the CA atom in residue 63 type:

select br. all within 3 of 63/CA

If you want to exclude the HETAMS type "pol." (short for polymer) instead of "all".

if you want to name the selection type

select Ala63, br. all within 3 of resi 63



This work is licensed under a Creative Commons Attribution 4.0

3 comments:

mrkdvsn said...

Sometime few educational blogs become very helpful while getting relevant and new information related to your targeted area. As I found this blog and appreciate the information delivered to my database.https://www.bu.ac.th

Kristen Brown said...

i discovered this weblog after a long time that's clearly beneficial to allow understand unique techniques. i'm going to adopt the ones new issue to my career and thankful for this assist. Image Vector Mac

rock951347 said...

Enthusiastic words written in this blog helped me to enhance my skills as well as helped me to know how I can help myself on my own. I am really glad to come at this platform.
Nirav Gandhi Canada