What's a good current free viewer for CML structures embedded in HTML, if we're looking at 2D-Structures only? Right now I'm lookinig at JChemPaint; I wonder whether there are any recent projects I'm overlooking. Thanks! -- Eugen* Leitl <a href="http://leitl.org">leitl</a> ______________________________________________________________ ICBM: 48.07078, 11.61144 http://www.leitl.org 8B29F6BE: 099D 78BA 2FD3 B014 B08A 7779 75B0 2443 8B29 F6BE
On Thursday 13 November 2003 13:36, Eugen Leitl wrote:
What's a good current free viewer for CML structures embedded in HTML, if we're looking at 2D-Structures only?
Right now I'm lookinig at JChemPaint; I wonder whether there are any recent projects I'm overlooking.
An alternative approach, applied by Peter Murray-Rust, is to use XSLT stylesheets to convert the CML into SVG and embed that in the HTML page. In that case, the HTML browser does the viewing, e.g. using a plugin... Egon -- egonw@sci.kun.nl PhD on Molecular Representation in Chemometrics Nijmegen University http://www.cac.sci.kun.nl/people/egonw/ GPG: 1024D/D6336BA6
On Thu, Nov 13, 2003 at 02:47:15PM +0100, E.L. Willighagen wrote:
An alternative approach, applied by Peter Murray-Rust, is to use XSLT stylesheets to convert the CML into SVG and embed that in the HTML page. In that case, the HTML browser does the viewing, e.g. using a plugin...
Thanks for your suggestion. (Marvin won't work, as it is a patent-related application evaluation, which will eventually be made available to the public for free but is not yet). Is Jumbo the CML2->SVG demo in question (using XSLT)? I can't quite get it to work on http://leitl.org/cml/jumbo/ (I'm missing some demo CML molecules, and don't know where to put them in the directory). It doesn't seem to be using XSLT either, just doing everything in JavaScript: eugen@denver065:~/www/leitl/cml/jumbo> ll total 60 -rw-r--r-- 1 eugen users 92 2001-07-19 13:14 annotation.html -rw-r--r-- 1 eugen users 7549 2001-07-19 13:14 controls.html -rw-r--r-- 1 eugen users 556 2001-07-19 13:14 display.html -rw-r--r-- 1 eugen users 20809 2001-07-19 13:14 display.js -rw-r--r-- 1 eugen users 24 2001-07-19 13:14 display.svg -rw-r--r-- 1 eugen users 2823 2002-03-06 09:46 index.html -rw-r--r-- 1 eugen users 618 2001-07-19 13:14 jumbo.html -rw-r--r-- 1 eugen users 1685 2001-07-19 13:14 jumbo2l.gif -rw-r--r-- 1 eugen users 99 2001-07-19 13:14 mols.html Where do I put CML demo molecules? Or is XACE the system in question? It doesn't seem to be available in source form, though. I'm a bit at loss here. Perhaps someone can advise? I'm attempting to find a solution to display 2D structures from CML, which has been generated via OpenBabel from MDL files with bond stereochemistry info (I know OpenBabel doesn't do that yet, I'm trying to make it -- it already can conserve info during mol to mol conversion, so the question is adding support in CML read/write). I presume I should generate CML2. Is <cml title="bondArray example"> <bondArray> <bond id="b1" atomRefs2="a3 a8" order="D"> <electron bondRef="b1"/> <bondStereo>C</bondStereo> </bond> <bond id="b2" atomRefs2="a3 a8" order="S"> <bondStereo convention="MDL" conventionValue="6"/> </bond> </bondArray> </cml> at all CML2? (Even if it's deprecated, and one should put stereochemistry into atom attributes -- I really can't derive these from MDL stero info which is a bond property). Most importantly, which methods should I use to render above into classical wedge/hatch view (whether via SVG export (which is very elegant, and should become even more important with native SVG support in Mozilla and Co) or Java applets)? I should be able to figure that on my own, but I don't have much time for this, unfortunately. Thanks, -- Eugen* Leitl <a href="http://leitl.org">leitl</a> ______________________________________________________________ ICBM: 48.07078, 11.61144 http://www.leitl.org 8B29F6BE: 099D 78BA 2FD3 B014 B08A 7779 75B0 2443 8B29 F6BE http://moleculardevices.org http://nanomachines.net
Eugen, Please check out Marvin Applets (a professional tool that is free for free web sites), which you can use for loading/viewing/editing/saving CML files (and many other formats.) http://www.chemaxon.com/products.html Best regards, Ferenc PS: We are just increasing CML support, which will become the core of Marvin's native file format (mrv) in the next release. Eugen Leitl wrote:
What's a good current free viewer for CML structures embedded in HTML, if we're looking at 2D-Structures only?
Right now I'm lookinig at JChemPaint; I wonder whether there are any recent projects I'm overlooking.
Thanks!
-- Eugen* Leitl <a href="http://leitl.org">leitl</a> ______________________________________________________________ ICBM: 48.07078, 11.61144 http://www.leitl.org 8B29F6BE: 099D 78BA 2FD3 B014 B08A 7779 75B0 2443 8B29 F6BE
------------------------------------------------------------------------
_______________________________________________ chemweb mailing list chemweb@imperial.ac.uk http://mailman.ic.ac.uk/mailman/listinfo/chemweb List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
participants (3)
- 
                
                E.L. Willighagen
- 
                
                Eugen Leitl
- 
                
                Ferenc Csizmadia