KNIME node which launches a web browser with a molecule viewer powered by NGL.
If you are using KNIME workflows with large molecules and you want to view them in 3D then the molviewer nodes are able to handle this.
This project uses a web user interface based on https://github.com/3D-e-Chem/molviewer-tsx .
Requirements:
Steps to get the MolViewer KNIME node inside KNIME:
https://3d-e-chem.github.io/updates/5.1
work with
pulldownMolViewer nodes for KNIME
In web browser you can
See example workflow in examples/
directory.
mvn verify
An Eclipse update site will be made in p2/target/repository
repository.
The update site can be used to perform a local installation.
Steps to get development environment setup based on https://github.com/knime/knime-sdk-setup#sdk-setup:
KNIME Analytics Platform (5.1) - nl.esciencecenter.e3dchem.knime.molviewer.targetplatform/KNIME-AP-5.1.target
target definition.targetplatform/KNIME\ Analytics\ Platform.launch
file and selecting Run As → KNIME Analytics Platform
. The KNIME instance will contain the target platform together with all extensions defined in the workspace.During import the Tycho Eclipse providers must be installed.
The web interface in the plugin/src/main/java/js-lib/molviewer
directory. Is a distribution from the https://github.com/3D-e-Chem/molviewer-tsx repository.
Tests for the node are in tests/src
directory.
Tests can be executed with mvn verify
, they will be run in a separate KNIME environment.
Test results will be written to test/target/surefire-reports
directory.
See https://github.com/3D-e-Chem/knime-testflow#3-add-test-workflow
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=<version>-SNAPSHOT
command.mvn package
, will create update site in p2/target/repository
mvn install -Dtarget.update.site=<path to update site>
The nodes are implemented as Dynamic JavaScript nodes also known as a org.knime.dynamic.node.generation.dynamicNodes extension.
The viewer has two way binding for the molecule visibility.
This project uses Eclipse Tycho to perform build steps.