Thanks for that.

In the meantime, I figured out, that by issuing <select oxygen> I can save
lots of clicking, as long as the oxygen atoms=red color is what I want to
select, which I control by the matrx->xyz conversion routine.
Where the indices of those selected O-atoms can be found/passed? Thanks.

Petr


Dr. Petr Pancoska
Department of Pathology
SUNY Stony Brook, NY 11794
phone:          (631)-444-3030

******************************************************************************

This e- mail message, including any attachments,
is for the sole use of the intended recipient(s) and may
contain confidential and privileged information.
Any unauthorized review, use, disclosure or distribution is prohibited.
If you are not the intended recipient, please contact the sender
by e-mail and destroy all copies of the original.
******************************************************************************


                                                                           
             "Miguel"                                                      
             <[EMAIL PROTECTED]>                                             
             Sent by:                                                   To 
             jmol-users-admin@         jmol-users@lists.sourceforge.net    
             lists.sourceforge                                          cc 
             .net                                                          
                                                                   Subject 
                                       [Jmol-users] correlation matrix UI  
             12/29/2004 05:36                                              
             PM                                                            
                                                                           
                                                                           
             Please respond to                                             
             [EMAIL PROTECTED]                                             
              sourceforge.net                                              
                                                                           
                                                                           




Petr wrote:

> Re linking "correlation" matrix to protein structure rendering - I have
> program that converts my matrices to xyz file and the Jmol rendering is
> just fine (I am finalizing the color scheme).
> You hinted, that there might be a solution how to transfer the picked
> "atoms" in the "correlation matrix rendering" to the protein picture?

Using the JmolStatusListener API you can register a method that will
receive mouse click events.

When the user clicks on an atom you will receive the atom index.

Using the atom index, you can get its x and y coordinates.

In your case, these x & y coordinates map to your residue numbers.

This should allow you to send the appropriate script to your other Jmol
applet.


Miguel



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users




-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to