Dear jie yang, you can use some routine like this: In your pymol: fetch 1ATP create ligand_10A, byres(1ATP within 10 of i. 355) then you can save the object 'ligand_10A' as a pdb file from the menu: file - save molecule i. 355 is the ligand residue ID
Or if you do not want the ligand to be included: create ligand_10A_2, byres(i. 355 around 10) cheers, Zhijian Xu jy wrote: > Hi all, > > How can I select all the residues that are within a certain distance, > say 10A, around a certain residue or ligand? and once I select that, how > can I write out that pdb file? > > Thank you very much! > > jie yang > > > ------------------------------------------------------------------------------ > Achieve Improved Network Security with IP and DNS Reputation. > Defend against bad network traffic, including botnets, malware, > phishing sites, and compromised hosts - saving your company time, > money, and embarrassment. Learn More! > http://p.sf.net/sfu/hpdev2dev-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 > > > ------------------------------------------------------------------------------ Achieve Improved Network Security with IP and DNS Reputation. Defend against bad network traffic, including botnets, malware, phishing sites, and compromised hosts - saving your company time, money, and embarrassment. Learn More! http://p.sf.net/sfu/hpdev2dev-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