Hi Pierre, Take a look at some of the wizard code (pymol/modules/pymol/wizard/*.py) for examples on how to capture and respond to selection "events" in the 3D viewer.
Cheers, Warren -- Warren L. DeLano, Ph.D. Principal Scientist . DeLano Scientific LLC . 400 Oyster Point Blvd., Suite 213 . South San Francisco, CA 94080 USA . Biz:(650)-872-0942 Tech:(650)-872-0834 . Fax:(650)-872-0273 Cell:(650)-346-1154 . mailto:war...@delsci.com > -----Original Message----- > From: pymol-users-ad...@lists.sourceforge.net > [mailto:pymol-users-ad...@lists.sourceforge.net] On Behalf Of > pierre mazet > Sent: Thursday, April 27, 2006 5:37 AM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] how link Pymol to an other program > > Hi everybody, > I'm working on multiple sequence alignments and I'm looking > for co-evolving residues (positions/columns in the alignment). > I performed a statistical analysis (clustering) and obtain a > tree in which leaves are positions. I use a tree viewer > (written in tcl/tk) to manipulate the tree, and i'd like to > link this tree viewer to PyMOL in order to be able to select > residues or cluster of residues in the tree and color them in > the pdb structure displayed in Pymol. > In the PyMOL user manual, it's said that to link PyMOL with > an other program, we have to use a separate external GUI > window to control the interaction, rather than changing > internal PyMOL code. > Is someone could tell me more about this idea? how can this work ? > Thanks in advance! > > pierre. >