[Jmol-users] JMol Applet :Download PDB file using a button

2010-04-07 Thread Ashika Umanga Umagiliya
Greetings all, In my JSP page, I have embbeded Jmol applet and I want to add a Jmol button which user can download the PDB file. Any tips on how to do this ? thanks in advance, umanga -- Download Intel® Parallel Studio

Re: [Jmol-users] Using JMol functions in the Applet?

2009-03-15 Thread Ashika Umanga Umagiliya
Greetings all, Its ok ..I found the solution ;) Ashika Umanga Umagiliya wrote: > Greetings all, > > I have following JMol function.How to embed this into my JMol applet? > > During the JMol initialization,I want to save the returned residues in a > varible. > something li

[Jmol-users] Using JMol functions in the Applet?

2009-03-11 Thread Ashika Umanga Umagiliya
Greetings all, I have following JMol function.How to embed this into my JMol applet? During the JMol initialization,I want to save the returned residues in a varible. something like: cdr3=selectCDR("a",97,115) Later, when user check/uncheck a JMol checkbox I want to change the color of these r

[Jmol-users] Yellow and White CARTOON coloring scheme ?

2009-02-17 Thread Ashika Umanga Umagiliya
I want to get the default coloring scheme of Cartoon (Yellow and white scheme that I get ,when go trough Appliet menu->style->scheme->Cartoon ) in my applet. I load model using: jmolInitialize("jmol/"); jmolApplet(580, "load <%=homologyFile%>; cpk off; wireframe off; ribbons off ; cartoons on;

[Jmol-users] Multiple viewports in JMol?

2009-02-16 Thread Ashika Umanga Umagiliya
Greetings all, I want to display multiple 5 PDB files in the same JSP.Is there something like multiple viewports in JMol? Thanks in advance, Umanga -- Open Source Business Conference (OSBC), March 24-25, 2009, San Franc

Re: [Jmol-users] Reset the view ?

2009-01-13 Thread Ashika Umanga Umagiliya
Hi Angel , Thank you for the tip, but I noticed that "write state" doesn't support in the Applet version? Best regards, umanga Angel Herraez wrote: > Hi Umanga > > When you have the initial view as you want it, use > show state > and store that script (in an internal variable* or saved to

[Jmol-users] Reset the view ?

2009-01-12 Thread Ashika Umanga Umagiliya
Greetings all, In my application (using JMol applet ) I have several buttons to select CDR3,epitope regions ,color some chains...etc Now I want to add a 'Reset' button which will reset the colors,structure as it had first time the model was being loaded. I noticed that "reset" command only reset

Re: [Jmol-users] Optimizing Jmol select query ?

2008-12-25 Thread Ashika Umanga Umagiliya
hi Herráez, The residue numbers are relative to the chain, that is 152th residue of Chain T...and so on.. By your proposed method is doesn't select the residue number 152th in Chain T , it select just the residue number with index 152 from all the residues. Thank and best regards, umanga He

[Jmol-users] Optimizing Jmol select query ?

2008-12-25 Thread Ashika Umanga Umagiliya
Greetings all, In my application I want to highlight residues of the epitope chain. Say for example : epitope chain is T and the residue numbers are 152,166,167,168,169 ,207..etc So I generate a query something like: select {:T} (_x.resno - within("chain", _x)[1].resno =152 ) OR (_x.resno - w

[Jmol-users] one Label for a group of residues

2008-12-11 Thread Ashika Umanga Umagiliya
Greetings, I want to display a label to a group of residues. say I select residues as: >select :a and (resno>10 and resno<50); Then I want to display a label showing "Selection". If i do: >label "Selection" the label is shown on top of every atom. How to display only one label for the selection

[Jmol-users] Select relative residue numbers in a chain

2008-12-10 Thread Ashika Umanga Umagiliya
Greetings all, I want to select the CDR3 region.The CDR3 region is calculated and stored excel file as follows: PDBID | CHAIN | Length | Sequence | CDR3 1uj3 A 215DI 98 lqhgespyt 97 1uj3 B 217Q