From: XP C. <chx...@16...> - 2016-12-26 06:32:23
|
I have find distance_states.py scripts on http://pldserver1.biochem.queensu.ca/~rlc/work/pymol/ ; However, The scripts no working when the selector 2 is a multi selections like /MOD*///132/ON , which command of pymol will return a list of selection like /MOD*///132/ON ? Anyone have ideas? 在2016年12月22 15时59分, "XP Chen"<chx...@16...>写道: Hi, everyone. I have many ligand docking results which stored as multi model pdbs. I want to generate the distance between every frame of ligand and a residure in protein. How to script it ? My idea is first: cmd.split_states() then: cmd.distance() finally: cmd.delete() delete all the states generated Also, I want to retain the splite states (pdb) that the distance is the most short, However the mine idea hardly deal it. Anyone have ideas? or any suggestion of other command? I am a beginner of pymol scripts and not skilled in python.. Chen. |