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

