Installing the Marvin JS Compound Structure EditorMarvin JS is not developed by SRI International and is not included in the Pathway Tools distribution. Marvin JS must be obtained from ChemAxon and then installed. Obtaining and using Marvin JS is free of charge for most types of users, although it is a commercial product. Marvin JS is updated continuously, and new versions become available routinely. The ChemAxon web site does offer the older versions, so if the most recent version proves incompatible, download an older version. Version 16.1.11.1 is known to work with Pathway Tools 20.5.Some useful features are available only as additional Webservices, such as the 2D structure cleanup. For this, unfortunately a separate Tomcat server has to be set up, which is fairly heavy weight, but instructions for this are provided further below, as well. DownloadingDownload Marvin JS from the ChemAxon web site (https://www.chemaxon.com/products/marvin/marvin-js/). Note that this should not be confused with the older Marvin Java applet. Marvin JS is intended to be the replacement for the Java applet, to avoid many of the security headaches that were encountered with Java applets in the past.
The Marvin JS distribution is available in the Installation on UNIX or Mac OS XOn UNIX platforms, uncompress the file you downloaded into a newly created local directory, by using the following command in a terminal:unzip marvinjs-16.1.11.1-all.zipNext, define a shell environment variable called MARVIN_JS_PATH and set
it to the absolute path of the directory containing editor.html file. It is best to do this in one
of the user's shell init scripts such as .cshrc or .login . For
example, in csh syntax:
setenv MARVIN_JS_PATH /example/of/full/marvinjs/pathFor Mac OS X, you have bash as your default shell, so you'd want to add the following to your .bashrc file:
export MARVIN_JS_PATH=/example/of/full/marvinjs/pathThe license file has to be placed in the directory indicated by MARVIN_JS_PATH , according to the instructions that ChemAxon supplies. Installation on MS WindowsUnzip the file you downloaded into a newly created local directory (e.g.,C:\Program Files\ChemAxon\Marvin ).
Next, you need to create an environment variable called
Under "System Variables", click the "New" button and type
The license file has to be placed in the directory indicated by MARVIN_JS_PATH , according to the instructions that ChemAxon supplies. Installation of ChemAxon JChem WebservicesTo obtain some other useful features, it is optionally possible to install additional Webservices. These are implemented as Java executables that need to run in a Tomcat server. And the recent versions of the Webservices requires a Java runtime version 8. So all this is a bit complicated to install and configure. Below, an abbreviated recipe is provided for how to make this work. Version 16.8.15.0-b962 of the Webservices is known to work with version 8.5.4 of Tomcat.
JRE_HOME and CATALINA_HOME environment
variables, then the Tomcat server will be launched. This server will
thereafter stay up and running, to avoid having to repeat the heavy
weight launching.
|
©2023 SRI International, 333 Ravenswood Avenue, Menlo Park, CA 94025-3493
SRI International is an independent, nonprofit corporation. Privacy policy Disclaimer |