Re: [Jmol-users] some advice regarding Jmol, Javascript & PHP

2006-10-27 Thread hansonr
Rajarshi, I have a solution for you. Don't convert your files yet. I propose: jmolLoadInlineFiles(modelData,separator,target) target:optional applet extension separator: an explicit string of your choice indicating a new model modelData: your model data, with each model separated by that se

Re: [Jmol-users] some advice regarding Jmol, Javascript & PHP

2006-10-26 Thread hansonr
OK, so the problem here is that we don't have a multiple-file-format loadInline function. I suggest something like: [some PDB data] ~~~JMOL~EOF~~~ [some other data] ~~~JMOL~EOF~~~ [some more data] What would be the appropriate thing for ~~~JMOL~EOF~~~ ? Bob -

Re: [Jmol-users] some advice regarding Jmol, Javascript & PHP

2006-10-26 Thread hansonr
If you really have to use strings, that is what you have to do. If these could be separate files on your server, you can just use load "fileset" "file1.pdb" "file2.mol" Bob > On Thu, 2006-10-26 at 18:36 -0500, [EMAIL PROTECTED] wrote: >> Rajarshi, >> >> The question is: >> >> How important is

Re: [Jmol-users] some advice regarding Jmol, Javascript & PHP

2006-10-26 Thread Rajarshi Guha
On Thu, 2006-10-26 at 18:36 -0500, [EMAIL PROTECTED] wrote: > Rajarshi, > > The question is: > > How important is it that you load the models one at a time? Not really. Basically I have a protein structure and multiple SD files of docked ligands. So at any one time I'd like to bring up Jmol wit

Re: [Jmol-users] some advice regarding Jmol, Javascript & PHP

2006-10-26 Thread hansonr
Rajarshi, The question is: How important is it that you load the models one at a time? That is NOT possible in Jmol 10.9.85. There are a couple of ways around this: 1) Provided these are SDF files, a line containing just separates different models. So you could: var m1 = "..."; jmolAppl

Re: [Jmol-users] some advice regarding Jmol, Javascript & PHP

2006-10-26 Thread hansonr
An (older) example of using jmolLoadInline() is at http://www.stolaf.edu/people/hansonr/jmol/inline/ Bob - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrate

Re: [Jmol-users] some advice regarding Jmol, Javascript & PHP

2006-10-26 Thread Rajarshi Guha
On Thu, 2006-10-26 at 19:38 +0200, Angel Herraez wrote: > Timothy Driscoll answered to Rajarshi Guha: > > > > * Since Jmol cannot show multiple structures, I need to convert my SDF > > > to PDB and concatenate it to the protein PDB. Is this correct? > > > > > as far as I know, yes - you will need

Re: [Jmol-users] some advice regarding Jmol, Javascript & PHP

2006-10-26 Thread Timothy Driscoll
On Oct 26, 2006, at 1:38 PM, Angel Herraez wrote: > Timothy Driscoll answered to Rajarshi Guha: > >>> * Since Jmol cannot show multiple structures, I need to convert >>> my SDF >>> to PDB and concatenate it to the protein PDB. Is this correct? >>> >> as far as I know, yes - you will need to conc

Re: [Jmol-users] some advice regarding Jmol, Javascript & PHP

2006-10-26 Thread Angel Herraez
Timothy Driscoll answered to Rajarshi Guha: > > * Since Jmol cannot show multiple structures, I need to convert my SDF > > to PDB and concatenate it to the protein PDB. Is this correct? > > > as far as I know, yes - you will need to concatenate the structures > as independent MODEL (or perhaps

Re: [Jmol-users] some advice regarding Jmol, Javascript & PHP

2006-10-26 Thread Timothy Driscoll
On Oct 26, 2006, at 11:15 AM, Rajarshi Guha wrote: > > So there are a number of issues: > > * Since Jmol cannot show multiple structures, I need to convert my SDF > to PDB and concatenate it to the protein PDB. Is this correct? > as far as I know, yes - you will need to concatenate the structures