Thanks Angel,
Its working now, and I am using Jmol.js
I am displaying the protein in ribbons and selected residue in spacefill, well 
i have few questions related to that:
a)  Suppose I want to select more than one residue and through a checkbox can I 
 select multiple residues and display them in spacefill?
b) While I was trying to change some of the applets features like cartoon, 
backbone etc.., i noticed that the structure changes were only taking place in 
the selected residue and not in the protein chain, means suppose I only want to 
change the protein representation and not the selected residue(which is in 
spacefill), how this can be done, because the changes are taking place in 
selected residue and not in the protein chain?
c) Could it be possible to display text in the applet itself, I want to display 
the residue number and three digit code in the applet.

Thanks once again for your time and suggestion.
helix


Angel Herraez <[EMAIL PROTECTED]> wrote: On 22 Sep 2007 at 19:11, Helix Photon 
wrote:

> I have one query, i am developing a webpage and using Jmol, I want to display 
> a protein 
> structure.
> the important thing is when the applet will load the protein it should 
> highlight one of the residue in 
> spheres with different color from the protein.
> I was wondering if this could be possible in jmol and if possible, then how 
> do i script for that, 
> means which functions to use.

Certainly you can.
If you are using Jmol.js, then do this:

jmolApplet(300, "load your-protein.pdb; select Ala125; spacefill on; color 
[xFFEE00]; select 
all")

will display a 300x300 pixels applet with the protein and will highlight the 
alanine-125 
residue.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users


       
---------------------------------
Don't let your dream ride pass you by.    Make it a reality with Yahoo! Autos. 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to