KNIME plugin for calculating distance of bitvectors using Modifed Tanimoto similarity index. Implements similarity index according to Fligner, Michael A., et al. “A Modification of the Jaccard-Tanimoto Similarity Index for Diverse Selection of Chemical Compounds Using Binary Strings.” Technometrics, vol. 44, no. 2, 2002, pp. 110–119. https://www.jstor.org/stable/1271255
Followed http://tech.knime.org/wiki/distance-measure-developers-guide for this repo.
Requirements:
- KNIME, https://www.knime.org
Steps to get distance measure inside KNIME:
- Goto Help > Install new software ... menu
- Press add button
- Fill text fields with
https://3d-e-chem.github.io/updates/5.1
- Select --all sites-- in work with pulldown
- Open KNIME 3D-e-Chem Contributions folder
- Select Modified Tanimoto Distance measure
- Install sofware & restart
The Modified Tanimoto distance measure can be selected inside the Bit Vector Distances
node.
For description of distance measurement framework see http://tech.knime.org/wiki/distance-measure
See example workflow in examples folder.
mvn verify
Jar has been made in nl.esciencecenter.e3dchem.modifiedtanimoto/target
folder.
An Eclipse update site will be made in nl.esciencecenter.e3dchem.p2/target/repository
repository.
Steps to get development environment setup based on https://github.com/knime/knime-sdk-setup#sdk-setup:
- Install Java 17
- Install Eclipse for RCP and RAP developers
- Configure Java 17 inside Eclipse Window > Preferences > Java > Installed JREs
- Import this repo as an Existing Maven project <<<<<<< HEAD
- Activate target platform by going to Window > Preferences > Plug-in Development > Target Platform and check the
KNIME Analytics Platform (5.1) - nl.esciencecenter.e3dchem.knime.sstea.targetplatform/KNIME-AP-5.1.target
target definition. ======= - Activate target platform by going to Window > Preferences > Plug-in Development > Target Platform and check the
KNIME Analytics Platform (4.0) - nl.esciencecenter.e3dchem.modifiedtanimoto.targetplatform/KNIME-AP-4.0.target
target definition.
origin/master
During import the Tycho Eclipse providers must be installed.
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.
Unit tests written in Junit4 format can be put in nl.esciencecenter.e3dchem.modifiedtanimoto.tests/src/java
.
See https://github.com/3D-e-Chem/knime-testflow#3-add-test-workflow
- Update versions in pom files with
mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=<version>-SNAPSHOT
command. - Commit and push changes
- Create package with
mvn package
, will create update site innl.esciencecenter.e3dchem.p2/target/repository
- Append new release to 3D-e-Chem update site
- Make clone of https://github.com/3D-e-Chem/3D-e-Chem.github.io repo
- Append release to 3D-e-Chem update site with
mvn install -Dtarget.update.site=<3D-e-Chem repo/updates>
- Commit and push changes in this repo and 3D-e-Chem.github.io repo
- Make nodes available to 3D-e-Chem KNIME feature by following steps at https://github.com/3D-e-Chem/knime-node-collection#new-release