Hi Yeping, You might try using the your atoms selection as input to the script listed here
https://pymolwiki.org/index.php/ListSelection2 Best regards, Blaine Blaine Mooers, Ph.D. Associate Professor Department of Biochemistry and Molecular Biology College of Medicine University of Oklahoma Health Sciences Center S.L. Young Biomedical Research Center (BRC) Rm. 466 975 NE 10th Street, BRC 466 Oklahoma City, OK 73104-5419 ________________________________________ From: sunyeping via PyMOL-users [pymol-users@lists.sourceforge.net] Sent: Sunday, August 23, 2020 10:34 PM To: pymol-users Subject: [EXTERNAL] [PyMOL] How to select s series of residues that contain the selected atom Dear pymol user, I select a series of atoms with the follow command in pymol: select atoms, chian A within 4 of chain B I wonder how to select the resides containing the selected "atoms", and how to return the names and indexes of these residues. Thank you in advance! Best regards, Yeping Sun _______________________________________________ PyMOL-users mailing list Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net Unsubscribe: https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe