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 FRAME) records.

Wrong. Recent versions of Jmol CAN load multiple structures, so there 
is no need to concatenate files. Don't know if different formats will 
be trouble, but get a current prerelease version of Jmol and try.

> > * The PHP page needs to write out a HTML page that contains the  
> > code for
> > the applet. But ordinarily I cannot write a file to disk from my PHP
> > page.

I don't know any PHP, but at least javascript can write an html page 
on-the-fly 
without saving any temp files.

> > * How do I specify that Jmol should load the structures - which are  
> > in a
> > string. Do I need to write out a temporary file?
> >
> you should be able to use php to write the Jmol applet and provide  
> the structure(s) as an inline param; in other words, I don't think  
> you need a tmp file anywhere.  for example, if you assign your  
> coordinates to a php var, like this:

I'm quite sure that Jmol has inline loading abilities, but I haven't 
used them. Check the documentation.



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to