git, JDK 11 (or later) and Apache Maven are required.
In addition, installation instructions for PubFetcher have to be followed beforehand to ensure PubFetcher dependencies are installed in the local Maven repository.
Execute:
$ cd ~/foo/bar/
$ git clone https://github.com/edamontology/edammap.git
$ cd edammap/
$ git checkout develop
$ mvn clean install
EDAMmap can now be run with:
$ java -jar ~/foo/bar/edammap/target/edammap-cli-<version>.jar -h
$ java -jar ~/foo/bar/edammap/target/edammap-server-<version>.jar -h
$ java -jar ~/foo/bar/edammap/target/edammap-util-<version>.jar -h
A packaged version of EDAMmap can be found as ~/foo/bar/edammap/dist/target/edammap-<version>.zip
.
Same as previous section, except git checkout develop
must be replaced with git checkout master
.
Pre-built releases can be found from https://github.com/edamontology/edammap/releases. A downloaded release package can be unzipped in the desired location, where edammap-cli-<version>.jar
, edammap-server-<version>.jar
and edammap-util-<version>.jar
can again be run with java -jar
.
By default, Selenium WebDriver is used to get the content of web pages that require JavaScript. Currently, only the Firefox driver is supported, meaning that Firefox needs to be installed (or the firefox executable available somewhere and pointed to with --seleniumFirefox /path/to/firefox
), otherwise EDAMmap will fail to start. If this not desirable, then usage of Selenium can be disabled with --selenium false
, in which case the included HtmlUnit library will be used instead (however, this will be slower and with worse quality results).