KNIME nodes to read/write pharmacophore files
Clone or download

KNIME plugin with nodes to convert and align pharmacophores.

Travis-CI Build Status AppVeyor Build status SonarCloud Gate SonarCloud Coverage DOI

A pharmacophore is an abstract description of molecular features that are necessary for molecular recognition of a ligand by a biological macromolecule. Nodes in this plugin allow for converting pharmacophores, from and to molecules, by mapping elements to pharmacophore type and, reading from or writing to the phar file format used by the Silicos IT align-it tool. This plugin adds the Pharmacophore (Phar) data type to KNIME, allowing nodes to read/write/manipulate pharmacophores inside KNIME like the Silicos-it align-it, Kripo pharmacophore retrieval and molviewer pharmacophore viewer nodes.

This project uses Eclipse Tycho to perform build steps.



Steps to get the Pharmacophore KNIME nodes inside KNIME:

  1. Goto Help > Install new software ... menu
  2. Press add button
  3. Fill text fields with
  4. Select --all sites-- in work with pulldown
  5. Select the Pharmacophore KNIME nodes
  6. Install software
  7. Restart KNIME


  1. Create a new KNIME workflow.
  2. Find node in Node navigator panel.
  3. Drag node to workflow canvas.


The examples/ folder contains example KNIME workflows.


mvn verify

An Eclipse update site will be made in p2/target/repository directory. The update site can be used to perform a local installation.

Continuous Integration

Configuration files to run Continuous Integration builds on Linux (Travis-CI), OS X (Travis-CI) and Windows (AppVeyor) are present.

See ./.travis.yml file how to trigger a Travis-CI build for every push or pull request. Also see ./.travis.yml file how to upload coverage to .

See ./appveyor.yml file how to run on .


Steps to get development environment setup:

  1. Download KNIME SDK from

  2. Install/Extract/start KNIME SDK

  3. Start SDK

  4. Install m2e (Maven integration for Eclipse) + Test workflows in JUnit

    1. Goto Help > Install new software ...
    2. Make sure Update site and are in the pull down list otherwise add them
    3. Select --all sites-- in work with pulldown
    4. Select m2e (Maven integration for Eclipse)
    5. Select Test Knime workflows from a Junit test
    6. Select Splash & node category for 3D-e-Chem KNIME nodes
    7. Install software & restart
  5. Import this repo as an Existing Maven project

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. Test results will be written to test/target/surefire-reports directory. Code coverage reports (html+xml) can be found in the tests/target/jacoco/report/ directory.

Unit tests

Unit tests written in Junit4 format can be put in tests/src/java.

Workflow tests


Speed up builds

Running mvn commands can take a long time as Tycho fetches indices of all p2 update sites. This can be skipped by running maven offline using mvn -o.

New release

  1. Update versions in pom files with mvn org.eclipse.tycho:tycho-versions-plugin:set-version -DnewVersion=<version>-SNAPSHOT command.
  2. Create package with mvn package, will create update site in p2/target/repository
  3. Run tests with mvn verify
  4. Optionally, test node by installing it in KNIME from a local update site
  5. Append new release to an update site
  6. Make clone of an update site repo
  7. Append release to the update site with mvn install<path to update site>
  8. Commit and push changes in this repo and update site repo.
  9. Create a Github release
  10. Update Zenodo entry
  11. Correct authors
  12. Make nodes available to 3D-e-Chem KNIME feature by following steps at